Skip to content

Releases: alewin/useWorker

3.0.0-beta.3

01 May 14:13

Choose a tag to compare

3.0.0-beta.3 Pre-release
Pre-release

workerController as second parameter

3.0.0-beta.2

15 Apr 19:09

Choose a tag to compare

3.0.0-beta.2 Pre-release
Pre-release

Features

  • add autoTerminate option param

3.0.0-beta

13 Apr 08:32

Choose a tag to compare

3.0.0-beta Pre-release
Pre-release

Bugfix

Why on each call to the worker the dependencies are re-fetched? #33

Breacking changes:

Before:
the reference to the function workerHook changes each time the workerStatus changes, furthermore, since "options" is not a primitive variable, it causes a rerender every time the component that integrated the hook was updated.

After:
the hook updates only when options and worker function changes

2.1.3

26 Mar 17:51

Choose a tag to compare

⛑ Core

  • Migrate to Typescript #27

2.1.2

22 Mar 11:30

Choose a tag to compare

🐛 Bugfix

  • [Typescript Definition] Make options optional #24 ( Thanks @iljadaderko 🚀)

2.1.1

22 Mar 08:21

Choose a tag to compare

🐛 Bugfix

  • Worker runtime errors are not handled #22 ( Thanks @grdnrt 🚀)

2.1.0

19 Mar 12:34

Choose a tag to compare

Features

  • Add typescript support 🚀

2.0.6

13 Mar 17:56

Choose a tag to compare

Bugfix

  • remove default export

v1.2.1

12 Mar 22:03

Choose a tag to compare

Fix

  • export default issue

1.2.0

12 Mar 22:00

Choose a tag to compare

Features

  • add timeout option
  • add dependencies option