Skip to main content

Release Notes

4.1.0

Features

  • add needsDrain property (#368) (2d49b63)
  • correctly handle process.exit calls outside of a task (#361) (8e6d16e)

Bug Fixes

4.0.0

  • Drop Node.js 14.x support
  • Add Node.js 20.x to CI

3.2.0

3.1.0

3.0.0

  • Drops Node.js 10.x support
  • Updates minimum TypeScript target to ES2019

2.1.0

  • Adds name property to indicate AbortError when tasks are canceled using an AbortController (or similar)
  • More examples

2.0.0

  • Added unmanaged file descriptor tracking
  • Updated dependencies

1.6.1

  • Bug fix: Reject if AbortSignal is already aborted
  • Bug Fix: Use once listener for abort event

1.6.0

  • Add the niceIncrement configuration parameter.

1.5.1

  • Bug fixes around abortable task selection.

1.5.0

  • Added Piscina.move()
  • Added Custom Task Queues
  • Added utilization metric
  • Wait for workers to be ready before considering them as candidates
  • Additional examples

1.4.0

  • Added maxQueue = 'auto' to autocalculate the maximum queue size.
  • Added more examples, including an example of implementing a worker as a Node.js native addon.

1.3.0

  • Added the 'drain' event

1.2.0

  • Added support for ESM and file:// URLs
  • Added env, argv, execArgv, and workerData options
  • More examples

1.1.0

  • Added support for Worker Thread resourceLimits

1.0.0

  • Initial release!