Skip to content

Commit fcbd474

Browse files
committed
v2.0.0
1 parent 55da22a commit fcbd474

File tree

9 files changed

+16
-14
lines changed

9 files changed

+16
-14
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 2.0.0 (TBD)
1+
## 2.0.0 (July 19, 2016)
22
This major release contains just a few breaking changes outlined below. Howler.js has been rewritten from the ground up using the knowledge and work since the initial release. There's a long list of additions and improvements, which I urge you to read through as the library has evolved quite a bit over this time.
33

44
The biggest change is how you should think about your audio when using howler.js. There is now the concept of global (`Howler`), group (`Howl`) and single sound (`Sound`). Each sound that is played gets its own `Sound` object that can be manipulated, giving much greater control over playback, whether using sprites or not. `Howl` method calls can then apply to one sound or all in the group.
@@ -11,6 +11,8 @@ Howler (global) ->
1111

1212
Howler.js now also has the concept of plugins. The core represents 100% compatibility across hTML5 Audio and Web Audio, adhering to the initial goals of the library. There is also a new Spatial Plugin that adds 3D and stereo audio support only available in the Web Audio API.
1313

14+
Read more about the update [in this blog post](http://goldfirestudios.com/blog/143/howler.js-v2.0-Released).
15+
1416
### Breaking Changes
1517
- The `buffer` option is now named `html5`. Use this to force HTML5 Audio usage.
1618
- The `pos` method has been renamed to `seek`.

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "howler.js",
33
"description": "Javascript audio library for the modern web.",
4-
"homepage": "http://howlerjs.com",
4+
"homepage": "https://howlerjs.com",
55
"keywords": [
66
"howler",
77
"howler.js",
@@ -15,7 +15,7 @@
1515
],
1616
"repository": {
1717
"type": "git",
18-
"url": "git://github.com/goldfire/howler.js.git#2.0"
18+
"url": "git://github.com/goldfire/howler.js.git"
1919
},
2020
"main": "dist/howler.js",
2121
"license": {

dist/howler.core.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/howler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* howler.js v2.0.0-rc2
2+
* howler.js v2.0.0
33
* howlerjs.com
44
*
55
* (c) 2013-2016, James Simpson of GoldFire Studios
@@ -2162,7 +2162,7 @@
21622162
/*!
21632163
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
21642164
*
2165-
* howler.js v2.0.0-rc2
2165+
* howler.js v2.0.0
21662166
* howlerjs.com
21672167
*
21682168
* (c) 2013-2016, James Simpson of GoldFire Studios

dist/howler.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/howler.spatial.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "howler",
33
"description": "Javascript audio library for the modern web.",
4-
"homepage": "http://howlerjs.com",
4+
"homepage": "https://howlerjs.com",
55
"keywords": [
66
"howler",
77
"howler.js",
@@ -14,17 +14,17 @@
1414
"author": "James Simpson <[email protected]> (http://goldfirestudios.com)",
1515
"repository": {
1616
"type": "git",
17-
"url": "git://github.com/goldfire/howler.js.git#2.0"
17+
"url": "git://github.com/goldfire/howler.js.git"
1818
},
1919
"scripts": {
2020
"build": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && sed -i '' '2s/.*/ * howler.js '\"$VERSION\"'/' src/howler.core.js && sed -i '' '4s/.*/ * howler.js '\"$VERSION\"'/' src/plugins/howler.spatial.js && uglifyjs --preamble \"/*! howler.js $VERSION | (c) 2013-2016, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/howler.core.js -c -m --screw-ie8 -o dist/howler.core.min.js && uglifyjs --preamble \"/*! howler.js $VERSION | Spatial Plugin | (c) 2013-2016, James Simpson of GoldFire Studios | MIT License | howlerjs.com */\" src/plugins/howler.spatial.js -c -m --screw-ie8 -o dist/howler.spatial.min.js && awk 'FNR==1{echo \"\"}1' dist/howler.core.min.js dist/howler.spatial.min.js | sed '3s~.*~/*! Spatial Plugin */~' | perl -pe 'chomp if eof' > dist/howler.min.js && awk '(NR>1 && FNR==1){printf (\"\\n\\n\")};1' src/howler.core.js src/plugins/howler.spatial.js > dist/howler.js",
21-
"release": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && git tag $VERSION && git push && git push origin $VERSION && npm publish --tag beta"
21+
"release": "VERSION=`printf 'v' && node -e 'console.log(require(\"./package.json\").version)'` && git tag $VERSION && git push && git push origin $VERSION && npm publish"
2222
},
2323
"devDependencies": {
2424
"uglify-js": "2.x"
2525
},
2626
"main": "dist/howler.js",
27-
"version": "2.0.0-rc2",
27+
"version": "2.0.0",
2828
"license": {
2929
"type": "MIT",
3030
"url": "https://raw.githubusercontent.com/goldfire/howler.js/master/LICENSE.md"

src/howler.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* howler.js v2.0.0-rc2
2+
* howler.js v2.0.0
33
* howlerjs.com
44
*
55
* (c) 2013-2016, James Simpson of GoldFire Studios

src/plugins/howler.spatial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* Spatial Plugin - Adds support for stereo and 3D audio where Web Audio is supported.
33
*
4-
* howler.js v2.0.0-rc2
4+
* howler.js v2.0.0
55
* howlerjs.com
66
*
77
* (c) 2013-2016, James Simpson of GoldFire Studios

0 commit comments

Comments
 (0)