unstale

npm / tinypool

tinypool

What changed in tinypool 1 to 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-25.

2 breaking3 security11 new APIs and options1 performance3 behavior and defaults4 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.7 on npm

tinypool 27 changes

Breaking changes 1

  • Node 18 support was dropped, so projects using tinypool must use a supported Node.js version.

    2.0.0release notes

Security 3

New APIs and options 1

  • Adds support for a serialization option when using the child_process runtime.

    2.1.0release notes

Performance 1

  • tinypool uses availableParallelism instead of exec to determine parallelism.

    2.0.0release notes

Behavior and default changes 1

  • The filename parameter now accepts a URL instance.

    2.2.0release notes

tinypool 117 changes

Breaking changes 1

New APIs and options 10

Behavior and default changes 2

  • Thread limits can be fractional; for example, minThreads: 0.5 uses 50% of available cores.

    1.0.0release notes

  • Uses the internal workerId for the child_process runtime.

    1.0.0release notes

Fixes and other changes 4

  • Kills a stuck process with SIGKILL and prevents writing to a terminating process.

    1.0.0release notes

  • Prevents new workers from writing to a closed pool.

    1.0.0release notes

  • Cleans up async resources when destroying the pool.

    1.0.0release notes

  • Uses the .default export of a worker module when it exists.

    1.0.0release notes