mirror of
https://github.com/captbaritone/webamp.git
synced 2026-01-23 02:15:01 +00:00
Bump version to 1.0.0
This commit is contained in:
parent
373822a6a4
commit
ccc102514b
3 changed files with 22 additions and 6 deletions
24
CHANGELOG.md
24
CHANGELOG.md
|
|
@ -1,8 +1,24 @@
|
|||
## (next version)
|
||||
## 1.0.0
|
||||
|
||||
* Deprecated: The misspelled `Winamp` construction option `avaliableSkins` has been deprecated in favor of `availableSkins`. `avaliableSkins` will continue to work, but will log a deprecation warning. [#533](https://github.com/captbaritone/webamp/pull/533) by [@remigallego](https://github.com/remigallego)
|
||||
* Added: `winamp.onClose()`.
|
||||
* Added: `winamp.onMinimize()`.
|
||||
**Important:** The NPM module as **moved** from `winamp2-js` to `webamp`. You will need to update your `package.json` to point to the new module.
|
||||
|
||||
### Breaking
|
||||
|
||||
* Project renamed from "Winamp2-js" to "Webamp".
|
||||
* UMD module exports as `window.Webamp` instead of `window.winamp2js`. When used via `<script>` tag.
|
||||
* Deprecated: The misspelled `Webmap` construction option `avaliableSkins` has been deprecated in favor of `availableSkins`. `avaliableSkins` will continue to work, but will log a deprecation warning. [#533](https://github.com/captbaritone/webamp/pull/533) by [@remigallego](https://github.com/remigallego)
|
||||
|
||||
### Added
|
||||
|
||||
* Instance method to be notified when Webamp is closed `webamp.onClose(callback)`.
|
||||
* Instance method to be notified when Webamp is minmized `webamp.onMinimize(callback)`.
|
||||
* Support for skins that use `.png` sprite sheets instead of `.bmp`. This saves 15kb for the default skin on the demo page. ([b88e87](https://github.com/captbaritone/winamp2-js/commit/b88e87b6584fd9db2e2295addab7bba0c1acd226))
|
||||
* We now attempt to detect mono audio files. Previously mono files would report as stereo and play only in the left channel.
|
||||
|
||||
### Fixed
|
||||
|
||||
* Shrink visualizer by one pixel to match Winamp. [#536](https://github.com/captbaritone/winamp2-js/issues/536) by [@The1Freeman](https://github.com/The1Freeman)
|
||||
* Remove Google Analytics tracking module from NPM module. ([aeb9522](https://github.com/captbaritone/winamp2-js/commit/aeb9522a47ac4032f0f73fe7828c3ef01728d6aa))
|
||||
|
||||
## 0.0.6
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ Or, you can include it via a script tag:
|
|||
|
||||
```html
|
||||
<!-- You can use this URL, or download it and check it into your own project -->
|
||||
<script src="https://unpkg.com/webamp@0.0.6/built/webamp.bundle.min.js"></script>
|
||||
<script src="https://unpkg.com/webamp@1.0.0/built/webamp.bundle.min.js"></script>
|
||||
```
|
||||
|
||||
## Create a container
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "webamp",
|
||||
"version": "0.0.6",
|
||||
"version": "1.0.0",
|
||||
"description": "Winamp 2 implemented in HTML5 and JavaScript",
|
||||
"main": "built/webamp.bundle.js",
|
||||
"files": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue