← Back to Pull requests

docs(docs): update the Prisma ORM 8 pages for 8.0.0-rc.14 #8370

Closed
unknown closed this pull request without merging on Sep 30, 2026 18:58 UTC
View on GitHub
unknown unknown commented on Sep 30, 2026 16:38 UTC
Author

At a glance

orm/release-status.mdx, after:

| Package | latest on 30 September 2026 |
| --- | --- |
| prisma (the command-line tool) | 8.0.0-rc.19 |
| @prisma/orm-postgres (the library) | 8.0.0-rc.14 |
| @prisma/orm-mongo (the MongoDB library) | 8.0.0-rc.14 |

This pull request updates the Prisma ORM 8 pages for 8.0.0-rc.14, released by prisma/orm#30541. The release is published on npm, so this can merge now.

Release-notes entries and the pages that now reflect them

  • Serverless connect() returns a connection with db.orm, db.transaction(...) and db.prepare(...). orm/reference/transactions-and-runtime.mdx gains a "Serverless client on PostgreSQL" section. The notes in guides/deployment/cloudflare-workers.mdx and orm/fundamentals/reading-data.mdx no longer say the serverless client has no db.orm.

  • postgres() takes a cursor option. An option row and remarks in transactions-and-runtime.mdx. Three pages that said a for await loop never saves memory on PostgreSQL now name the cursor option: transactions-and-runtime.mdx, reading-data.mdx and sql-query-builder.mdx.

  • Date and time defaults are stored in canonical form, and some texts are refused. orm/contract-authoring/psl-syntax.mdx states the rule and the refusals, and no longer says contract emit needs a global Temporal. typescript-schema-builder.mdx has the same rule for TypeScript contracts.

  • temporal-polyfill is a peer dependency. One paragraph in orm/release-status.mdx and one sentence in (index)/prisma-orm/from-scratch.mdx, for Yarn users.

  • Contract source warnings are diagnostics. cli/contract-emit.mdx and cli/contract-print.mdx.

  • The Mongo ORM checks every value through its field's codec. orm/data-modeling/mongodb.mdx and orm/reference/orm-client.mdx describe the write checks, filter encoding, what create() returns, missing fields read as null, and upserts with update defaults.

  • Workarounds removed by the Mongo fixes. guides/switch-to-prisma-orm/from-mongoose.mdx drops the ObjectId[] write warning, and step 4.3 applies validators with prisma db update and its consent prompt instead of pasting collMod commands. A pipeline-builder match() on _id now works with an ObjectId, so orm/reference/pipeline-builder.mdx, orm/reference/raw-queries.mdx and guides/upgrade-prisma-orm/mongodb.mdx no longer send readers to rawCommand() for it.

  • The language server reads a multi-file schema as one project. A short section in orm/contract-authoring/editor-support.mdx.

  • A refused db sign offers both ways out. cli/db-sign.mdx.

  • The rc.12 to rc.13 guide has a rename script for migration snapshots. cli/contract-emit.mdx downloads and runs the script instead of describing the rename by hand.

  • Version numbers. orm/release-status.mdx, the PostgreSQL and MongoDB upgrade guides, from-scratch.mdx and the SolidStart skills list name 8.0.0-rc.14. guides/deployment/turborepo.mdx pinned @prisma/cli-engine to 0.6.1; it now pins 0.6.2, which prisma@latest depends on. The one remaining 8.0.0-rc.13 reference reads as history.

  • orm/reference/error-reference.mdx is regenerated with the site's generator from the error reference in prisma/orm at the release.
  • Entries with no page to land on

  • The extension-author changes (Mongo result shapes, insert results, codecs, reportUnknownFieldPreset). No docs page covers those interfaces.

  • Same-named models across namespaces, Postgres policy placement, and the SQLite DateTime default text. No page stated the old behaviour.
  • For the reviewer

    These were checked against the source code but not run:

  • The db update consent flow in step 4.3 of from-mongoose.mdx, and the example output that now shows "profile":null.

  • match((f) => f._id.eq(new MongoParamRef(new ObjectId(id)))) in pipeline-builder.mdx.

  • The Cloudflare Worker example in the new serverless section of transactions-and-runtime.mdx.
  • Checks

    From apps/docs: pnpm lint:links, pnpm lint:spellcheck and pnpm lint:versions pass. pnpm lint:code exits 0.

    Agent: pasteur-43

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Documentation
    Clarified MongoDB field validation, filter conversion, ObjectId handling, and how missing optional fields are returned.
    Added guidance for PostgreSQL serverless connections and cursor-based reads, including connection behavior and limitations.
    Expanded contract authoring, diagnostics, date/time defaults, and upgrade guidance, including migration-file updates and warning behavior.
    Updated Prisma ORM package versions and documented the temporal-polyfill requirement for Yarn users.
    Updated migration, deployment, and error-reference guidance, including using PostgreSQL serverless clients in Cloudflare Workers.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 633 lines (+474 / -159) across 7 files Reviewer: wmadden-electric Review duration: 140m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.55) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.55 · 633 lines diff across 7 files
    0.55
    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.386
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #8370"
    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: 55.4% (MEDIUM) · Higher = larger blast radius
    55.4%
    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: 21.9% · Safe to merge
    21.9%
    Repository