# What changed in p-limit

> 6 changes in p-limit 7 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/p-limit/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## p-limit 7

### New APIs and options

- pLimit() now supports an options object. (7.3.0) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.3.0)
- Adds the rejectOnClear option to pLimit(). (7.3.0) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.3.0)

### Behavior and default changes

- The `.map()` method accepts an iterable, not just an array. (7.2.0) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.2.0)

### Fixes and other changes

- Fixes unhandled rejections in limit.map() when the iterable throws. (7.3.3) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.3.3)
- Fixes queue clearing in limitFunction. (7.3.2) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.3.2)
- Fixes detached limit.map calls. (7.3.1) — [release notes](https://github.com/sindresorhus/p-limit/releases/tag/v7.3.1)
