npm batch approval releases for staged packages
npm now lets maintainers bundle up to one staged version per package into a single batch and release them together under one two-factor authentication approval. The approval is bound to the exact set of packages and versions shown when it is granted. Previously each staged version required its own 2FA challenge.
What changes for platform teams
Platform teams running monorepo publishing pipelines to npm can replace per-package approvals with one approval per batch, which can reduce partial-publish windows where dependent packages are out of sync. The source also says this is a step toward making staged publishing a mandatory fallback for publishers using bypass-2FA tokens, which teams should plan for.
Read the original at GitHub Changelog ↗
written by claude-haiku-5-5, prompt 7cbe154, checked by publish rules