Skip to content

Releases: poolifier/poolifier-web-worker

v0.4.0

07 May 13:53
fe33d5b
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

What's Changed

Changed

  • Support per task function(s) priority and worker choice strategy definition
    via a task function object:
    { taskFunction: (data?: Data) => Response | Promise<Response>, priority?: number, strategy?: WorkerChoiceStrategy }.
  • Add priority queue based tasks queueing. One priority queue is divided into
    prioritized buckets to avoid queued tasks starvation under load.
  • BREAKING CHANGE: listTaskFunctionNames() to listTaskFunctionsProperties()
    in pool and worker API returning registered task functions properties.
  • BREAKING CHANGE: strategy field in pool information renamed to
    defaultStrategy.

Fixed

  • Ensure dynamic worker node are initialized with sensible worker node usage
    default values to avoid worker choice strategies biased decisions.

Full Changelog: v0.3.17...v0.4.0

v0.3.17

30 Apr 20:06
bd56777
Compare
Choose a tag to compare
v0.3.17 Pre-release
Pre-release

What's Changed

Fixed

  • Ensure worker choice strategy options changes at runtime are propagated to
    poolifier workers.
  • Do not reset worker node usage statistics at worker choice strategy runtime
    change.

Full Changelog: v0.3.16...v0.3.17

v0.3.16

04 Apr 17:28
a388cc7
Compare
Choose a tag to compare
v0.3.16 Pre-release
Pre-release

What's Changed

Fixed

  • Fix bundling.

Full Changelog: v0.3.15...v0.3.16

v0.3.15

04 Apr 16:50
3c3718b
Compare
Choose a tag to compare
v0.3.15 Pre-release
Pre-release

What's Changed

Fixed

  • Fix possible race condition at worker node recreation on worker node error
    and exit events.

Changed

Full Changelog: v0.3.14...v0.3.15

v0.3.14

01 Apr 19:46
0b4c191
Compare
Choose a tag to compare
v0.3.14 Pre-release
Pre-release

What's Changed

Changed

  • Add errorEventHandler handler support to pool options listening for error
    event on each worker.

Full Changelog: v0.3.13...v0.3.14

v0.3.13

01 Apr 12:23
ca19d6f
Compare
Choose a tag to compare
v0.3.13 Pre-release
Pre-release

What's Changed

Fixed

  • Ensure the minimum number of workers on a started pool is guaranteed.

Full Changelog: v0.3.12...v0.3.13

v0.3.12

30 Mar 21:08
084e251
Compare
Choose a tag to compare
v0.3.12 Pre-release
Pre-release

What's Changed

Changed

  • Add mitata and Bun support to internal benchmark.

Full Changelog: v0.3.11...v0.3.12

v0.3.11

27 Mar 20:54
c4e1e1e
Compare
Choose a tag to compare
v0.3.11 Pre-release
Pre-release

What's Changed

Fixed

  • Fix conditional imports promise resolution.

Full Changelog: v0.3.10...v0.3.11

v0.3.10

27 Mar 19:51
40d901a
Compare
Choose a tag to compare
v0.3.10 Pre-release
Pre-release

What's Changed

Fixed

  • Fix browser compatibility: ensure node:... imports are conditionals.

Full Changelog: v.0.3.9...v0.3.10

v.0.3.9

27 Mar 18:50
2275835
Compare
Choose a tag to compare
v.0.3.9 Pre-release
Pre-release

What's Changed

Fixed

  • Fix worker initialization with Bun.

Full Changelog: v0.3.8...v.0.3.9