Skip to content

Releases: andywer/threads.js

v1.7.0

25 Sep 19:00
4f08abf
Compare
Choose a tag to compare

Maintenance release shipping small bug fixes mostly and some minor dependency version bumps.

Bug fixes

  • Export BlobWorker from mjs endpoint (#379)
  • Fix relative worker paths on Windows (#390)
  • Fix type compatibility with node 10+ (#392)

v1.6.5

03 Jun 20:45
2a3d58a
Compare
Choose a tag to compare

Small patch release, fixing some TypeScript issues.

Bug fixes

  • Update observable-fns to fix issues with TypeScript 4.3 (#374)

v1.6.4

18 Apr 20:58
83d0859
Compare
Choose a tag to compare

Small patch release fixing the type resolution around Transfer(). Also updated dependencies.

Bug fixes

  • Resolve transferable object types on call (#352)
  • Allow passing workerData for node worker_threads (#318, by @haggholm)

Chores

  • Updated dependency versions
  • Updated the CI / build setup (#351, by @aminya)

v1.6.3

27 Jun 09:11
9fa13af
Compare
Choose a tag to compare

A small patch that fixes pool task promises not resolving as expected.

Bug fixes

  • Pool task promises pending forever if task completed too quickly (#270)

v1.6.2

21 Jun 10:00
e0769d6
Compare
Choose a tag to compare

A small patch release that makes worker observables actually being unsubscribed from when the proxied observable in the master thread is being unsubscribed.

Bug fixes

  • Proxy unsubscribing from observables (#262)

v1.6.1

15 Jun 14:42
944bc8c
Compare
Choose a tag to compare

A small patch release that fixes the ES modules, so they work with node.js. 1.5.0 should have fixed them already, but it turned out there was another issue.

Bug fixes

  • Add conditional exports to package.json (#261)

v1.6.0

12 Jun 10:24
3d0b7c9
Compare
Choose a tag to compare

This minor release introduces an exciting new feature: The BlobWorker 👷‍♀️👷‍♂️

Use the BlobWorker to spawn workers from in-memory code. You can create stand-alone bundles that ship the master and the worker code in one file, without the need to reference a separate worker file at runtime.

Read its documentation for more details.

Features

  • Spawn worker from blob / inlined bundle (#211)

v1.5.0

11 Jun 09:03
5fd9188
Compare
Choose a tag to compare

This is a minor release, exposing the isWorkerRuntime() function to you and fixing compatibility with node.js v13+ ES modules ✨

Features

  • Expose isWorkerRuntime() (#225)

Bug fixes

  • Make the package consumable by node.js native ES modules (#220)

v1.4.1

24 Apr 07:02
1439a1c
Compare
Choose a tag to compare

A small patch fixing two issues. One of them being a fix for another fix that turned out to not yet have solved the underlying issue with ASAR packaging in Electron apps.

Bug fixes

  • Fix the last release's ASAR path resolution fix (#236)
  • Report original error, too, on recursive worker errors (#235)

v1.4.0

05 Apr 15:20
07c4d3a
Compare
Choose a tag to compare

Another minor release, yay!

This release introduces support for setups that were not supported before and fixes a bug.

Features

Bug fixes

  • Pass native worker options to ts-node workers (#230, by @rysi3k)