Repository navigation
Release 8.0.0-rc.39 on next: ORM rc.28 and Composer 0.41.2, so contract emit warns when it leaves the migration snapshot stale - #431
Merged
Conversation
…0.41.2 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>
wmadden
approved these changes
Dec 3, 2026
|
Caution Review failedThe pull request is closed. Summary by CodeRabbit
WalkthroughPackage versions and workspace dependency references are updated to 8.0.0-rc.39. Composer dependencies change to 0.41.2, ORM dependencies change to 8.0.0-rc.28, and the Prisma platform core concepts skill specifies library version 8.0.0-rc.39.
|
wmadden-electric
enabled auto-merge (squash)
December 3, 2026 01:48
commit: |
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.39 under thenextdist-tag (versioning). The release pins Prisma ORM 8.0.0-rc.28 and Composer 0.41.2 exactly.npm install prismakeeps getting rc.36 fromlatestuntil a maintainer promotes a newer release withpromote.yml.rc.39 changes no CLI code. It ships ORM fixes found by upgrading two real applications to rc.38.
What the new ORM and Composer releases fix
prisma contract emitwarns when it cannot update the migration snapshot. The migration snapshot is the copy of the contract thatprisma db migraterecords in each database it creates. When emit cannot update it, a new database records out-of-date capabilities and later failsprisma db verify. Emit used to skip it without a word. That happened in our rc.38 upgrade check: the ORM's rc.25 to rc.26 upgrade script had left the snapshot's mutation-default references with key names from before ORM rc.13. Emit now warns withMIGRATION.CONTRACT_SNAPSHOT_PROFILE_NOT_UPDATED, naming the snapshot, the reason and what to do. That upgrade script now refuses such a snapshot and gives the command of the older script that renames the keys (prisma/orm#31346).MIGRATION.SIGNATURE_NOT_IN_GRAPHgives the right advice for a database that an earlier ORM release migrated. It used to suggestprisma db update. It now points to the step of the rc.25 to rc.26 upgrade guide that says when to runprisma db sign(same PR).PRISMA_REGION(prisma/composer#482).An application on rc.38 needs no code changes: the ORM's rc.27 to rc.28 upgrade guide has no entries. A project whose snapshot still has the old key names now sees the new warning from
contract emit, and the warning says how to fix it.What changes in this pull request
packages/cli/package.jsonandpackages/prisma/package.jsonpin every@prisma/orm-*package at 8.0.0-rc.28 and the three@prisma/composer*packages at 0.41.2.pnpm bump-versionset the root,prisma,@prisma/cli, the private workspace packages and the version the CLI's skill names to 8.0.0-rc.39.@prisma/cli-engineand@prisma/computekeep their own versions. The lockfile follows.Why
@prisma/cli-enginestays at 0.10.4ORM rc.28 and Composer 0.41.2 both require
@prisma/cli-engine0.10.4 exactly. So this release must not change what the engine publishes. In this pull request the engine'spackage.jsonchanges only in its development dependencies, which are not published.Checked before merge
@prisma/orm-*packages are on npm at 8.0.0-rc.28, and all@prisma/composer*packages at 0.41.2.@prisma/composer-prisma-cloud0.41.2 requires ORM 8.0.0-rc.28 exactly, so the pins agree.@prisma/orm-toolchain.CLI.SECOND_PACKAGE_COPY, the refusal to run when two copies of a Prisma package are installed.After merge, before promotion
rc.39 is installed from npm by its exact version and checked end to end:
prisma db verify;rc.39 is promoted to
latestonly if both pass. If either fails, it stays onnextand the fix goes in the next release.Replaces #430
The release automation opened #430. It moves the ORM to rc.28 but leaves Composer at 0.41.1. Composer 0.41.1 requires ORM rc.27 exactly, so #430 would put two versions of
@prisma/orm-toolchainin the lockfile.Agent: cobain-55
🤖 Generated with Claude Code