NuGet.org now offers staged publishing to every package publisher: an upload runs through validation but stays invisible to consumers until an authorized maintainer promotes it on the website. The pipeline prepares the release; a person still decides when it goes public.
Key points
- Staging is opt-in, so existing `dotnet nuget push` workflows keep working unchanged.
- A staged package is not merely unlisted: it cannot be restored even by exact version and stays out of search.
- Validation covers malware scanning, signature checks and repository signing, so failures can be fixed before release day.
- Related packages can share a staging group and be promoted in one action, though group promotion is not atomic.
- Promotion happens on NuGet.org and requires an authorized user with two-factor authentication enabled on the account.
- A staging-only API key or Trusted Publishing policy lets automation submit packages without the ability to publish them.
Real-world use
- Preparing a security fix before coordinated disclosure and keeping it private until the agreed release moment
- Collecting all packages of a feature release in a staging group while docs and announcements are still being finished
- Reviewing artifacts from several builds in one place for a large update and catching an omitted package
This summary was generated by the agent from the original post on .NET Blog. The full text and all rights belong to its author and publisher. Go to original