DevOps & infrastructure
What does npm's batch approval change for staged publishing in a monorepo?
GitHub says npm Staged Publishing Plans group staged versions into one batch, with one version per package, released under a single 2FA approval for monorepo releases.
The short answer
GitHub says a multi-package monorepo release now requires just one approval. In its changelog post dated 2026-11-30, GitHub describes npm Staged Publishing Plans as a way to bundle multiple staged versions into a single grouped batch and release them together under one two-factor authentication (2FA) approval. GitHub also says that approval is bound to the exact set of packages and versions shown at the time it is given.
How approval worked before
A monorepo is a single repository that holds several packages, and staged publishing is a way to prepare a package version before it is released. According to GitHub, staged publishing issued a 2FA challenge per release, so releasing many packages meant one challenge per package and version.
The post gives no figures on how long this took.
What a Publishing Plan changes
GitHub says a Publishing Plan lets maintainers bundle staged versions into one grouped batch, with a limit of one version per package. One 2FA approval then releases the whole batch.
For example, in a hypothetical repository with two packages, a batch could hold one new version of each, but not two versions of the same package.
The mid-release install window
GitHub states that the previous approach created a window in which some packages were published before their dependent siblings, which could break installs mid-release. A dependent sibling is another package in the same repository that relies on the one being published.
GitHub says Publishing Plans enable coordinating an entire batch as a single release.
Why the binding to exact packages and versions matters
GitHub says the single approval is bound to the exact set of packages and versions shown when it is given. In plain terms, one approval now covers many packages, so the list on screen is the whole scope of what the approver is agreeing to. I think that makes the contents of the batch the thing to read carefully before approving, because the approval covers that list and nothing outside it.
What GitHub says comes next
GitHub frames the feature as a step toward making staged publishing a viable mandatory fallback for monorepo publishers who use tokens granted bypass-2FA access. GitHub states this as a direction, not a delivered capability.
I would compare the packages and versions listed in the batch against my intended release list before giving the one approval, and I would check that each package appears only once.
Sources
- npm batch approval releases for staged packagesPrimary source