Skip to content

Commit d5c43ea

Browse files
docs(versioning): pushes also publish under dev; dispatch recreates next only for a new version
Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
1 parent 35c7ac7 commit d5c43ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/oss/versioning.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This is enforced, not remembered: the conformance checks refuse to publish a rel
4040
The npm registry exposes the CLI packages under these dist-tags:
4141

4242
- **`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`).
43-
- **`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` only. 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` (that publishes the new version under `next` and recreates the tag); new text should say plain `prisma`.
43+
- **`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`.
4444
- **`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.
4545

4646
- **`dev`** — every routine push to `main` publishes `<base>-dev.<run>` 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.

0 commit comments

Comments
 (0)