Skip to content

Releases: petkaantonov/bluebird

v2.2.2

06 Jan 15:09
Compare
Choose a tag to compare

v2.2.1

06 Jan 15:09
Compare
Choose a tag to compare
  • Fix multiline error messages only showing the first line

v2.2.0

06 Jan 15:09
Compare
Choose a tag to compare

Bugfixes:

  • .any and .some now consistently reject with RangeError when input array contains too few promises
  • Fix iteration bug with .reduce when input array contains already fulfilled promises

v2.1.3

06 Jan 15:09
Compare
Choose a tag to compare

Bugfixes:

v2.1.2

06 Jan 15:09
Compare
Choose a tag to compare

Bugfixes:

v2.1.0

06 Jan 15:09
Compare
Choose a tag to compare

Features:

  • Add promisifier option to Promise.promisifyAll()
  • Improve performance of .props() and collection methods when used with immediate values

Bugfixes:

  • Fix a bug where .reduce calls the callback for an already visited item
  • Fix a bug where stack trace limit is calculated to be too small, which resulted in too short stack traces

Add undocumented experimental yieldHandler option to Promise.coroutine

v2.0.0

06 Jan 15:09
Compare
Choose a tag to compare

#What's new in 2.0

Features:

Breaking changes:

  • Sparse array holes are not skipped by collection methods but treated as existing elements with undefined value
  • .map() and .filter() do not call the given mapper or filterer function in any specific order
  • Removed the .inspect() method
  • Yielding an array from a coroutine is not supported by default. You can use coroutine.addYieldHandler() to configure the old behavior (or any behavior you want).
  • .any() and .some() no longer use an array as the rejection reason. AggregateError is used instead.

v1.2.4

06 Jan 15:25
Compare
Choose a tag to compare

Bugfixes:

  • Fix promisifyAll causing a syntax error when a method name is not a valid identifier
  • Fix syntax error when es5.js is used in strict mode

v1.2.3

06 Jan 15:25
Compare
Choose a tag to compare

Bugfixes:

v1.2.2

06 Jan 15:25
Compare
Choose a tag to compare

Bugfixes:

  • Promisified methods from promisifyAll no longer call the original method when it is overriden
  • Nodeify doesn't pass second argument to the callback if the promise is fulfilled with undefined