Skip to content

Commit

Permalink
Started changelog for when.next
Browse files Browse the repository at this point in the history
  • Loading branch information
briancavalier committed Jun 26, 2012
1 parent d53319e commit 0dcb27c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![Build Status](https://secure.travis-ci.org/cujojs/when.png)](http://travis-ci.org/cujojs/when)

A lightweight [CommonJS](http://wiki.commonjs.org/wiki/Promises) [Promises/A](http://wiki.commonjs.org/wiki/Promises/A) and `when()` implementation. It also provides several other useful Promise-related concepts, such as joining and chaining, and has a robust unit test suite.

It's **just over 1k** when compiled with Google Closure (w/advanced optimizations) and gzipped.
Expand All @@ -9,6 +7,12 @@ when.js was derived from the async core of [wire.js](https://github.com/cujojs/w
What's New?
===========

### when.js.next

* `when.resolve()` - creates a resolved promise. See [API docs](#whenresolve) below.
* `deferred.resolve` and `deferred.reject` now return a promise.
* `deferred.resolve(promise)` puts the deferred into the same state with the same value as promise.

### 1.3.0

* `npm install when` - Yep, that's a thing.
Expand Down

0 comments on commit 0dcb27c

Please sign in to comment.