← Back to Pull requests

Update the Prisma ORM 8 pages for 8.0.0-rc.15 and 8.0.0-rc.16 #8400

Closed
unknown closed this pull request without merging on Oct 07, 2026 13:25 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 07:51 UTC
Author

Docs for Prisma ORM 8.0.0-rc.15, released by prisma/orm#30627, and 8.0.0-rc.16, released by prisma/orm#30632. rc.16 moves the toolchain to @prisma/cli-engine 0.6.3 and rewords @default refusals; the version numbers below name rc.16. rc.16 and CLI rc.21 are both published, so this PR can merge: until then the site would describe a version that is not on the registry, and pnpm lint:versions fails on the new version until it is.

Release notes: docs/releases/v8.0.0-rc.15.md. Every path below is under apps/docs/content/docs/.

Version numbers

  • orm/release-status.mdx: @prisma/orm-postgres and @prisma/orm-mongo at 8.0.0-rc.16, checked on 7 October 2026.

  • guides/upgrade-prisma-orm/postgresql.mdx, guides/upgrade-prisma-orm/mongodb.mdx, guides/frameworks/solid-start.mdx, (index)/prisma-orm/from-scratch.mdx: the version the guide was written for.

  • cli/contract-emit.mdx: the tag-pinned script link, plus a paragraph for the hop from rc.14 (run the data-type-in-contract script before the first emit, then db sign).
  • Breaking changes, by release-notes entry

  • Contract stores dataType, db sign signs every space: orm/contract-authoring/the-contract-artifact.mdx, orm/contract-authoring/typescript-schema-builder.mdx, cli/contract-emit.mdx, cli/db-sign.mdx (new JSON output section). Parameter casts: no page shows them.

  • many stored as an object: orm/contract-authoring/the-contract-artifact.mdx.

  • Codecs check every stored value: orm/contract-authoring/typescript-schema-builder.mdx, orm/contract-authoring/psl-syntax.mdx.

  • setDefault takes a column: orm/reference/migration-api.mdx.

  • TypeScript contract must list extension packs: orm/contract-authoring/typescript-schema-builder.mdx.

  • Writes on a maybe-unfiltered collection; bulk writes refuse limit: orm/reference/orm-client.mdx, orm/fundamentals/writing-data.mdx.

  • variant() takes the discriminator value: orm/reference/orm-client.mdx, orm/data-modeling/relational-databases.mdx, orm/data-modeling/mongodb.mdx, orm/contract-authoring/psl-syntax.mdx, guides/upgrade-prisma-orm/mongodb.mdx.

  • Cache store decides lifetime: orm/middleware/built-in-cache.mdx (rewritten: bypass, meta, deriveKey, invalidate, createInMemoryCacheStore, the new CacheStore shape), orm/middleware/how-middleware-works.mdx.

  • prisma7Schema and contract infer read dates as text: cli/contract-infer.mdx, cli/configuration.mdx, guides/upgrade-prisma-orm/postgresql.mdx, (index)/prisma-orm/add-to-existing-project/postgresql.mdx, guides/switch-to-prisma-orm/from-sql-orms.mdx and from-drizzle.mdx (the step that changed Timestamptz to TimestamptzString is gone).

  • pg.sql removed, diagnostic codes renamed: orm/contract-authoring/psl-syntax.mdx. No page used pg.sql.

  • rc.16: @default refusals point at the written value and say what to write: orm/contract-authoring/psl-syntax.mdx. The orm init sample outputs across the guides now show @prisma/cli-engine@0.6.3, and prisma is named at 8.0.0-rc.21 (prisma/prisma-cli#336), the CLI release that ships engine 0.6.3 with Composer 0.28.0 and ORM rc.16.

  • Prisma 6 MongoDB Int as BSON long: guides/upgrade-prisma-orm/mongodb.mdx, cli/configuration.mdx.

  • db verify --strict code: cli/db-verify.mdx.

  • New storage hash once: cli/contract-infer.mdx (bytea literal defaults). SQL with a line comment: no page.

  • Mongo validators accept a null list: orm/data-modeling/index.mdx.

  • Extension authors: no page; the docs have no extension-authoring guide.
  • Features

  • Row locking: orm/reference/sql-query-builder.mdx (new section), orm/contract-authoring/capabilities.mdx, orm/coming-from-prisma-orm-7.mdx.

  • Scopes, apply, custom collection methods chaining: orm/reference/orm-client.mdx (new Scopes section), orm/coming-from-prisma-orm-7.mdx.

  • afterTransaction: orm/middleware/how-middleware-works.mdx, orm/middleware/authoring-custom-middleware.mdx, orm/reference/transactions-and-runtime.mdx.

  • Cache invalidation: orm/middleware/built-in-cache.mdx.

  • renameTable (and renameConstraint): orm/reference/migration-api.mdx, orm/migrations/generating-a-migration.mdx.

  • Nullable list elements: orm/contract-authoring/psl-syntax.mdx, orm/contract-authoring/typescript-schema-builder.mdx, orm/data-modeling/index.mdx.

  • Language server hover, go to definition, find references, completion: orm/contract-authoring/editor-support.mdx.

  • prisma6Schema reads more schemas; orm init detects Prisma 6 MongoDB: cli/configuration.mdx, guides/upgrade-prisma-orm/mongodb.mdx, cli/orm-init.mdx.
  • Fixes

  • Postgres driver returns server text: orm/middleware/authoring-custom-middleware.mdx, orm/middleware/built-in-cache.mdx.

  • Query after close(): orm/reference/transactions-and-runtime.mdx.

  • Bytes defaults as base64 or hex: orm/contract-authoring/psl-syntax.mdx.

  • @contract/@db reference forms: left to #8349, which already covers them.

  • The other fixes have no page that describes the old behaviour.
  • orm/reference/error-reference.mdx is generated by the sync workflow and is not edited here. cspell.json gains nowait and pexpire.

    Checks

    lint:links, lint:spellcheck and lint:code pass. lint:versions passes: every pinned version is current, with prisma at 8.0.0-rc.21 and @prisma/cli-engine at 0.6.3.

    Agent: grendel-61

    🤖 Generated with Claude Code

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: wmadden-electric Review duration: 333m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8400"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 20.5% · Safe to merge
    20.5%
    Repository