Skip to content

Releases: dumbmatter/promise-worker-bi

v3.0.0

14 Jun 01:59
Compare
Choose a tag to compare

v3.0.0 brings better and more consistent error handling!

All errors from workers include the stack property, and any others (Firefox has some extra non-standard properties). Since normally stack traces are not sent from the worker to the main thread, instead we capture the stack trace in the worker and manually send it to the main thread.

Additionally, the callback passed to PromiseWorker.registerError will now recieve Error objects directly, rather than ErrorEvent objects or weird non-standard things that are kind of like ErrorEvent objects. This is a breaking change to the API, necessitating the new major version.

v2.2.1

13 Apr 13:33
Compare
Choose a tag to compare

Fix race condition where hostID was previously sometimes undefined.

v2.2.0

29 Mar 00:37
Compare
Choose a tag to compare

Cross-browser consistency in error reporting from Shared Workers through PromiseWorker.registerError.

v2.1.1

25 Mar 15:34
Compare
Choose a tag to compare

When using a Shared Worker, if the user closes a tab, we don't need to keep track of that hostID and MessagePort anymore.

v2.1.0

24 Mar 19:51
Compare
Choose a tag to compare

Added support for Shared Workers

v2.0.2

13 Apr 13:31
Compare
Choose a tag to compare

Fix error reporting in Safari.

v2.0.1

13 Apr 13:31
Compare
Choose a tag to compare

Fix error reporting.

v2.0.0

13 Apr 13:31
Compare
Choose a tag to compare

First release of promise-worker-bi, forked from promise-worker but adding support for sending messages from the worker to the host, rather than just from the host to the worker.