Repository navigation
chore(release): bump to 8.0.0-rc.23 - #30962
Merged
Merged
Conversation
Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
wmadden
approved these changes
Nov 6, 2026
Contributor
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
@prisma/orm-extension-arktype-json
@prisma/orm-extension-middleware-cache
@prisma/orm-extension-paradedb
@prisma/orm-extension-pgvector
@prisma/orm-extension-postgis
@prisma/orm-extension-supabase
@prisma/orm-family-mongo
@prisma/orm-family-sql
@prisma/orm-framework
@prisma/orm-mongo
@prisma/orm-mysql
@prisma/orm-postgres
@prisma/orm-postgres-contrib
@prisma/orm-sqlite
@prisma/orm-target-mongo
@prisma/orm-target-mysql
@prisma/orm-target-postgres
@prisma/orm-target-sqlite
@prisma/orm-toolchain
commit: |
Contributor
size-limit report 📦
|
wmadden
disabled auto-merge
November 6, 2026 18:06
Thegreatsura
pushed a commit
to Thegreatsura/prisma
that referenced
this pull request
Nov 10, 2026
…upgrade guides tell users to re-emit contract.d.ts instead of editing it (prisma#30987) Linear: [TML-3807](https://linear.app/prisma-company/issue/TML-3807) Since 8.0.0-rc.23 (prisma#30962), every merge-queue run on `main` fails here: ``` test/upgrade-instructions/mongo-checks-required-extensions/detection.test.ts Error: Change temporal-polyfill-is-a-peer-dependency-of-mysql has no detection pattern ``` After this PR the test passes, and queued PRs can merge again. ## Why it broke The release moved the pending upgrade fragments into the published rc.22 → rc.23 guides, and pointed this test at those guides. One test loops over every change in both guides and compiles each change's `detection.matches` patterns. The guides now also hold the MySQL and SQLite `temporal-polyfill` changes, which detect with `contains` on `yarn.lock`, not with `matches`. `patternsOf` throws for a change with no pattern, so the whole file failed. ## The fix The loop checks only changes that have `matches`. This is the same one-line change prisma#30959 carries, so the two merge cleanly in either order. ## Also in this PR: the rc.20 → rc.21 guides no longer invite hand edits to an emitted `contract.d.ts` `branded-time-types-removed` said that a `contract.d.ts` "written by an earlier release, such as one in a migration snapshot" needs only its import edited. That led an agent to hand-edit a live, emitted `contract.d.ts` in Prisma Composer instead of re-emitting it. The app and extension guides now say: - re-emit every emitted `contract.d.ts` with `prisma contract emit`; - edit by hand only the frozen copies under `migrations/snapshots/<hash>/`, which are never re-emitted. `contract-types-list-new-aggregates` and step 9 of the app guide now point at those snapshot copies only. I checked the other guides; their similar sentences tell users to run a script on stored contracts, not to edit by hand. ## Tests run - `test/integration`: every file under `test/upgrade-instructions/` (114 files, 2160 tests) passes. `detection.test.ts` failed before the fix. - `pnpm lint:skills` passes. Agent: cerridwen-44 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Clarified that PostgreSQL source imports should be updated and generated contract declarations re-emitted, including custom output paths. * Specified that frozen migration snapshots need only the stated manual import edits; other contents should remain unchanged, and new codec aggregate rows are not required. * **Tests** * Updated adversarial-input checks to consider only guide changes that define matching patterns. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
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.
8.0.0-rc.22→8.0.0-rc.23Merging this PR ships the release. The push to
maincarries the new rootversion. ThePublish to npmworkflow then publishes8.0.0-rc.23under the dist-taglatestand creates a pre-release GitHub Release. Seedocs/oss/versioning.md.What to review
docs/releases/v8.0.0-rc.23.md, mirrored at the top ofCHANGELOG.md. Seven breaking changes, then features and fixes. The fixes include the removal of theRUNTIME.MULTIPLE_ORM_COPIEScheck (TML-3807: Prisma ORM no longer refuses to start when a second copy is loaded, so Composer services run again #30961), which unblocks Prisma Composer.skills/prisma-8/upgrading/app/upgrades/8.0.0-rc.22-to-8.0.0-rc.23/instructions.mdskills/prisma-8/upgrading/extension/upgrades/8.0.0-rc.22-to-8.0.0-rc.23/instructions.mdupgrade-instructions/releases/8.0.0-rc.22-to-8.0.0-rc.23/sources/. Themongo-index-namesscript is copied into the app guide, and its test and five detection tests now read the published guides.nameIndexes,mergeRedundantIndexesand the builder.package.json, theworkspace:specifiers inpnpm-lock.yaml, thelibrary_versionstamp inskills/prisma-8/SKILL.md, and the Supabase contract version stamps. Nothing else.Checks run
pnpm check:upgrade-coverage --mode publish --prev v8.0.0-rc.22 --head HEAD: passes.pnpm check:release-notes --mode pr: passes.pnpm install --frozen-lockfile: passes.Docs site
prisma/web#8770 updates the Prisma 8 pages for this release. It merges after
8.0.0-rc.23is on npm underlatest.Recipe links in the notes point at the
v8.0.0-rc.23tag, which the publish creates, so they fail link checks until then.Agent: cerridwen-44
🤖 Generated with Claude Code
Summary by CodeRabbit