← Back to Pull requests

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

Closed
unknown closed this pull request without merging on Nov 17, 2026 07:42 UTC
View on GitHub
unknown unknown commented on Nov 16, 2026 15:19 UTC
Author

This PR updates the Prisma 8 docs pages to match the 8.0.0-rc.24 release notes. The release PR is prisma/orm#31047. I checked each claim against the notes, the rc.24 upgrade guides, or the source at the release commit. The v6/ and v7/ trees are untouched.

8.0.0-rc.24 is on npm under latest since 16 November 2026, so this can merge. It also brings main back to a passing pnpm lint:versions and pnpm lint:links: both fail there today, which fails "Validate documentation links" on every docs pull request.

Versions

  • orm/release-status.mdx: @prisma/orm-postgres and @prisma/orm-mongo at 8.0.0-rc.24, checked on 16 November 2026. prisma moves to 8.0.0-rc.34, published the same day, on the four pages that pin it. The sample orm init output on thirteen lines shows @prisma/cli-engine@0.10.0, which prisma 8.0.0-rc.34 installs.

  • 8.0.0-rc.23 → 8.0.0-rc.24 in vercel.mdx (the pg and @types/pg versions are unchanged), solid-start.mdx, advanced-postgresql.mdx, from-scratch.mdx, and the "written as of" lines of both upgrade guides.

  • supported-databases.mdx: the MySQL driver README link now points at v8.0.0-rc.24 and the README's new path, packages/3-targets/mysql/1-mysql/3-driver/README.md.
  • Breaking changes

    | Notes entry | Pages |
    | --- | --- |
    | On MongoDB, Date is a calendar date | orm/data-modeling/mongodb.mdx (type table, DateTime, Time, Duration, the temporal-polyfill peer dependency, the upgrade note), guides/upgrade-prisma-orm/mongodb.mdx. MongoDB timestamps changed from Date to DateTime in reading-data.mdx, writing-data.mdx, orm-client.mdx, pipeline-builder.mdx. supported-versions.mdx lists the @prisma/orm-mongo peer dependency |
    | MongoDB TypeScript contracts use field.scalar(type.X()) | orm/contract-authoring/typescript-schema-builder.mdx (example, helper list, value objects, vectors, discriminator, the field-presets paragraph) |
    | MongoDB plans rewrite the documents a schema change touches | orm/migrations/how-migrations-work.mdx, cli/migration-plan.mdx, cli/db-update.mdx |
    | MySQL no longer sets every session to READ COMMITTED | orm/supported-databases.mdx |
    | createExtension and dataTransform are no longer free functions | orm/reference/migration-api.mdx (import line, extensions table and example, precheck and postcheck, removal note) |
    | Prisma 7 commands fail with CLI.V7_COMMAND | orm/coming-from-prisma-orm-7.mdx, cli/error-reference.mdx (example added to CLI.V7_COMMAND) |
    | --json lists planner warnings under plannerWarnings | cli/db-update.mdx, cli/db-init.mdx |
    | Raw SQL parts can hold a statement | No page covers RawExpr.parts; the user-facing side is the raw-SQL feature below |
    | Extension authors: runtime transactions carry an AbortSignal | No page: extension authoring SPI |
    | Extension authors: MongoRuntime and MongoClient have prepare | orm/reference/transactions-and-runtime.mdx (the MongoRuntime member list) |

    Features

    | Notes entry | Pages |
    | --- | --- |
    | MariaDB migrations through @prisma/orm-mariadb | orm/supported-databases.mdx, orm/supported-versions.mdx |
    | Transaction isolation levels | orm/reference/transactions-and-runtime.mdx (transactionOptions, db.transaction options), orm/fundamentals/transactions.mdx, orm/coming-from-prisma-orm-7.mdx, orm/release-status.mdx |
    | Callback transaction timeouts | the same pages |
    | MongoDB prepared queries | orm/reference/transactions-and-runtime.mdx (new "Prepared statements (MongoDB)" section) |
    | db.raw.sql embeds builder queries | orm/reference/raw-queries.mdx |
    | Relation callbacks return arrays of operations | orm/reference/orm-client.mdx (update()) |
    | Filtered nested updateAll and deleteAll | orm/reference/orm-client.mdx (update(), new example), orm/coming-from-prisma-orm-7.mdx |
    | One write graph for every database | No page states the old behaviour |
    | update() and delete() by a unique key send one statement (#31026) | No page states the old behaviour |
    | Migration snapshot contract.d.ts on one line | No page states the old format |

    Fixes

    | Notes entry | Pages |
    | --- | --- |
    | defineConfig passes formatter through | No page documents formatter or contract format |
    | orm init keeps a node16 or nodenext tsconfig | cli/orm-init.mdx |
    | gt, lt, gte and lte accept a nullable column | orm/reference/orm-client.mdx |
    | upsert's update input for namespaced models | No page states the old behaviour |
    | fullTextHeadline word limits | orm/reference/sql-query-builder.mdx |
    | db schema prints several BSON types as a \| b | No page shows MongoDB db schema output |
    | DATE_STYLE_NOT_ISO / LC_MONETARY_NOT_C say whether the write committed | orm/reference/error-reference.mdx already has the new wording |
    | The prisma-8 skill on back-references | No docs page made the old claim |
    | Upgrade-guide corrections for rc.21 and rc.22 | Guides live in prisma/orm |

    Checks

  • pnpm lint:spellcheck on the changed files: no issues.

  • pnpm lint:links: one error, transaction-options.md#timeout in orm/reference/error-reference.mdx, which this PR does not touch. The same error is already on main.

  • pnpm lint:code: one more missing-title warning in each of orm-client.mdx, raw-queries.mdx and transactions-and-runtime.mdx. Each comes from a new example block, and the other blocks on those pages don't have titles either.

  • pnpm lint:versions: fails until 8.0.0-rc.24 is latest, as described above.
  • Added on 17 November 2026 (gagarin-12)

  • Merged main. The one conflict was the generated cli/error-reference.mdx; main's copy is kept, because the daily sync regenerates that page from prisma/prisma-cli.

  • The seven review comments are fixed: three examples now use fields their page's schema declares (the two reworked ones were run on 8.0.0-rc.24), db update covers a new required field under a unique index, the Since line on migration plan covers the whole paragraph, and the metaDescription names MariaDB.

  • apps/docs/scripts/generate-error-reference.mjs now rewrites a bare relative .md link (transaction-options.md#timeout) to its GitHub URL. This is the same commit as in prisma/web#8853, so the two merge in either order.
  • 🤖 Generated with Claude Code

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

    Summary by CodeRabbit

    Documentation
    Updated Prisma ORM 8 package and CLI versions across setup, deployment, and upgrade examples.
    Clarified MongoDB date and scalar types, lossy field conversions, required-field backfills, and migration validator checks.
    Expanded guidance on transaction options, related-row operations, SQL query-builder interpolation, MongoDB prepared queries, and scalar comparisons.
    * Refreshed CLI command and initialization guidance, planner warning output, TypeScript configuration behavior, and MariaDB’s migrations-only early-preview status.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: wmadden-electric Review duration: 982m
    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 #8850"
    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