Releases: petkaantonov/bluebird
Releases · petkaantonov/bluebird
v2.9.2
v2.9.1
Features:
- If a bound promise is returned by the callback to
Promise.method
andPromise.try
, the returned promise will be bound to the same value
v2.9.0
Features:
- Add
Promise.fromNode
- Add new paramter
value
forPromise.bind
Bugfixes:
- Fix several issues with
cancellation
and.bind()
interoperation whenthisArg
is a promise or thenable - Fix promises created in
disposers
not having proper long stack trace context - Fix
Promise.join
sometimes passing the passed in callback function as the last argument to itself.
Misc:
- Reduce minified full browser build file size by not including unused code generation functionality.
- Major internal refactoring related to testing code and source code file layout
v2.8.2
Features:
- Global rejection events are now fired both as DOM3 events and as legacy events in browsers
v2.8.1
Bugfixes:
- Fix long stack trace stiching consistency when rejected from thenables
v2.8.0
Features:
- Major debuggability improvements:
- Long stack traces have been re-designed. They are now much more readable,
succinct, relevant and consistent across bluebird features. - Long stack traces are supported now in IE10+
- Long stack traces have been re-designed. They are now much more readable,
v2.7.1
v2.7.0
Features:
- Added more context to stack traces originating from coroutines (#421)
- Implemented global rejection events (#428, #357)
- Custom promisifiers are now passed the default promisifier which can be used to add enhancements on top of normal node promisification
- Promisification filters are now passed
passesDefaultFilter
boolean
Bugfixes:
- Fix
.noConflict()
call signature (#446) - Fix
Promise.method
ified functions being called withundefined
when they were called with no arguments
v2.6.4
Bugfixes:
OperationalErrors
thrown by promisified functions retain custom properties, such as.code
and.path
.