NuGet.org Launches Staged Publishing for Controlled Package Releases

Original announcement: Microsoft .NET · 2026-11-17. Read the official announcement.

Summary of the New Staged Publishing Feature on NuGet.org

On November 17, 2026, Microsoft announced the introduction of staged publishing on NuGet.org. This feature lets package maintainers upload packages that are validated but remain private until explicitly approved for public release. Staged publishing enables maintainers to control the exact timing and readiness of their releases, improving coordination and trustworthiness.

What Is Staged Publishing and Who Should Care?

Staged publishing allows packages to be held privately on NuGet.org after passing automated validation steps such as malware scanning and signature checks. Unlike the traditional immediate public release upon upload, staged packages are invisible to package consumers until promoted by an authorized maintainer.

This is especially important for:

  • Package maintainers managing security-sensitive fixes: They can upload fixes ahead of coordinated disclosures and release them at the intended time.
  • Teams releasing feature sets: Groups of packages can be staged together, allowing for final review and synchronized release.
  • Large update workflows: Multiple builds can contribute to a staging group, which maintainers review before promotion.
  • Developers seeking more control: Even routine single-package releases benefit from this additional validation and approval step.

Key Features and Workflow Enhancements

  • Validation before public availability: Packages undergo malware scanning, signature verification, and repository signing checks while staged.
  • Staging groups: Related packages can be organized under one owner, simplifying review and overseeing coordinated releases.
  • Explicit promotion: An authorized maintainer with two-factor authentication must approve staged packages or groups to make them publicly available.
  • Non-atomic group promotion: Packages in a group become restorable independently and may be available at different times, requiring release planning accordingly.
  • Separation of upload and publish permissions: Staging-only API keys can be used for uploads, preventing automation from publishing packages without human approval.
  • CLI support: Basic staging commands are supported with .NET 11 RC2 SDK for uploading and grouping packages; further CLI features are planned.

Recommendations for Developers and Maintainers

Developers should evaluate their release workflows to incorporate staged publishing where appropriate, particularly for complex or sensitive releases. Important steps include:

  1. Test packages and dependencies locally or in private feeds before staging, as staged packages are not restorable until promotion.
  2. Use staging capabilities to prepare releases early and handle validation issues ahead of public release.
  3. Create staging groups on NuGet.org to organize related packages intended for a synchronized release.
  4. Limit automation with staging-only API keys to reduce risk of unauthorized publications.
  5. Ensure maintainers with promotion rights have two-factor authentication enabled to uphold security standards.
  6. Plan release schedules accounting for the non-atomic nature of group promotions—the packages may be available at different times.
  7. Monitor staged package expiration notices since staged content is temporary and expires if not promoted.
  8. Provide feedback to Microsoft if workflows expose roadblocks or opportunities for improvement.

Practical Checklist for NuGet Staged Publishing Adoption

  1. Identify packages or releases needing staged publishing (security fixes, multi-package features, large updates).
  2. Test packages locally or on private feeds.
  3. Use .NET SDK CLI commands to stage packages on NuGet.org.
  4. Create and manage staging groups if coordinating multiple packages.
  5. Assign staging-only API keys for upload automation.
  6. Ensure authorized maintainers enable two-factor authentication and review staged packages.
  7. Promote packages or groups on NuGet.org when ready for public release.
  8. Track promotion status and validate all packages successfully publish.
  9. Remain vigilant for staged package expiration and plan accordingly.

Overall, staged publishing establishes a deliberate checkpoint separating package preparation from publication, increasing release confidence and giving maintainers precise control over the availability of their NuGet packages.

Leave a Comment

Scroll to Top