GitHub Updates · Update

npm batch approvals: one confirmation still needs a release recovery plan

A single approval can simplify a multi-package release. It does not mean every package succeeds together or that successful publications are automatically rolled back.

VistaAI Editorial Team ·

What changed on 30 November

GitHub announced npm Staged Publishing Plans on 30 November 2026. Maintainers can group staged package versions and approve the group with one two-factor authentication challenge. The approval is tied to the package and version selection being reviewed.

This can help teams maintaining several related JavaScript packages, such as shared components used by a business portal and its administrative application. It reduces repeated approval steps, but it does not replace testing the components together.

Check rollout and prerequisites

The npm documentation says batch actions are rolling out gradually, so they may not yet appear in every account. Staged publishing requires npm CLI 11.15.0 or later, Node 22.14.0 or higher, package publish access and an account with two-factor authentication enabled.

The documented batch limit is 100 package versions, with only one version per package. The launch announcement does not specify a separate batch-approval price or a paid-plan requirement. That absence is not a promise about the cost of private-package subscriptions or other npm services.

Before redesigning a release process around the feature, have the maintainer confirm that the account has the relevant controls and that the development environment meets the requirements. Keep the existing approved release procedure available while evaluating the change.

Read the failure behaviour carefully

npm’s documentation explicitly says batch actions are independent: one version can fail while others succeed, and successful actions are not rolled back. This matters when one newly published package depends on another package in the same release.

Our editorial recommendation is to define the intended set of packages before opening the approval screen. Record the versions expected by the consuming application and the tests that show they work together. Use a small, non-critical release to inspect the experience before applying it to a large dependency chain.

Do not describe the approval as an all-or-nothing release transaction. A single confirmation is a convenience for the maintainer; the documented outcome still requires checking each package.

Give the reviewer a concrete release record

For a team delivering custom software to an SME or institution, the release record should explain why these packages are changing and which applications depend on them. A long list of version numbers without that context makes a careful approval harder.

Separate the person preparing the release from the responsibility for checking its result, even if a small team assigns both duties to one maintainer. Agree when the business-facing application may consume the new versions and what evidence must exist first.

After approval, inspect the results and verify the intended versions in the registry. If a result is uncertain, check the current state before trying again. npm’s guidance specifically calls for reviewing individual outcomes and checking state after expired authorization or unconfirmed results.

Plan what to do after a partial success

Ask the maintainer to rehearse a scenario in which a supporting package fails while another package publishes successfully. The response should identify what is already available, whether consumers can safely proceed and who decides the next release step.

Avoid treating a repeated approval click as a recovery strategy. First establish the state of the release and the dependency impact. Communicate a delay to the application owner if the expected combination is not ready, rather than reporting success from the number of approvals completed.

VistaAI develops custom software and workflow solutions for growing businesses. Explore VistaAI to discuss a release and handover process that makes the delivered software, its dependencies and its operating responsibilities clear.

Questions and answers

Does one approval guarantee every package publishes?

No. npm documents independent batch actions and partial success, with no automatic rollback of successful actions.

Why might the batch controls be missing?

npm says the rollout is gradual. Confirm account availability before making batch approval a required step in your release process.

Can two versions of the same package share a batch?

No. The documented limit allows only one version per package in a batch, up to 100 versions overall.

What should an application owner ask the developer?

Ask which package versions belong together, how that combination was tested and how the team will detect and handle a partial publication.

Sources

Sources checked 2026-12-02. Availability and guidance can change; follow the linked original sources.