Releases: then/promise
Releases · then/promise
8.3.0
New Features
-
Add support for
Promise.any(...)(#174)
8.2.0
v8.1.0
feat: update CI to use GitHub actions (#172)
8.1.0
Features
- Support iterables in
Promise.raceandPromise.all
7.0.2
- Force update to the latest version of asap (the old asap had a really nasty race condition)
7.0.1
- Avoid attaching unnecessary internal/private methods to the prototype
- FIX: make
Promise.allcorrectly handle misbehaving promises - small possible performance improvements when passing already fulfilled/rejected promises to
Promise.all
7.0.0
- 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
setImmediatethat including asap is unnecessary.
6.1.0
- Add support for functions that return promises in denodeify
6.0.1
- FIX component support (which was broken in 6.0.0)
6.0.0
- Calling
.thenon a custom promise that inherits fromPromisewill 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
thiscontext 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 doPromise.all([a, b])instead ofPromise.all(a, b)) - REMOVE node specific extensions from browser polyfill (i.e.
nodeifyanddenodeify). These remain in the CommonJS version.