← Back to Pull requests

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

Closed
unknown closed this pull request without merging on Nov 06, 2026 21:01 UTC
View on GitHub
unknown unknown commented on Nov 06, 2026 17:34 UTC
Author

Prisma ORM 8.0.0-rc.23 changes how a PostgreSQL schema names its scalar types. A schema the docs showed as

code VarChar(12)

now reads

code String(storage: varchar, length: 12)

and the old name reports PSL_DEPRECATED_SCALAR_NAME. This PR brings every Prisma 8 docs page up to the 8.0.0-rc.23 release notes. Each claim was checked against the notes, the app upgrade recipe, or the source at release/8.0.0-rc.23. The v6/ and v7/ trees are untouched.

The release PR is prisma/orm#30962.

Merge this only after 8.0.0-rc.23 is on npm under latest. Until then pnpm lint:versions fails on the five rc.23 references.

Versions

  • orm/release-status.mdx: @prisma/orm-postgres and @prisma/orm-mongo at 8.0.0-rc.23, prisma at 8.0.0-rc.31, checked on 6 November 2026.

  • 8.0.0-rc.22 → 8.0.0-rc.23 in vercel.mdx, solid-start.mdx, advanced-postgresql.mdx, from-scratch.mdx, supported-databases.mdx, and both upgrade guides' "written as of" lines.

  • prisma 8.0.0-rc.30 → 8.0.0-rc.31 where the version lint flags it (the same edit is in prisma/web#8769, so the two merge cleanly).
  • Breaking changes

    | Notes entry | Pages |
    | --- | --- |
    | MongoDB indexes carry their names | psl-syntax.mdx, typescript-schema-builder.mdx, migration-api.mdx, guides/upgrade-prisma-orm/mongodb.mdx |
    | The Prisma 6 MongoDB reader keeps indexes as Prisma 6 wrote them | cli/configuration.mdx, guides/upgrade-prisma-orm/mongodb.mdx, typescript-schema-builder.mdx |
    | Packs find their extension through the search path | using-extensions.mdx, postgis.mdx, paradedb.mdx, psl-syntax.mdx, typescript-schema-builder.mdx |
    | mongo() and mongoStatic() take extensions; contract.json needs target | transactions-and-runtime.mdx, typescript-schema-builder.mdx, the-contract-artifact.mdx |
    | supabase() and postgres() check their database input | using-extensions.mdx, transactions-and-runtime.mdx |
    | Seven PostgreSQL scalar names deprecated, two column helpers renamed | psl-syntax.mdx, typescript-schema-builder.mdx, and old names replaced in money.mdx, data-modeling/index.mdx, relational-databases.mdx, coming-from-prisma-orm-7.mdx, contract-infer.mdx, db-verify.mdx, migration-plan.mdx, from-sql-orms.mdx, add-to-existing-project/postgresql.mdx, orm-client.mdx, sql-query-builder.mdx. No page used int8Column or numericColumn. |
    | temporal-polyfill is a peer dependency of MySQL and SQLite | supported-databases.mdx, supported-versions.mdx |

    Features

    | Notes entry | Pages |
    | --- | --- |
    | PostgreSQL convenience types | psl-syntax.mdx (convenience-type table) and the pages above |
    | SQLite and MySQL date and time types | supported-databases.mdx |
    | ORM writes on MySQL | supported-databases.mdx, supported-versions.mdx, extensions/index.mdx |
    | Migration statements for value objects and variants | cli/migration-plan.mdx, cli/db-update.mdx |
    | supabase() takes the postgres() options | using-extensions.mdx |
    | Supabase adopts Prisma 8 with extensions in extensions | using-extensions.mdx |

    Fixes

    | Notes entry | Pages |
    | --- | --- |
    | RUNTIME.MULTIPLE_ORM_COPIES removed | release-status.mdx now says one version of every @prisma/orm- package is still required, without the refusal |
    | Supabase role sessions reset their role | using-extensions.mdx |

    Entries with no page

  • The MySQL stream fix: no page covers MySQL streaming.

  • The extension-author API changes: no page documents those APIs.

  • The rowsHoldingValue change: only the generated error reference mentions it.

  • orm/reference/error-reference.mdx still lists RUNTIME.MULTIPLE_ORM_COPIES. That page is generated, so the error-reference sync updates it.

  • supported-databases.mdx links the MySQL example at the v8.0.0-rc.23 tag, which exists once the release is cut.
  • Checks

    pnpm lint:links and pnpm lint:spellcheck pass. pnpm lint:code reports 3 fewer violations than main, and every new code block has a title. pnpm lint:versions fails only on rc.23 until it is latest.

    Agent: shelob-83

    🤖 Generated with Claude Code

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

    Summary by CodeRabbit

    Documentation
    Updated PostgreSQL type examples and guidance for storage, length, precision, and scale, including deprecated names and replacements.
    Expanded migration guidance for renaming, converting, and deleting value-object fields, variants, and enum values.
    Clarified MongoDB index naming, duplicate handling, migration checks, verification requirements, and upgrade steps.
    Added guidance on PostgreSQL extensions, schema search paths, runtime configuration, validation, and contract requirements.
    Updated MySQL preview documentation to cover ORM writes and supported behavior; clarified peer-dependency installation and SQLite date/time requirements.
    Refreshed package-version examples and clarified package-copy compatibility and detection. Also updated MongoDB migration API guidance and Vercel deployment instructions.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

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