Skip to content

Releases: mikermcneil/parley

v3.8.3

24 Apr 21:19
Compare
Choose a tag to compare

see #6 and related issues

v3.0.0-0

20 Sep 03:28
Compare
Choose a tag to compare

What changed

  1. The second argument to .exec() (used for handling uncaught errors in asynchronous callbacks that might crash the process) is now only run for asynchronous logic (if the callback is triggered within one tick of the event loop, it is skipped). Note that support for this will likely be deprecated, with an accompanying new warning, in an upcoming release, then removed altogether in the next major version.
  2. Minor performance hit (~1-2% loss to some build+exec benchmarks vs. 2.x. See v2.4.0-3...v3.0.0-0#commitcomment-24421489 for more information.)
  3. Bug fix for edge case where an uncaught exception is thrown in the callback passed to .exec(), but where that callback is invoked synchronously (i.e. because the actual custom logic provided to logic is synchronous/blocking). Previously, this was incorrectly treated as a "success", because it was being inadvertently caught by an internal try/catch. Now it is thrown, as intended.
  4. You may no longer use _hasAlreadyWaitedAtLeastOneTick as a method name on your Deferred. (But really, please don't use underscore-prefixed things anyway!)

Complete changelog: v2.4.0-3...v3.0.0-0

0.0.3-0

20 Dec 05:00
Compare
Choose a tag to compare

This is the last release of the original version of this package. After this release, everything changes.