Following Registry Policy News: A Background Primer

This section of the site collects short, dated notes on changes to the rules of public package registries. Policy announcements are often terse and assume you already know how the registry works. This primer gives you that background, so that when a headline says "registry X now requires Y", you can tell in a minute whether it affects your release process.

How our news notes are written

Each note in the news section follows the same pattern: what changed, when it was announced (to the month, where we are confident of it), which kinds of packages or accounts it affects, and what to do. We link only to pages on this site and name official sources, such as npm Docs or the PyPI documentation, so you can find the primary text yourself. If a rule has been revised since we wrote about it, the registry's own documentation wins.

The four areas registry policy covers

Almost every policy change you will read about falls into one of four areas. Knowing which one helps you judge the impact.

  1. Accounts and authentication. Who can log in and how: two-factor requirements, token types and scopes, organisation membership. Changes here usually affect your CI secrets and your maintainers' logins.
  2. Names and namespaces. Which names are allowed, how similar names are handled, how disputes and transfers work. These matter when you create a new package or reclaim an abandoned one.
  3. Publishing. How artefacts get onto the registry: upload tools, trusted publishing from CI, provenance and attestation, metadata standards. Changes here affect your release workflow file.
  4. Removal and lifecycle. Unpublishing, yanking, deprecation, malware takedowns and account suspension. These matter when something goes wrong.

Vocabulary you will meet

TermMeaning
Scope / namespaceA prefix such as @org/ on npm that groups packages under an owner
Granular or scoped tokenAn API token limited to certain packages, actions or IP ranges
Trusted publishingUploading from CI using a short-lived OIDC identity instead of a stored token
Provenance / attestationA signed statement about how and where an artefact was built
YankHide a release from new dependency resolution without deleting it
Dist-tagAn npm label such as latest or next pointing to a version

More definitions are in the glossary.

Reading an announcement quickly

When a new policy appears, ask four questions. Does it apply to every package or only to "critical" or high-download ones? Is it a new option or a requirement? Is there a deadline, and is it stated in the official announcement rather than in a third-party summary? And which file in your repository would you need to change: your CI workflow, your manifest, or nothing at all? Most changes turn out to be one small edit, but the deadline is what catches people out. Write the date in your project's issue tracker the day you read it.

Related pages