Skip to content

v2.0.0

Choose a tag to compare

@jklmli jklmli released this 17 Mar 23:58

<a name"2.0.0">

2.0.0 (2018-03-17)

Features

  • future:
    • avoid unhandled rejections (f57281e7)
    • migrate Promises from when.js to native (7c0814c3)

Breaking Changes

Futures internally represent promises using native ES6
promises instead of when.js.

To migrate code which previously depended on when.js promises, wrap the
new native promise return values with a when call:

Before: Future.create(42).promise

After: when(Future.create(42).promise)

Alternatively, you can choose to use a different promise library such as
Bluebird, or stick with native promises.

(7c0814c3)