p-limit breaking changes
p-limit 7.0.0 (August 14, 2025) is its newest release with breaking changes, 4 of them. The first: Behavior changed limit.activeCount. Every breaking API change we have recorded in p-limit on npm: 17 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.3.3, released September 18, 2026. Source repository
Its 7.0.0 release requires Node.js 20 or later. Node.js end of life dates.
- From 6.0.0 to 7.0.0: 4 breaking changes in 1 version.
- From 4.0.0 to 7.0.0: 13 breaking changes in 3 versions.
p-limit 7.0.0 breaking changes
- Behavior changed
limit.activeCount
activeCount increments when a task actually starts running rather than when it is queued, and pendingCount now reflects only waiting tasks. Code that relies on the old counting should be checked. github.com - Behavior changed
limit.pendingCount
pendingCount more accurately represents tasks waiting to run, which changes its value compared with the previous release. github.com - Configuration changed
The package now requires Node.js 20; users on older Node.js versions must upgrade before installing this release. github.com - Signature changed
LimitFunction
Was type LimitFunction = {readonly activeCount: number; readonly pendingCount: number; concurrency: number; clearQueue: () => void; <Arguments extends unknown[], ReturnType>(function_: (...arguments_: Arguments) => PromiseLike<ReturnType>... npmjs.com
p-limit 6.0.0 breaking changes
- Behavior changed
activeCount
The release changed when activeCount updates, so code that reads it right after queueing or finishing tasks may see different values. github.com - Behavior changed
pendingCount
The release changed when pendingCount updates, so code that reads it right after queueing or finishing tasks may see different values. github.com - Signature changed
LimitFunction
Was type LimitFunction = {readonly activeCount: number; readonly pendingCount: number; clearQueue: () => void; <Arguments extends unknown[], ReturnType>(fn: (...arguments_: Arguments) => PromiseLike<ReturnType> | ReturnType, ...arguments_... npmjs.com
p-limit 5.0.0 breaking changes
- Removed
The package no longer supports older Node.js versions. Upgrade Node.js to version 18 or later before using this release. github.com - Removed
LimitFunction.__call
LimitFunction.__call was removed in p-limit 5.0.0 npmjs.com - Removed
LimitFunction.activeCount
LimitFunction.activeCount was removed in p-limit 5.0.0 npmjs.com - Removed
LimitFunction.clearQueue
LimitFunction.clearQueue was removed in p-limit 5.0.0 npmjs.com - Removed
LimitFunction.pendingCount
LimitFunction.pendingCount was removed in p-limit 5.0.0 npmjs.com - Signature changed
LimitFunction
Was interface LimitFunction; now type LimitFunction = {readonly activeCount: number; readonly pendingCount: number; clearQueue: () => void; <Arguments extends unknown[], ReturnType>(fn: (...arguments_: Arguments) => PromiseLike<ReturnType>... npmjs.com
p-limit 4.0.0 breaking changes
- Removed
The release requires Node.js 12.20 or later, so older Node.js versions can no longer run this package. github.com - Renamed
Limit
Use LimitFunction instead. npmjs.com - Behavior changed
The package ships only as ES modules, so code that loads it with require() must switch to import, as described in the linked guide. github.com - Signature changed
default
Was function pLimit(concurrency: number): pLimit.Limit namespace pLimit; now function pLimit(concurrency: number): LimitFunction. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.