Skip to content

Bump to version 8.0.0-rc.30 - #380

Merged
wmadden merged 1 commit into
mainfrom
claude/release-rc30
Nov 3, 2026
Merged

wmadden merged 1 commit into
mainfrom
claude/release-rc30

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

npx prisma dev fails for every new Composer project today:

ERROR: @prisma/composer-prisma-cloud: invalid container transport payload — "input.environment" is not a string.

This PR releases 8.0.0-rc.30, which fixes it. The fix is already on main (#378); it has not been released.

Why it fails

prisma 8.0.0-rc.29 bundles Composer 0.35.0. Composer 0.36.0 came out yesterday, and the getting-started page's npm install @prisma/composer @prisma/composer-prisma-cloud installs it. The CLI's 0.35.0 and the project's 0.36.0 disagree on the data they pass to each other, so prisma dev stops before anything starts. #378 moves the CLI to Composer 0.36.0.

What users see change

Composer 0.36.0 renames a stage to an environment:

  • prisma deploy --environment <name> replaces --stage.
  • --stage now fails with CLI.COMMAND_MOVED, naming the replacement.

prisma dev, dev url and dev stop also take --environment, and each environment runs its own local copy. prisma dev reads secrets from the environment and no longer invents placeholder values.

The docs, prisma/cloud-deploy-action and create-prisma follow in their own PRs, after this release.

How it was checked

Release

Previous version 8.0.0-rc.29, new version 8.0.0-rc.30. See docs/oss/versioning.md. Merging this PR ships the release: the push to main changes the root version, the Publish to npm workflow publishes @prisma/cli-engine and then @prisma/cli and prisma under latest, and creates a pre-release GitHub Release with generated notes.

The diff touches the same files as the rc.29 release (#379).

Agent: janeway-45

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Next included review available in 48 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 59e64ffe-e3a5-46c2-9172-50a9324b9f3f
Commits

Reviewing files that changed from the base of the PR and between 88ac1fc and 98d107d.

Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing: 9
  • package.json
  • packages/cli-conformance/package.json
  • packages/cli-engine/package.json
  • packages/cli-telemetry/package.json
  • packages/cli/package.json
  • packages/compute/package.json
  • packages/prisma/package.json
  • packages/tsconfig/package.json
  • skills/prisma-platform-core-concepts/SKILL.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

npx https://pkg.pr.new/@prisma/cli@380
npx https://pkg.pr.new/@prisma/cli-engine@380

commit: 98d107d

@wmadden
wmadden merged commit 0e1ec22 into main Nov 3, 2026
16 checks passed
@wmadden
wmadden deleted the claude/release-rc30 branch November 3, 2026 13:18
wmadden pushed a commit that referenced this pull request Nov 6, 2026
Merging this PR publishes `[email protected]` and
`@prisma/[email protected]` under `latest`. It is the first release that
carries Composer 0.37.0:

```console
$ npm view [email protected] dependencies
'@prisma/composer-cli': '0.37.0'
```

The main user benefit of Composer 0.37.0 is a much smaller install: 1.6
GB down to 473 MB.

## What changes

- **Version bump 8.0.0-rc.30 → 8.0.0-rc.31**, made by `pnpm
bump-version` (the `publish-npm-version` skill). The same files change
as in #380. `@prisma/compute` keeps its own version; only its
`workspace:` dependency on `@repo/tsconfig` moves.
- **The Composer pins** moved to 0.37.0 in #385, which prisma-bot opened
and merged. That commit's CI on `main` passed, including the real-API
end-to-end suite.
- **`docs/reference/error-reference.md` gets a `CONFIG` section.**
Composer 0.37.0 adds three codes: `CONFIG.ADAPTER_FAILED`,
`CONFIG.ADAPTER_INVALID` and `CONFIG.SECRET_AS_PLAIN_VALUE`. The page
had no `CONFIG` section at all, so the ten older `CONFIG.*` codes
Composer raises were missing too. The section lists all 13, written from
the 0.37.0 package source. The page says family codes are kept current
by hand when the CLI moves to a new family release, which is why this
rides in the release PR.

## What merging does

The squashed push to `main` changes the root version. The `Publish to
npm` workflow then publishes `@prisma/cli-engine` and `@prisma/cli`, and
creates a GitHub Release with generated notes (marked pre-release on the
RC line). See
[`docs/oss/versioning.md`](../blob/main/docs/oss/versioning.md).

Agent: dumbo-83

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
wmadden pushed a commit that referenced this pull request Nov 6, 2026
…pins an older ORM toolchain (#384)

When a product publishes a release, the version-follow pull request now
releases the CLI too:

```text
Release 8.0.0-rc.31: follow the products' released versions: @prisma/orm-toolchain 8.0.0-rc.22 -> 8.0.0-rc.23
```

`update-product-versions.yml` moves the pins as before, then runs `pnpm
bump-version`. When the pull request passes its checks and merges, the
root version changes, so `publish.yml` publishes the release under
`latest`. No person needs to cut it.

## Why

`[email protected]` pinned `@prisma/orm-toolchain` 8.0.0-rc.21 for four
days after ORM rc.22 shipped. A project on ORM rc.22 installed two
toolchains, and the CLI ran the old one ([reported on
Discord](https://discord.com/channels/937751382725886062/1477940100561244295/1566776463729102999)).

- The follow pull request #381 merged on 2026-10-31, but it shipped only
a dev build.
- The release pull request #380 waited four days for a review.

The same thing happened with rc.21 in October. A CLI behind a product
release breaks every project on that release, so the release should not
wait for someone to remember it.

## What changes

1. **The follow pull request bumps the version.** It runs `pnpm
bump-version` and stages every file it changes: the workspace manifests,
the lockfile and the version stamp in
`skills/prisma-platform-core-concepts/SKILL.md`. The title starts with
`Release <version>:`.
2. **Open release pull requests are closed as superseded.** A `Bump to
version` pull request would race the same version number. Older follow
pull requests are closed as before.
3. **Pins on `main` that no release shipped are released.** Suppose a
maintainer's release merges first and takes the version number. Then the
follow pull request's squash changes no version and ships only a dev
build, and the registry comparison finds nothing left to move. So on the
release channel, `update-product-versions.mjs` now compares `main`'s
pins with the manifests at the last release's tag, `v<version>`. The
next run, or the daily run at the latest, opens a release for those
pins. The checkout fetches tags for this.
4. **`bump-version` passes `--no-frozen-lockfile`**, because pnpm
defaults to a frozen lockfile in CI.

A release for a change in this repository alone is still cut by a
maintainer. `docs/oss/release-automation.md`, `docs/oss/versioning.md`
and the README now say this. They also say the merge still needs the one
approving review the `main` ruleset requires, which CodeRabbit gives
today.

## How it was checked

- `pnpm bump-version` with `CI=true` moved rc.30 to rc.31 and changed
exactly those files. `git add -u` stages exactly them.
- New tests for `pinChanges`, and `pnpm test:scripts` passes (89 tests).
`actionlint` and `pnpm lint` pass.
- Against the real registry: on `main` today, the release channel
reports no change. With the root version set back to rc.29, it reports
the three pins rc.30 shipped.

## Alternatives considered

- **Keep releases manual, and open the release pull request
automatically for a person to approve.** This removes the step of
remembering, but #380 shows an approval can wait for days.
- **Only alert when `prisma@latest` falls behind.** The nightly
getting-started check in prisma/getting-started-eval now does this, as a
second line of defence. Alone, it reports the problem without fixing it.

Related: prisma/orm#30944 makes the ORM's publish workflow notify this
repository at once. It read a secret that was never set, so the follow
pull request waited for the daily run. Refs TML-3439.

Agent: uther-28

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
wmadden-electric added a commit that referenced this pull request Nov 26, 2026
…t branch (#409)

Merging this pull request publishes `[email protected]` under `latest`,
which is what `npm install prisma` installs. Every release of the Prisma
8 line, release candidates included, publishes under `latest` (see
[`docs/oss/versioning.md`](docs/oss/versioning.md)). `@prisma/cli` is
the same tool under a second name, and publishes with it.

The main change is that `service` commands without `--branch` act on the
project's default branch. In rc.35 the custom domain commands failed
without `--branch`:

```console
$ npx [email protected] service domain show shop.acme.com --service web
SERVICE.SELECTION_INVALID: The requested service does not exist in the resolved project
```

rc.35 looked for the service on a branch named `production`. That is a
branch's role, not its name, so it found no branch and no service. With
rc.36, the same command finds the service on the project's default
branch and shows the domain.

## Behaviour change: commands may act on a different branch

Without `--branch`, rc.35 used the branch named `main`, and the default
branch only when no branch was named `main`. rc.36 always uses the
default branch.

Take a project whose default branch is `trunk` and that also has a
preview branch named `main`. In rc.35, `prisma service delete web`
deleted the service on `main`. In rc.36, it deletes the one on `trunk`.
The same applies to every `service` command, such as `service create`,
`service release`, `service version rollback` and the domain commands.
The CLI gives no warning about this change. Projects whose default
branch is named `main`, which is how every project starts, behave as
before.

A project that has branches but none marked as default is rare. In rc.35
it got the branch named `main`. In rc.36 it stops with the new error
`SERVICE.DEFAULT_BRANCH_MISSING`, which asks for `--branch`.

This change is #404.

## The other two changes

- `prisma skills sync` copies skills into the skills folder of each
coding agent the config names, and deletes them from the folders of
agents it does not name. In a project where one folder is a symbolic
link to another, for example `.claude/skills -> .agents/skills`, the
second sync deleted every skill the first had written, and reported
success. rc.36 fixes this (#407).
- The CLI now lists `@prisma/orm-framework`, the ORM's core package, as
its own dependency (#405). Nothing installed changes today. The next ORM
release stops bringing that package in for the CLI, and under Yarn the
CLI would then fail to load without this entry.

## No ORM or Composer release is needed

The ORM and Composer packages the CLI includes require one exact version
of the CLI engine, `@prisma/cli-engine`. So a new engine version would
mean new ORM and Composer releases too. No change since rc.35 touched
the engine. It stays at `0.10.4`, and the CLI keeps
`@prisma/orm-toolchain` and `@prisma/orm-framework` at `8.0.0-rc.25`,
and `@prisma/composer-cli` at `0.40.0`.

## The diff

`pnpm bump-version` made the whole diff. It changes `8.0.0-rc.35` to
`8.0.0-rc.36` in the version of the root and of the packages that share
the CLI's version: `prisma`, `@prisma/cli` and the private
`@repo/cli-conformance`, `@repo/cli-telemetry` and `@repo/tsconfig`.
Packages that use those private packages, the engine and
`@prisma/compute` among them, refer to them by version, so those
references change too. The engine's own version does not change. The
diff also updates `pnpm-lock.yaml` and the version noted in the
`prisma-platform-core-concepts` skill. The rc.30 release (#380) changed
the same 10 files in the same way.

## Verification

Each of the three changes was tested in its own pull request. This pull
request's CI runs the full checks against the CLI that this release
ships, including building `prisma` and checking that its packed packages
install and start. The publish then repeats those checks before anything
reaches npm. I have not tried a Yarn install by hand.

If rc.36 turns out bad, a maintainer can point `latest` back with `npm
dist-tag add [email protected] latest`, and the same for `@prisma/cli`,
then release a fix as rc.37.

## Alternatives considered

- **Publish under `next` first, because of the behaviour change.** The
project's versioning rules publish every release under `latest`, and
`next` is no longer moved by releases. The change also fixes commands
that act on the wrong branch, so holding it back keeps that risk.
- **Wait for more changes.** The custom domain docs, which wait for this
release, describe the fixed behaviour.

Agent: amun-44

Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants