Skip to content

Releases: alewin/useWorker

@koale/[email protected]

28 Oct 20:20
bfed76a
Compare
Choose a tag to compare

4.1.0

Minor Changes

  • feat: add react 18 19 support
  • fix: include sourcemaps in NPM published package #144
  • fix: kill functionality #122

@koale/[email protected]

15 May 09:07
0994b26
Compare
Choose a tag to compare

Patch Changes

4.0.1

21 Mar 10:28
Compare
Choose a tag to compare

removed local dependencies #98 feature
solves: #104, #105

3.4.0

23 Jan 15:19
Compare
Choose a tag to compare

3.2.1

12 Jul 17:28
Compare
Choose a tag to compare

🐛 Bugfix

  • Fix #63 Unhandled Rejection (ReferenceError): OffscreenCanvas is not defined

  • Fix Safari #59
    image

3.2.0

14 Jun 13:37
Compare
Choose a tag to compare

🎁 Features

  • transferable: 'auto' option docs now support OffscreenCanvas type ( thanks @ophirg )

3.1.0

28 May 18:45
Compare
Choose a tag to compare

🎁 Features

  • transferable option docs #46 #47 thanks to @gonzachr, and his proposal

3.0.0

01 May 14:32
Compare
Choose a tag to compare

Thanks to @iljadaderko @Pigotz @gonzachr @JonatanSalas @z4o4z for the contribution.

🐛 Bugfix

  • Avoid useWorker unnecessary re-render

🎁 Features

  • autoTerminate option docs

⚡ Breacking changes #36

  • The parameters returned by the hook change:

Before

const [sortWorker, status, kill] = useWorker(sortDates);

After

const [sortWorker, { status, kill }] = useWorker(sortDates);
  • The name of the option dependencies changes to remoteDependencies

Before

const [sortWorker] = useWorker(sortDates, { dependencies: ["www.google.com/script.js"] );

After

const [sortWorker] = useWorker(sortDates, { remoteDependencies: ["www.google.com/script.js"] );

These changes allow the addition of new features ( Roadmap 3.0.0 )

3.0.0-beta.3

01 May 14:13
Compare
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
Compare
Choose a tag to compare
3.0.0-beta.2 Pre-release
Pre-release

Features

  • add autoTerminate option param