Repository navigation
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
Conversation
…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>
commit: |
wmadden
approved these changes
Dec 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At a glance
Merging this pull request publishes
prismaand@prisma/cli8.0.0-rc.38 under thenextdist-tag. The release pins Prisma ORM 8.0.0-rc.27 and Composer 0.41.1 exactly.npm install prismakeeps getting rc.36 fromlatestuntil a maintainer promotes a newer release withpromote.yml.The release fixes four problems found by upgrading two real projects to rc.37:
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 verifythen refused it withCONTRACT.SIGNATURE_MISMATCH. In ORM rc.27,prisma contract emitbrings that snapshot up to date (prisma/orm#31333). So installing rc.38 is not enough on its own: a user runsprisma contract emit, commits the snapshot it updates, and signs each database created on rc.26 withprisma db sign --no-advance-ref. The ORM's rc.26 to rc.27 upgrade guide has the steps.prismarefused to run. pnpm installed several copies of@prisma/orm-toolchain, so ORM commands stopped withCLI.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.prisma. In a folder with nopackage.json, it now gives the path to the project's ownprisma, for example../../node_modules/.bin/prisma contract emit, notpnpm 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).prisma skills syncat 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.jsonandpackages/prisma/package.jsonpin every@prisma/orm-*package at 8.0.0-rc.27 and the three@prisma/composer*packages at 0.41.1.pnpm bump-versionset 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-enginestays at 0.10.4ORM rc.27 and Composer 0.41.1 both require
@prisma/cli-engine0.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'spackage.jsonchanges 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
createFunctionsandcreateAggregateFunctions(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:
db verify;rc.38 is promoted to
latestonly if both pass. If either fails, it stays onnextand the fix goes in rc.39.Agent: cobain-55
🤖 Generated with Claude Code