← Back to Pull requests

docs: add the Supported versions page for Prisma ORM 8 #8572

Closed
unknown closed this pull request without merging on Oct 23, 2026 08:40 UTC
View on GitHub
unknown unknown commented on Oct 22, 2026 15:26 UTC
Author

Before, a reader on Bun who followed the Bun guide saw this prerequisite:

Bun 1.1 or later (bun --version)

and then bun create prisma@latest refused to run, because create-prisma declares "bun": ">=1.3.0". The PostgreSQL floor was on no page at all, and the TypeScript floor was on Release status only.

After, one page states every floor:

| Runtime | Minimum |
| --- | --- |
| Node.js | 22.18 on the 22 line, 24.11 on the 24 line, or 26 |
| Bun | 1.3 |
| Deno | 2.6, experimental |

| Database | Minimum |
| --- | --- |
| PostgreSQL | 15 |
| MongoDB | 8.0 |

The decision

A new page, [Supported versions](/orm/supported-versions), in the ORM sidebar's Introduction after Supported databases and linked from the Getting started sidebar. It states the runtime, database, and TypeScript floors, the tsconfig.json settings orm init writes, that every package is ES modules only, and the temporal-polyfill requirement on Node.js 22 and 24. It ends with how to check your own versions and the date the numbers were checked. This is item C18 of the docs audit, decided on 2026-09-28; the spec is docs/orm-docs-audit/slices/07-supported-versions/spec.md on the audit branch.

Every number is checked against where it is declared, on 2026-10-22:

  • Node.js ^22.18.0 || ^24.11.0 || >=26.0.0: the engines field of prisma@8.0.0-rc.25, create-prisma@0.14.3, and @prisma/composer@0.33.0.

  • Bun 1.3: engines.bun of create-prisma@0.14.3.

  • Deno 2.6: the Deno guide's reason, that the scaffold passes --minimum-dependency-age=0, which earlier releases reject. "Experimental" is the label Will chose.

  • PostgreSQL 15 and MongoDB 8.0: prismaNext.minServerVersion in the two target packages in prisma/orm.

  • TypeScript 5.9, optional: the typescript peer dependency with optional: true on @prisma/orm-postgres, -mongo, and -sqlite at 8.0.0-rc.19, and MIN_TYPESCRIPT_PEER in prisma/orm's scripts/validate-typescript-peer.mjs.

  • mongodb 7 and temporal-polyfill: the peer dependencies of @prisma/orm-mongo and @prisma/orm-postgres.

  • tsconfig.json: the template orm init writes, cli/src/commands/init/templates/tsconfig.ts in prisma/orm.
  • prisma/orm's own docs/Supported Versions.md is out of date on three of these (Node.js 24, Bun 1.2, Deno 2.0) and documents a --merge-tsconfig flag that does not exist in the CLI, so nothing on the page comes from it.

    Other pages changed

  • The Bun guide's prerequisite says 1.3.

  • Release status, Supported databases, and the eight quickstart and starting-point pages that state the Node.js range link the new page from that sentence.

  • The orm init page said "type": "module" is added whenever package.json has no "type" field. The init source leaves the field alone, with a warning, when the file already lists dependencies, and it also adds node to types in tsconfig.json. Both sentences now say what the source does. The fact check found this while confirming the new page's own sentence about it.

  • On MongoDB a DateTime field is still a Date; only PostgreSQL uses Temporal.Instant. The page says so, and the polyfill section is scoped to PostgreSQL.
  • How it was checked

    The reader-review skill's three scripts and cspell pass on the page; lint:links and lint:versions pass. Two cold reader rounds with the Prisma ORM 7 reader persona, then a fact re-check of every number against the list above.

    Alternatives considered

  • Put the table on Release status. Rejected: that page is about the release candidate and the Prisma ORM 7 support window, and the audit's reader journeys asked for one page a reader can bookmark for "what do I need installed".

  • Copy prisma/orm's docs/Supported Versions.md. Rejected: three of its numbers are wrong and one flag it documents does not exist.
  • Agent: seacole-52

    🤖 Generated with Claude Code

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

    Summary by CodeRabbit

    Documentation
    Added a supported-versions guide covering runtime, database, and TypeScript requirements, configuration, and version-checking commands.
    Documented PostgreSQL DateTime use of Temporal.Instant and when to install and import the Temporal polyfill.
    Clarified ES-module and CommonJS setup guidance, including orm init behavior and Node.js TypeScript configuration.
    Linked setup and release-status guidance to supported-version information, added Prisma ORM navigation links, and updated the navigation order. Removed the Editor setup link from Prisma ORM navigation.
    Updated the minimum Bun version to 1.3.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 595 lines (+446 / -149) across 7 files Reviewer: wmadden-electric Review duration: 1033m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.50) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.50 · 595 lines diff across 7 files
    0.50
    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.382
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #8572"
    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: 50% (MEDIUM) · Higher = larger blast radius
    50%
    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: 19.8% · Safe to merge
    19.8%
    Repository