---
title: "p-limit 7.0.0 Breaking Changes on npm | Since.dev"
description: "What each p-limit release removed, renamed or changed: 17 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/p-limit
last_updated: 2026-12-04
---

# 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

Latest version `7.3.3`, released September 18, 2026. [Source repository](https://github.com/sindresorhus/p-limit)

Its 7.0.0 release requires [Node.js 20](https://since.dev/calendar/nodejs/20.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.0.0](#v-6-0-0) to [7.0.0](#v-7-0-0): 4 breaking changes in 1 version.
- From [4.0.0](#v-4-0-0) to [7.0.0](#v-7-0-0): 13 breaking changes in 3 versions.

## p-limit 7.0.0 breaking changes

p-limit 7.0.0, released August 14, 2025: 4 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](https://github.com/sindresorhus/p-limit/releases/tag/v7.0.0)
- **Behavior changed** `limit.pendingCount`  

pendingCount more accurately represents tasks waiting to run, which changes its value compared with the previous release. [github.com](https://github.com/sindresorhus/p-limit/releases/tag/v7.0.0)
- **Configuration changed**  

The package now requires Node.js 20; users on older Node.js versions must upgrade before installing this release. [github.com](https://github.com/sindresorhus/p-limit/releases/tag/v7.0.0)
- **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](https://www.npmjs.com/package/p-limit/v/7.0.0)

## p-limit 6.0.0 breaking changes

p-limit 6.0.0, released July 4, 2024: 3 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](https://github.com/sindresorhus/p-limit/releases/tag/v6.0.0)
- **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](https://github.com/sindresorhus/p-limit/releases/tag/v6.0.0)
- **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](https://www.npmjs.com/package/p-limit/v/6.0.0)

## p-limit 5.0.0 breaking changes

p-limit 5.0.0, released November 1, 2023: 6 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](https://github.com/sindresorhus/p-limit/releases/tag/v5.0.0)
- **Removed** `LimitFunction.__call`  

LimitFunction.\_\_call was removed in p-limit 5.0.0 [npmjs.com](https://www.npmjs.com/package/p-limit/v/5.0.0)
- **Removed** `LimitFunction.activeCount`  

LimitFunction.activeCount was removed in p-limit 5.0.0 [npmjs.com](https://www.npmjs.com/package/p-limit/v/5.0.0)
- **Removed** `LimitFunction.clearQueue`  

LimitFunction.clearQueue was removed in p-limit 5.0.0 [npmjs.com](https://www.npmjs.com/package/p-limit/v/5.0.0)
- **Removed** `LimitFunction.pendingCount`  

LimitFunction.pendingCount was removed in p-limit 5.0.0 [npmjs.com](https://www.npmjs.com/package/p-limit/v/5.0.0)
- **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](https://www.npmjs.com/package/p-limit/v/5.0.0)

## p-limit 4.0.0 breaking changes

p-limit 4.0.0, released August 12, 2021: 4 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](https://github.com/sindresorhus/p-limit/releases/tag/v4.0.0)
- **Renamed** `Limit`  

Use LimitFunction instead. [npmjs.com](https://www.npmjs.com/package/p-limit/v/4.0.0)
- **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](https://github.com/sindresorhus/p-limit/releases/tag/v4.0.0)
- **Signature changed** `default`  

Was function pLimit(concurrency: number): pLimit.Limit namespace pLimit; now function pLimit(concurrency: number): LimitFunction. [npmjs.com](https://www.npmjs.com/package/p-limit/v/4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
