Skip to content

chore(release): bump to 8.0.0-rc.23 - #30962

Merged
wmadden merged 4 commits into
mainfrom
release/8.0.0-rc.23
Nov 6, 2026
Merged

wmadden merged 4 commits into
mainfrom
release/8.0.0-rc.23

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

8.0.0-rc.22 → 8.0.0-rc.23

Merging this PR ships the release. The push to main carries the new root version. The Publish to npm workflow then publishes 8.0.0-rc.23 under the dist-tag latest and creates a pre-release GitHub Release. See docs/oss/versioning.md.

What to review

  • Release notes: docs/releases/v8.0.0-rc.23.md, mirrored at the top of CHANGELOG.md. Seven breaking changes, then features and fixes. The fixes include the removal of the RUNTIME.MULTIPLE_ORM_COPIES check (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.
  • Upgrade guides, assembled from the nine pending fragments:
    • app: skills/prisma-8/upgrading/app/upgrades/8.0.0-rc.22-to-8.0.0-rc.23/instructions.md
    • extension: skills/prisma-8/upgrading/extension/upgrades/8.0.0-rc.22-to-8.0.0-rc.23/instructions.md
    • The originals moved unchanged to upgrade-instructions/releases/8.0.0-rc.22-to-8.0.0-rc.23/sources/. The mongo-index-names script is copied into the app guide, and its test and five detection tests now read the published guides.
    • Merges worth a look: the two MongoDB index fragments share one app section, and the extension guide gives one call order for nameIndexes, mergeRedundantIndexes and the builder.
  • Version bump: every workspace package.json, the workspace: specifiers in pnpm-lock.yaml, the library_version stamp in skills/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.23 is on npm under latest.

Recipe links in the notes point at the v8.0.0-rc.23 tag, which the publish creates, so they fail link checks until then.

Agent: cerridwen-44

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added convenience types, MySQL ORM writes, migration statements for value objects and variants, and expanded Supabase options.
    • Improved MongoDB index naming and reader behavior, extension-pack handling, and database-input validation.
  • Bug Fixes
    • Fixed Supabase role-session resets and early MySQL stream termination.
    • Removed startup refusal when multiple ORM copies are present.
  • Documentation
    • Added Prisma 8.0.0-rc.23 upgrade guidance and release notes, including breaking changes and migration steps.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Prisma ORM advances from 8.0.0-rc.22 to 8.0.0-rc.23. The changes add release and upgrade documentation, a MongoDB index-name migration script, and updated workspace versions across packages, examples, and tests.

Changes: Prisma 8.0.0-rc.23 release

Layer / File(s) Summary
Release notes and upgrade guides
CHANGELOG.md, docs/releases/*, skills/prisma-8/upgrading/*, test/integration/test/upgrade-instructions/*
The release notes and app and extension guides document rc.23 changes and migration steps. Upgrade detection tests now reference the rc.23 guides.
MongoDB index-name migration script
upgrade-instructions/releases/8.0.0-rc.22-to-8.0.0-rc.23/sources/mongo-index-names/app/scripts/*
The script scans contracts and emitted contracts, assigns names to unnamed indexes, updates matching declarations, and reports warnings and status.
Workspace and fixture version alignment
package.json, apps/*/package.json, examples/**/package.json, packages/**/package.json, test/**/package.json, Supabase contract fixtures, skills/prisma-8/SKILL.md
Package versions and workspace dependency references change from rc.22 to rc.23 across the repository. Supabase contract fixtures and skill metadata also use rc.23.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Change: Other

Suggested reviewers: tensordreams

Merge Risk: Moderate · up to 5e1f7

MongoDB migration snapshots can receive index names from another project without a warning. Prevent cross-project name selection before publishing the upgrade guide.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/@prisma/orm-extension-arktype-json@30962

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/@prisma/orm-extension-middleware-cache@30962

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/@prisma/orm-extension-paradedb@30962

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/@prisma/orm-extension-pgvector@30962

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/@prisma/orm-extension-postgis@30962

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/@prisma/orm-extension-supabase@30962

@prisma/orm-family-mongo

npm i https://pkg.pr.new/@prisma/orm-family-mongo@30962

@prisma/orm-family-sql

npm i https://pkg.pr.new/@prisma/orm-family-sql@30962

@prisma/orm-framework

npm i https://pkg.pr.new/@prisma/orm-framework@30962

@prisma/orm-mongo

npm i https://pkg.pr.new/@prisma/orm-mongo@30962

@prisma/orm-mysql

npm i https://pkg.pr.new/@prisma/orm-mysql@30962

@prisma/orm-postgres

npm i https://pkg.pr.new/@prisma/orm-postgres@30962

@prisma/orm-postgres-contrib

npm i https://pkg.pr.new/@prisma/orm-postgres-contrib@30962

@prisma/orm-sqlite

npm i https://pkg.pr.new/@prisma/orm-sqlite@30962

@prisma/orm-target-mongo

npm i https://pkg.pr.new/@prisma/orm-target-mongo@30962

@prisma/orm-target-mysql

npm i https://pkg.pr.new/@prisma/orm-target-mysql@30962

@prisma/orm-target-postgres

npm i https://pkg.pr.new/@prisma/orm-target-postgres@30962

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/@prisma/orm-target-sqlite@30962

@prisma/orm-toolchain

npm i https://pkg.pr.new/@prisma/orm-toolchain@30962

commit: 5e1f703

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 283.97 KB (0%)
postgres / emit 248.15 KB (0%)
mongo / no-emit 227.37 KB (0%)
mongo / emit 183.99 KB (0%)
cf-worker / no-emit 346.16 KB (0%)
cf-worker / emit 306.13 KB (0%)

@wmadden
wmadden disabled auto-merge November 6, 2026 18:06
@wmadden
wmadden merged commit 557c0d4 into main Nov 6, 2026
22 of 23 checks passed
@wmadden
wmadden deleted the release/8.0.0-rc.23 branch November 6, 2026 18:07
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]>
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