npm staged publishing can now create packages that do not yet exist. The change lets automation submit an initial package release for later maintainer review instead of requiring a direct first publication.
For teams managing release automation, the important distinction is that staging submits the package but does not make the staged version publicly available. A maintainer must approve it with two-factor authentication (2FA) before that version reaches the live registry. The workflow is documented for npm CLI 11.15.0 or later and Node.js 22.14.0 or later.
What changed in npm staged publishing
Previously, staged publishing applied to packages that already existed. It now supports creating a new package through npm stage publish. The command can be run from the package root using a local session, a granular access token, a stage-only token, or a supported OIDC trusted-publishing relationship.
For a new package, npm makes a publicly available 0.0.0-stage placeholder visible. The staged version and its contents remain unavailable for public access until a maintainer approves the stage. This gives automation a way to establish the package workflow without directly publishing the initial release.
The documented process supports public scoped packages, public unscoped packages, and private scoped packages. A package whose package.json contains private: true is refused by staged publishing.
How the staged release flow works
The basic workflow separates submission from publication:
- Submit: Run
npm stage publishfrom the package root. - Inspect: Use
npm stage list,npm stage view <stage-id>, ornpm stage download <stage-id>to review the staged package. - Approve: Run
npm stage approve <stage-id>when the package is ready. Approval requires 2FA. - Reject: Run
npm stage reject <stage-id>to remove a pending stage. Rejection also requires 2FA and permanently removes the staged package.
Staging itself does not prompt for 2FA, while approval and rejection do. This means CI can submit a package, but the documented flow does not allow the automation to complete approval or rejection through OIDC credentials.
Staged and published versions share the same semver uniqueness index. A version cannot be staged and published at the same time. Multiple versions of one package may be staged, and ordinary publishing can continue while stages are pending.
Token and trusted-publishing options
Teams can choose the authentication method that best matches their release process. Granular access tokens can be restricted by package or scope, organization, expiration date, and IP range. They support read-only, publish-and-stage, and stage-only permissions. A token can select all packages or up to 50 specific packages or scopes, and its expiration must be at least one day in the future.
When direct publication should not be available to automation, administrators can create a granular token on npmjs.com and select Read and write (stage only). Granular-token creation is not currently available through the CLI.
A stage-only token can stage new versions but cannot directly publish new package versions. It is not a complete security boundary, however: the documented permissions still allow actions such as deprecating package versions and moving dist-tags. Administrators should account for those remaining write capabilities when designing token policies.
Trusted publishing is also supported for GitHub Actions, GitLab CI/CD, and CircleCI cloud-hosted runners. Self-hosted runners are not currently supported, and each package can have up to 10 trusted publishers configured.
For a trusted publisher, staged publishing is always allowed. Direct npm publish and npm dist-tag access can be enabled independently. OIDC credentials can submit a staged package, but the interactive stage commands for listing, viewing, approving, rejecting, and downloading cannot use OIDC tokens. Approval therefore remains an interactive maintainer action.
Why the change matters for release automation
The new-package support removes the need for a separate manual first publication when a project is moving to an automated staged workflow. A CI job can submit the package, while a maintainer retains a review and 2FA checkpoint before the staged contents become available in the live registry.
This can also reduce reliance on broadly scoped credentials. A stage-only token limits direct publication, and trusted publishing uses short-lived OIDC credentials rather than long-lived npm tokens. Neither option should be treated as a guarantee that an account or organization is secure: npm’s documentation explicitly notes that staged publishing does not by itself provide that assurance.
Teams should also distinguish package submission from package review. Automation can create the package and upload the stage, but it does not remove the need for a maintainer to inspect the result and approve it. Approval and rejection require account authentication with 2FA.
What you should do
- Use npm CLI 11.15.0 or later and Node.js 22.14.0 or later for the documented staged-publishing workflow.
- Confirm that the npm account has write or publish access and that 2FA is enabled.
- Replace
npm publishwithnpm stage publishwhen a release should require later maintainer approval. - Review stages with the CLI or npmjs.com before approving them.
- Use a granular stage-only token when automation should be able to stage but not directly publish, while reviewing its remaining capabilities around deprecations and dist-tags.
- For OIDC trusted publishing, configure the provider-specific identity and workflow permissions. Do not assume the CI job can approve or reject a stage automatically.
Availability and remaining limitations
The new-package capability is described as available in the October 2, 2026 announcement and the current npm documentation. The staged-publishing prerequisites specify npm CLI 11.15.0 or later, while the trusted-publishing documentation separately lists npm 11.5.1 or later for trusted-publishing features. Teams using staged publishing should follow the newer 11.15.0 requirement for the complete staged workflow.
The supplied documentation does not specify how long staged packages remain in a queue, whether a package name is reserved beyond the visible 0.0.0-stage placeholder, or how rollback works after approval or live publication. Those behaviors should not be assumed when planning operational procedures.


