Releases: cujojs/when
Releases · cujojs/when
3.1.0
- Added optional
reasonparam topromise.timeoutto specify your own timeout value. - Another significant speed bump for
when.all(and es6-shimPromise.all) - More
when/monitor/consolelong 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.Promisepublic, 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/generatormodule, withlift,call,apply.
2.7.1
2.7.0
- Added
promise.catchandpromise.finallyas synonyms forpromise.otherwiseandpromise.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.jsonignoreto trim files installed via bower. (#193)
2.6.0
- New
promise.doneallows 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/functionbindCallbackandliftCallbacknow 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
ensurenow ignores non-functions, likethendoes, 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
MutationObserverscheduler 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, andpostMessageunusable 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