Skip to content

Release 8.0.0-rc.38: pin ORM rc.27 and Composer 0.41.1 so deploy-created databases pass db verify and pnpm installs one toolchain copy - #428

Merged
wmadden-electric merged 1 commit into
mainfrom
release/8.0.0-rc.38
Dec 2, 2026
Merged

wmadden-electric merged 1 commit into
mainfrom
release/8.0.0-rc.38

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

At a glance

Merging this pull request publishes prisma and @prisma/cli 8.0.0-rc.38 under the next dist-tag. The release pins Prisma ORM 8.0.0-rc.27 and Composer 0.41.1 exactly. npm install prisma keeps getting rc.36 from latest until a maintainer promotes a newer release with promote.yml.

The release fixes four problems found by upgrading two real projects to rc.37:

  • A database created by a deploy failed prisma db verify. In ORM rc.26, prisma db migrate --to <ref>, which every Composer deploy runs, recorded in a new database the capabilities of an out-of-date migration snapshot. db verify then refused it with CONTRACT.SIGNATURE_MISMATCH. In ORM rc.27, prisma contract emit brings that snapshot up to date (prisma/orm#31333). So installing rc.38 is not enough on its own: a user runs prisma contract emit, commits the snapshot it updates, and signs each database created on rc.26 with prisma db sign --no-advance-ref. The ORM's rc.26 to rc.27 upgrade guide has the steps.
  • In a pnpm monorepo, prisma refused to run. pnpm installed several copies of @prisma/orm-toolchain, so ORM commands stopped with CLI.SECOND_PACKAGE_COPY. ORM rc.27 makes pnpm install one copy (same PR), unless the workspace's packages resolve different TypeScript versions: then pnpm still installs one copy per version.
  • The advice in that refusal could run the wrong prisma. In a folder with no package.json, it now gives the path to the project's own prisma, for example ../../node_modules/.bin/prisma contract emit, not pnpm exec prisma (fix(cli): CLI.SECOND_PACKAGE_COPY gives the bin path of the project's prisma unless it is installed in the current folder #424).
  • The agent-skills notice was wrong inside a workspace package. After prisma skills sync at the workspace root, every command in a package said the skills were out of date. The notice and the skills commands now all use the workspace root (fix(cli): inside a workspace package, agent skills use the workspace root's copies and config, so the notice stops saying "synced none" #425).

What changes in this pull request

  • packages/cli/package.json and packages/prisma/package.json pin every @prisma/orm-* package at 8.0.0-rc.27 and the three @prisma/composer* packages at 0.41.1.
  • pnpm bump-version set every package, and the version the CLI's skill names, to 8.0.0-rc.38. The lockfile follows.

The two CLI fixes are already on main.

This replaces #427, which the release automation opened before Composer 0.41.1 reached npm. #427 pins ORM rc.27 with Composer 0.41.0, which requires ORM rc.26, so its conformance check failed on two copies of the toolchain.

Why @prisma/cli-engine stays at 0.10.4

ORM rc.27 and Composer 0.41.1 both require @prisma/cli-engine 0.10.4 exactly. So this release must not change what the engine publishes. A change would need a new engine version, which the products do not accept. In this pull request the engine's package.json changes only in its development dependencies, which are not published.

How it was checked

  • All @prisma/orm-* packages are on npm at 8.0.0-rc.27, and all @prisma/composer* packages at 0.41.1. Composer 0.41.1 requires ORM 8.0.0-rc.27 exactly, so the pins agree.

  • The lockfile holds one version of @prisma/orm-toolchain.

  • Typecheck and lint pass. So do the tests that check which ORM and Composer commands are mounted, and the tests for the second-copy refusal.

  • ORM rc.27 no longer publishes createFunctions and createAggregateFunctions (prisma/orm#31296). The CLI uses neither.

  • After the merge, rc.38 is installed from npm by its exact version for an end-to-end check:

    • a fresh Composer deploy, including a new database migrated to a ref that must pass db verify;
    • an upgrade from an earlier release.

    rc.38 is promoted to latest only if both pass. If either fails, it stays on next and the fix goes in rc.39.

Agent: cobain-55

🤖 Generated with Claude Code

…0.41.1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary by CodeRabbit

  • Chores
    • Updated Prisma CLI and related packages to release candidate 8.0.0-rc.38.
    • Updated Composer packages to 0.41.1 and Prisma ORM packages to 8.0.0-rc.27.
    • No user-facing feature changes are included in this release.

Walkthrough

Package and skill metadata versions advance to 8.0.0-rc.38. The CLI and Prisma packages update Composer dependencies from 0.41.0 to 0.41.1 and ORM dependencies from 8.0.0-rc.26 to 8.0.0-rc.27. Workspace dependency versions are aligned with the updated package versions.

Merge Risk: Minimal · up to 83988 · assessed changes only

Path filters excluded changed files. This rating applies only to the assessed changes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the release version and the two main pinned changes (ORM rc.27 and Composer 0.41.1), which match the package.json version bumps and dependency pins in the changeset. It also names the …
Description check Passed The description covers the release scope: publishing rc.38 on the next dist-tag, pinning ORM rc.27 and Composer 0.41.1, the two CLI fixes, the cli-engine dev-dependency changes, and the verification p…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the release version and the two main pinned changes (ORM rc.27 and Composer 0.41.1), which match the package.json version bumps and dependency pins in the changeset. It also names the stated purpose, the db verify fix and single toolchain copy. The title is long, but it is related to the main change.

Full details: Description check

Explanation

The description covers the release scope: publishing rc.38 on the next dist-tag, pinning ORM rc.27 and Composer 0.41.1, the two CLI fixes, the cli-engine dev-dependency changes, and the verification plan. This matches the package.json and skill file changes in the summary.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
Simplify code

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

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: 5b5af3ee-a36b-46b7-bfa4-98bf42835cfd
Commits

Reviewing files that changed from the base of the PR and between 7da388f and 8398896.

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

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@pkg-pr-new

pkg-pr-new Bot commented Dec 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 8398896

@wmadden-electric
wmadden-electric merged commit c3b5228 into main Dec 2, 2026
16 checks passed
@wmadden-electric
wmadden-electric deleted the release/8.0.0-rc.38 branch December 2, 2026 21:09
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.

2 participants