unstale

npm / piscina

piscina

What changed in piscina 4 to 5, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

2 breaking1 security7 new APIs and options2 behavior and defaults1 fixes and other

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

npx @unstale/cli init

@unstale/cli on npm

piscina 59 changes

Breaking changes 1

Security 1

  • piscina: Prototype-pollution gadget in ThreadPool.options allows RCE via execArgv / loadBalancer / env

    4.9.4, 5.3.2security advisory

New APIs and options 4

Behavior and default changes 2

Fixes and other changes 1

  • Standardizes the normalization calculation for standard deviation.

    5.1.4release notes

piscina 44 changes

Breaking changes 1

  • Support for Node.js versions 14 and earlier was dropped.

    4.0.0release notes

New APIs and options 3

  • The maxThreads value is exposed on the Piscina instance.

    4.0.0release notes

  • The minThreads value is exposed on the Piscina instance.

    4.0.0release notes

  • Communication from a worker to the main thread was added.

    4.0.0release notes