
Why it mattersA monorepo release used to publish packages one by one, in the wrong order. npm now releases the whole batch at once.
A maintainer who publishes a monorepo today approves each package in turn. Every release asks for a fresh two-factor code. The order of those approvals is also the order the packages reach the registry. npm released a fix for both problems on 30 November 2026.
The feature is called batch approval, and it sits inside npm's Staged Publishing Plans. A plan is a group of staged package versions, with a cap of one version per package. The maintainer stages each version. The whole plan is then released in one step. npm asks for a single 2FA prompt that covers the entire batch.
What a Staged Publishing Plan holds
A Staged Publishing Plan is npm's own grouping. The limit is one version per package in a plan. The plan holds one release of a monorepo. It is not a list of past versions of one package. Staged versions sit in the registry but are not resolvable. A consumer running npm install does not see them until the plan releases.
The two problems that are fixed
The first problem is friction. A maintainer releasing a monorepo would answer a 2FA prompt per package. A release of twenty packages was twenty prompts. The batch approval replaces all of them with one prompt for the plan.
The second problem is ordering. Before this, there was a window where some packages had published and others had not. A consumer whose install hit that window would pull a package whose dependency was not yet in the registry. The install would then fail at resolution. npm says the batch releases all plan versions at once. A dependent package and its parent reach the registry together.
Who the change is for
The target is a team that publishes several packages that depend on each other, inside one repository. npm names the maintainers using bypass-2FA access tokens for automated releases. For them, batch approval is a single interactive step that unlocks a whole set of automated publishes. A team that publishes one package per repository sees no change.
A monorepo team now has a release step that is both quicker and safer. The two were separate problems and the fix is one feature. A team whose release scripts walk packages in topological order can retire that part of the script. The plan replaces it. A team that saw occasional install failures during a release window has a floor under that failure mode. It is no longer possible for an install to catch a half-released plan.
Source
npm batch approval releases for staged packages, GitHub Changelog.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


