Skip to content

Releases: aantron/promise

Promise 1.1.5

25 Nov 13:37
Compare
Choose a tag to compare
  • Remove bs-platform peer dependency (pointed out by Andrew Herron).

Promise 1.1.4

02 May 12:25
Compare
Choose a tag to compare
  • Don't leak rejections that cannot be handled from Promise.Js.tap (#74, reported and fix proposed by Andrew Herron).

Promise 1.1.3

01 Mar 23:21
Compare
Choose a tag to compare
  • Don't resolve promises with undefined when there is an uncaught exception in a callback (#70, reported by Joel Jeddeloh).

Promise 1.1.2

19 Oct 15:36
Compare
Choose a tag to compare
  • allOk([]) should resolve to Ok([]) (#62, reported Misha Bergal).

Promise 1.1.1

21 Jun 13:16
Compare
Choose a tag to compare
  • Reduce compiled output size down to 1K again (#58, #57, Christoph Knittel).

Promise 1.1.0

18 Jun 15:36
Compare
Choose a tag to compare
  • Add allOk, allOk2...allOk6, allOkArray — fast-fail versions of all (#54, requested Jay Mithani).
  • Compatibility with BuckleScript 8.0.0 (#56, reported Christoph Knittel).

Promise 1.0.2

18 Jan 06:32
Compare
Choose a tag to compare
  • Fix internal calls to onUnhandledException on BuckleScript 7.0.0+ (#50, Sikan He).

Promise 1.0.1

31 Dec 00:24
Compare
Choose a tag to compare
  • Make promises covariant (i.e., Promise.t(+'a) instead of Promise.t('a)) (c9d8008, prompted Sikan He).

Promise 1.0.0

24 Dec 02:43
Compare
Choose a tag to compare

Changes

  • Rename to reason-promise (7fd54ae).
  • Rename most of the APIs (20f45ef).
  • Change types to support chaining with -> (41c9a1b).

Additions

  • Helpers for Result and Option (#16).
  • tap, tapOk, tapError, tapSome (217e19e).
  • Infix operators (792564d).

Bugs fixed

  • Excessive bundle size (#39, reported Ozan Sener).

Repromise 0.6.1

12 Jul 05:36
Compare
Choose a tag to compare

Additions

  • all2...all6 (#36, requested Kyle Goggin).
  • arrayAll (#40, requested Malthe Borch).

Bugs fixed

  • Process (or script) would terminate on an unhandled exception (40795d4).
  • Fix usage of not; it is now ! in Reason (1adad30).
  • Typo in onUnhandledException docs (#29, Alexander Tesfamichael).
  • Repo cleanup.