Aantron Promise Versions Save

Light and type-safe binding to JS promises

1.1.5

2 years ago
  • Remove bs-platform peer dependency (pointed out by Andrew Herron).

1.1.4

3 years ago
  • Don't leak rejections that cannot be handled from Promise.Js.tap (#74, reported and fix proposed by Andrew Herron).

1.1.3

3 years ago
  • Don't resolve promises with undefined when there is an uncaught exception in a callback (#70, reported by Joel Jeddeloh).

1.1.2

3 years ago
  • allOk([]) should resolve to Ok([]) (#62, reported Misha Bergal).

1.1.1

3 years ago
  • Reduce compiled output size down to 1K again (#58, #57, Christoph Knittel).

1.1.0

3 years ago
  • Add allOk, allOk2...allOk6, allOkArray — fast-fail versions of all (#54, requested Jay Mithani).
  • Compatibility with BuckleScript 8.0.0 (#56, reported Christoph Knittel).

1.0.2

4 years ago
  • Fix internal calls to onUnhandledException on BuckleScript 7.0.0+ (#50, Sikan He).

1.0.1

4 years ago
  • Make promises covariant (i.e., Promise.t(+'a) instead of Promise.t('a)) (c9d8008, prompted Sikan He).

1.0.0

4 years ago

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).

0.6.1

4 years ago

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.