One 2FA approval for up to 100 packages: npm adds batch releases to staged publishing
npm maintainers can now approve a batch of staged package versions with a single 2FA challenge instead of one per version, aimed at monorepo releases.

TL;DR
- npm staged publishing can now group several staged versions, one per package, and release them under a single 2FA approval [1].
- On npmjs.com a batch holds up to 100 package versions; the feature is rolling out gradually [2].
- Before, every package version needed its own 2FA challenge, which could leave a monorepo half-published mid-release [1].
npm now lets package maintainers release a group of staged package versions with one two-factor authentication (2FA) approval, GitHub announced on 30 November 2026 [1]. Through Staged Publishing Plans, a maintainer bundles several staged versions, at most one version per package, into a single batch and releases them together [1].
What changes
Until now, staged publishing asked for a separate 2FA challenge for every package and version, so a large monorepo release meant one challenge per package [1]. GitHub says this also left a window in which some packages were already live while related sibling packages were not, which could break installs in the middle of a release [1]. With a batch, one approval covers the release and is bound to the exact set of packages and versions shown when the maintainer approves [1].
GitHub also calls the change a step toward making staged publishing a workable mandatory fallback for monorepo publishers who use access tokens granted the right to bypass 2FA [1].
How staged publishing works
Staged publishing adds a review step before a package goes live: instead of npm publish, a developer runs npm stage publish, and a maintainer must approve the staged package with 2FA in the CLI or on npmjs.com [2]. Staging itself does not require 2FA [2]. It needs npm CLI 11.15.0 or later and Node 22.14.0 or higher [2]. It also works with trusted publishing (OIDC) from CI/CD, but a maintainer still has to approve each staged release with 2FA [2].
Batches are handled on npmjs.com, in the Staged Packages tab of the account settings [2]. A batch holds up to 100 package versions, one version per package, and the same action, approve or reject, applies to every selected version [2]. Approval stays disabled until automated validation of every selected version has finished [2].
Limits
npm’s documentation says batch actions are rolling out gradually and may not be available on every account yet [2]. Each version in a batch is processed independently: if one fails, the others can still succeed, and successful actions are not rolled back [2]. npm suggests retrying failed versions one by one for details [2].
What builders can do now
- Upgrade to npm CLI 11.15.0+ and Node 22.14.0+, then stage releases with
npm stage publishinstead ofnpm publish[2]. - For a monorepo release, open Staged Packages on npmjs.com, use Add to batch on each version, and approve the batch with one 2FA challenge [2].
- Check the per-version results after a batch, since successful actions are not rolled back if another version fails [2].
Sources
Written and checked by AI from the sources below
Fact-checked by gpt-6.1-sol on · Editorial policy



