diff --git a/docs/oss/versioning.md b/docs/oss/versioning.md index c1ae99ac7..017667029 100644 --- a/docs/oss/versioning.md +++ b/docs/oss/versioning.md @@ -40,7 +40,7 @@ This is enforced, not remembered: the conformance checks refuse to publish a rel The npm registry exposes the CLI packages under these dist-tags: - **`latest`** — what a bare `npm install` gets: the newest release, RC or stable. A merged release PR publishes here automatically (operator cutover ruling 2026-08-25; before it, `latest` stayed on the pre-8 CLI and the RC line lived on `next`). -- **`next`** — kept alive but no longer moved by the publish path (operator ruling 2026-08-25). Removing it would break every `prisma@next` instruction immediately, and an automated sync to `latest` would need a standing token — re-pointing a tag on an already-published version cannot authenticate over OIDC, and npm has no token permission narrower than package write, which is publish-capable. So the operator points it at the current release by hand (`npm dist-tag add prisma@ next`, same for `@prisma/cli` and the engine), accepts that it lags between such moves — a lagging `next` still resolves a complete, working release — and retires it with an announcement once `8.0.0` stable ships. New text should say plain `prisma`. +- **`next`** — removed from all three packages on 2026-11-30. After the 2026-08-25 cutover nothing moved it. Pushes to `main` publish under `latest` or `dev`, never `next`. The workflow logs in to npm through OIDC trusted publishing, which can set a tag only on the version it is publishing, never on one already on the registry, and a stored token that could re-point a tag would also be able to publish. Moving it by hand did not happen, so by November it still pointed at `8.0.0-rc.10` and `npx prisma@next` silently installed a CLI 26 releases old. Without the tag, an old `prisma@next` instruction fails with npm's "No matching version found" error, which is better than an out-of-date CLI installed with no warning. Do not add the tag back for the 8.0.0 line, by hand or by dispatching the publish workflow with `dist-tag: next` (when that version is not on the registry yet, it is published under `next` and the tag comes back; when it is, the workflow skips it and leaves the tags alone); new text should say plain `prisma`. - **`beta`** — reserved for hand-cut previews ahead of significant changes, published by dispatching the workflow with that dist-tag. Routine releases do not use this tag. - **`dev`** — every routine push to `main` publishes `-dev.` here automatically (operator ruling 2026-08-13, superseding the earlier "no dev channel" ruling). The suffix derives from the workflow run number and is stamped ephemerally in CI, never committed, so release versions remain exactly what a commit says. The channel exists so a product's new version reaches a working CLI without a human: every push to `main` ships a dev build. A product release goes further and cuts a real release on its own; see [release automation](./release-automation.md). Only a release for a change in this repository alone is a human act.