Skip to content

Releases: then/promise

8.3.0

25 Oct 13:21
9d5851d
Compare
Choose a tag to compare

8.2.0

31 Aug 12:26
a4b9e3e
Compare
Choose a tag to compare

New Features

  • Add support for Promise.allSettled (#171)

v8.1.0

31 Aug 12:12
14a9a38
Compare
Choose a tag to compare
feat: update CI to use GitHub actions (#172)

8.1.0

02 Mar 10:59
Compare
Choose a tag to compare

Features

  • Support iterables in Promise.race and Promise.all

7.0.2

15 Jun 11:07
Compare
Choose a tag to compare
  • Force update to the latest version of asap (the old asap had a really nasty race condition)

7.0.1

22 Apr 14:43
Compare
Choose a tag to compare
  • Avoid attaching unnecessary internal/private methods to the prototype
  • FIX: make Promise.all correctly handle misbehaving promises
  • small possible performance improvements when passing already fulfilled/rejected promises to Promise.all

7.0.0

22 Apr 14:38
Compare
Choose a tag to compare
  • rewrite core.js to be much faster (exposes some internals via randomly named _ prefixed variables)
  • Update to asap 2.0.1 internally
  • add Promise#finally
  • add support for "tail recursion" providing no reference to the root promise is maintained. This may change callback ordering, but that ordering was previously unspecified.
  • remove support for domains from default build
  • add a special build for domains
  • add a special build for environments that implement a sufficiently efficient setImmediate that including asap is unnecessary.

6.1.0

07 Apr 22:28
Compare
Choose a tag to compare
  • Add support for functions that return promises in denodeify

6.0.1

17 Oct 13:43
Compare
Choose a tag to compare
  • FIX component support (which was broken in 6.0.0)

6.0.0

17 Oct 13:43
Compare
Choose a tag to compare
  • Calling .then on a custom promise that inherits from Promise will return an instance of the custom promise type. This simplifies writing custom promise implementations on top of Promise
  • Remove an internal call to Object.create (making it easier to polyfil older browsers)
  • Pass through this context in .nodeify
  • Split extensions into separate files
  • REMOVE Promise.from
  • REMOVE Promise.cast
  • REMOVE support for multiple arguments to Promise.all (i.e. you must do Promise.all([a, b]) instead of Promise.all(a, b))
  • REMOVE node specific extensions from browser polyfill (i.e. nodeify and denodeify). These remain in the CommonJS version.