Skip to content

chore(deps): move the ORM family to 8.0.0-rc.10 - #291

Merged
wmadden-electric merged 1 commit into
mainfrom
chore/orm-8.0.0-rc.10
Sep 12, 2026
Merged

chore(deps): move the ORM family to 8.0.0-rc.10#291
wmadden-electric merged 1 commit into
mainfrom
chore/orm-8.0.0-rc.10

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Moves every @prisma/orm-* pin from 8.0.0-rc.8 to 8.0.0-rc.10 (rc.9 was skipped). Precedes the v0.19.0 release PR.

  • Schema files use the new // use prisma-8 header (the old one still works but is deprecated in rc.10).
  • Every committed contract was re-emitted with the rc.10 toolchain: contract.json gains the nullable flag on to-one relations, contract.d.ts gains the Models namespace. The migrations/snapshots/<hash>/contract.d.ts copies are synced, as the contract-snapshot lint requires. Storage hashes are unchanged, so no migration or snapshot content changed.
  • Verified locally: build, typecheck, lint, lint:deps, check:publish-deps, test:scripts, and every test package run one at a time (the suite shares one local Postgres, so parallel runs interfere on a laptop).

🤖 Generated with Claude Code

Every @prisma/orm-* pin goes from 8.0.0-rc.8 to 8.0.0-rc.10 (rc.9 was never adopted). Schema files take the new `// use prisma-8` header, and every committed contract is re-emitted so contract.json carries the rc.10 `nullable` flag on to-one relations and contract.d.ts exports the new `Models` namespace; the migration snapshot copies of contract.d.ts are synced to match. Storage hashes are unchanged, so no migration is affected.

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

prisma-gizmo Bot commented Sep 12, 2026

Copy link
Copy Markdown

✅ Gizmo reviewed 10280c9 — posted 0 inline comment(s) this pass.

Open findings: none

Change walkthrough

This PR moves every @prisma/orm-* pin from 8.0.0-rc.8 to 8.0.0-rc.10 (skipping the never-released rc.9) and re-emits every committed contract with the rc.10 toolchain, preparing the repo for the v0.19.0 release.

Dependency pins. All seven touched package.json files move in lockstep: @prisma/orm-postgres and @prisma/orm-toolchain keep their exact-pin policy (no ranges) in dependencies, devDependencies, and the peer dependency on composer-prisma-cloud. No rc.8 references remain outside the lockfile, which was regenerated in the same commit.

Schema headers. Every contract.prisma — the four example packages, the auth pack, and the fixture sources — swaps the deprecated // use prisma-next header for // use prisma-8; a repo-wide search confirms none of the old headers survive.

Re-emitted contracts. The rc.10 emitter's output changes show up three ways, applied consistently across all committed contracts:

  • contract.d.ts gains the new Models namespace and declare const models export plus the RelationKeys import (empty in examples/auth, populated per model elsewhere).
  • contract.json gains "nullable": false on to-one/N:1 relations, matching the readonly nullable: false additions in the auth pack's relation type declarations.
  • Generated-file stamps rename from prisma-next contract emit to prisma contract emit.

The gadget/widget test fixtures show the fullest re-emission diff: aggregate types split (avg/avgDecimal, sum/sumBigInt), the pg/time@1/pg/timestamp@1 codecs renamed to their -string/-temporal variants, unboundedint/int8number codecs added, and the sql.checkConstraint capability flag. The three example migrations/snapshots/<hash>/contract.d.ts copies are byte-identical to their parent contract.d.ts (verified by diff), as the contract-snapshot lint requires; storage hashes are untouched, so no migration content changed.

Incidental catch-up. Re-emitting examples/auth also bumps its auth extension reference from 0.14.0 to 0.18.0, aligning it with the workspace auth pack version released in v0.18.0 rather than being a version change this PR introduces.

@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 18f98194-ae10-4e90-b516-e1a58ab60937


Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Sep 12, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@prisma/composer@291
npm i https://pkg.pr.new/@prisma/composer-cli@291
npm i https://pkg.pr.new/@prisma/composer-prisma-cloud@291

commit: 10280c9

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New findings: 🟡 1 minor · trace

Findings outside the diff

  • 🟡 Minor · consistency packages/1-prisma-cloud/2-shared-modules/auth/src/tests/fixtures/empty-app/emitted/contract.d.ts — empty-app fixture's emitted contract.d.ts was not re-emitted and still bears the old 'prisma-next contract emit' header
    The PR description states every committed contract was re-emitted with the rc.10 toolchain, and indeed the gadget/widget fixture emitted/contract.d.ts and emitted/contract.json files were regenerated (generator stamp renamed from prisma-next contract emit to prisma contract emit). However, packages/1-prisma-cloud/2-shared-modules/auth/src/__tests__/fixtures/empty-app/emitted/contract.d.ts (lines 2-3) — a tracked file, referenced by pack-conformance.integration.test.ts — still carries the old prisma-next contract emit generator header, even though this PR migrated the fixture's own source/contract.prisma to the new // use prisma-8 header. The emitted fixture is now stamped by a toolchain version the PR is moving away from, inconsistent with the other fixtures and with the PR's re-emit claim.
    Recommended fix: Re-run prisma contract emit for the empty-app fixture (or apply the same rc.10 header/message rename used in the gadget/widget fixtures) so all committed emitted contracts carry the rc.10 generator stamp.

@prisma-gizmo prisma-gizmo Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All Gizmo review threads are resolved and the head commit has been reviewed. Approving.

@wmadden-electric
wmadden-electric merged commit 208ea53 into main Sep 12, 2026
25 checks passed
@wmadden-electric
wmadden-electric deleted the chore/orm-8.0.0-rc.10 branch September 12, 2026 11:54
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.

1 participant