Releases: cujojs/when
Releases · cujojs/when
3.1.0
- Added optional
reason
param topromise.timeout
to specify your own timeout value. - Another significant speed bump for
when.all
(and es6-shimPromise.all
) - More
when/monitor/console
long stack trace improvements. Traces can track nested async functions even if you forget to return a promise. - Clean up bower and npm installs by ignoring more markdown files
3.0.1
3.0.0
3.0.0
- New internal architecture with significant performance improvements and memory efficiency
- New APIs
- New liftAll variants for lifting all of an object's functions in one shot, eg.
var promisedFs = node.liftAll(require('fs'))
when.Promise
public, inheritance-friendly, Promise constructor- New ES6 Promise shim
- Check out the tips for upgrading to 3.0 from 2.x
2.8.0
- Experimental ES6 generator support via new
when/generator
module, withlift
,call
,apply
.
2.7.1
2.7.0
- Added
promise.catch
andpromise.finally
as synonyms forpromise.otherwise
andpromise.ensure
. (#212) - New browserify build for those using globals. (#209)
- Added ender support to
package.json
. (#223) - Fix compatibility with PhantomJS's CommonJS module support. (#226)
- Fix Sauce Labs tests for pull requests. (#216)
- Added
bower.json
ignore
to trim files installed via bower. (#193)
2.6.0
- New
promise.done
allows consuming the ultimate value at the end of a promise chain while ensuring that any errors are thrown to the host environment so you get loud stack traces. when/node/function
bindCallback
andliftCallback
now behave more like standard node-style APIs in that they allow exceptions to propagate to the host environment for loud stack traces.
2.5.1
ensure
now ignores non-functions, likethen
does, for consistency. (#207)
2.5.0
- Promises/A+ 1.1 compliant. Passes version 2.0.0 of the Promises/A+ test suite.
2.4.1
- New
MutationObserver
scheduler further reduces "time-to-first-handler" in modern browsers. (#198)- Also, this works around a horrible IE10 bug (desktop and mobile) that renders
setImmediate
,MessageChannel
, andpostMessage
unusable as fast task schedulers. Many thanks to @plaa and @calvinmetcalf for their help in discovering the problem and working out a solution. (#197)
- Also, this works around a horrible IE10 bug (desktop and mobile) that renders