All Versions
79
Latest Version
Avg Release Cycle
89 days
Latest Release
1466 days ago

Changelog History
Page 4

  • v3.1.0

    • โž• Added [optional reason param to promise.timeout](docs/api.md#promisetimeout) to specify your own timeout value.
    • Another significant speed bump for when.all (and es6-shim Promise.all)
    • ๐Ÿ“„ More when/monitor/console long stack trace improvements. Traces can track nested async functions [even if you forget to return a promise](docs/api.md#whenmonitorconsole).
    • Clean up bower and npm installs by ignoring more markdown files
  • v3.0.1

    • โšก๏ธ [API doc](docs/api.md) updates and fixes
    • ๐Ÿ‘Œ Improvements to unhandled rejection long stack trace filtering
    • ๐ŸŽ Internal performance improvements
  • v3.0.0

    • ๐Ÿ†• New internal architecture with significant performance improvements and memory efficiency
    • ๐Ÿ†• New APIs
      • [when.try](docs/api.md#whentry), [when.lift](docs/api.md#whenlift), [when.reduceRight](docs/api.md#whenreduceRight), [when.iterate](docs/api.md#wheniterate), [when.unfold](docs/api.md#whenunfold), [when.race](docs/api.md#whenrace)
      • [promise.with](docs/api.md#promisewith), [promise.else](docs/api.md#promiseelse), [promise.delay](docs/api.md#promisedelay), [promise.timeout](docs/api.md#promisetimeout), [promise.progress](docs/api.md#promiseprogress)
    • ๐Ÿ†• New liftAll variants for lifting all of an object's functions in one shot, eg. var promisedFs = node.liftAll(require('fs'))
      • [fn.liftAll](docs/api.md#fnliftall), [node.liftAll](docs/api.md#nodeliftall), [callbacks.liftAll](docs/api.md#callbacksliftall)
    • when.Promise public, inheritance-friendly, Promise constructor
    • ๐Ÿ†• New [ES6 Promise shim](docs/es6-promise-shim.md)
    • โฌ†๏ธ Check out the [tips for upgrading to 3.0 from 2.x](docs/api.md#upgrading-to-30-from-2x)
  • v2.8.0

    • ๐Ÿ“„ Experimental [ES6 generator support](docs/api.md#es6-generators) via new when/generator module, with lift, call, apply.
  • v2.7.1

    • ๐ŸŽ Internal changes to reduce overall memory usage, along with minor performance improvements.
  • v2.7.0

    • โž• Added [promise.catch](docs/api.md#catch) and [promise.finally](docs/api.md#finally) as synonyms for promise.otherwise and promise.ensure. (#212)
    • ๐Ÿ†• New [browserify build](../README.md#legacy-environments-via-browserify) 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)
  • v2.6.0

    • ๐Ÿ†• New [promise.done](docs/api.md#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](docs/api.md#nodefn-bindcallback) and [liftCallback](docs/api.md#nodefn-liftcallback) now behave more like standard node-style APIs in that they allow exceptions to propagate to the host environment for loud stack traces.
  • v2.5.1

    • ensure now ignores non-functions, like then does, for consistency. (#207)
  • v2.5.0

  • v2.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, and postMessage unusable as fast task schedulers. Many thanks to @plaa and @calvinmetcalf for their help in discovering the problem and working out a solution. (#197)