js: Upgrade to when.js 3

This commit is contained in:
Stein Magnus Jodal 2014-06-15 10:38:27 +02:00
parent c40c70a90b
commit eec51a1e83
3 changed files with 17 additions and 2 deletions

View File

@ -78,6 +78,13 @@ Feature release.
Mopidy's HTTP server among other Zeroconf-published HTTP servers on the
local network.
- Update Mopidy.js to use when.js 3. If you maintain a Mopidy client, you
should review the `differences between when.js 2 and 3
<https://github.com/cujojs/when/blob/master/docs/api.md#upgrading-to-30-from-2x>`_
and the `when.js debugging guide
<https://github.com/cujojs/when/blob/master/docs/api.md#debugging-promises>`_.
This version has been released to npm as Mopidy.js v0.3.0.
**MPD frontend**
- Proper command tokenization for MPD requests. This replaces the old regex

View File

@ -80,6 +80,14 @@ To run other [grunt](http://gruntjs.com/) targets which isn't predefined in
Changelog
---------
### 0.3.0 (UNRELEASED)
- Upgrade to when.js 3, which brings great performance improvements and better
debugging facilities. If you maintain a Mopidy client, you should review the
[differences between when.js 2 and 3](https://github.com/cujojs/when/blob/master/docs/api.md#upgrading-to-30-from-2x)
and the
[when.js debugging guide](https://github.com/cujojs/when/blob/master/docs/api.md#debugging-promises).
### 0.2.0 (2014-01-04)
- **Backwards incompatible change for Node.js users:**

View File

@ -1,6 +1,6 @@
{
"name": "mopidy",
"version": "0.2.0",
"version": "0.3.0",
"description": "Client lib for controlling a Mopidy music server over a WebSocket",
"homepage": "http://www.mopidy.com/",
"author": {
@ -16,7 +16,7 @@
"dependencies": {
"bane": "~1.1.0",
"faye-websocket": "~0.7.2",
"when": "~2.7.1"
"when": "~3.2.3"
},
"devDependencies": {
"buster": "~0.7.13",