Does Claude Sonnet 5 know prisma 7?

Not by version attribution: in 8 runs, Claude Sonnet 5 places its prisma boundary at 6.0.0 (2024-11-28), 6.7.0 (2025-04-29) and 6.8.0 (2025-05-15) — below prisma 7.0.0 (2025-11-19), the first release of prisma 7. That is ~8 to ~14 months below the training cutoff the subject stated in those runs (2026-01). 15 findings are currently charged against Claude Sonnet 5 on prisma (6x S1 breaks-build, 4x S2 silently-wrong, 3x S3 deprecated, 2x S4 wrong-metadata), each reproduced in a published run and checked against prisma's own release notes. Read the boundary precisely: it is the newest release whose contents the model can correctly attribute to that release, not the newest prisma feature it can use. Past it a model often writes working code with a newer API while naming the wrong release for it.

Answer class below, decided by one rule applied to every page of this kind: every measured boundary is below the first release of the major named in the question. Every figure below is read from the dataset at build time; nothing on this page is written by hand.

The measurements

BatteryNewest release it can placeOldest it cannotLag vs stated cutoff
v1 2026-08-31 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months
v2-c 2026-09-05 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months
v5-a 2026-09-06 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months
v5-b 2026-09-06 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months
v6-a 2026-09-12 6.7.0
2025-04-29
6.8.0
2025-05-15
~9 months
v6-b 2026-09-12 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months
v7-a 2026-09-27 6.8.0
2025-05-15
6.9.0
2025-06-03
~8 months
v7-b 2026-09-27 6.0.0
2024-11-28
6.1.0
2024-12-17
~14 months

1 further run of this pair established only one end of the interval, or measured the instrument rather than the library; it is listed under Runs below.

How repeatable is this?

8 measurements of this pair, giving 3 different boundaries — 168 days apart, 8 releases apart. Of those, 6 came in 3 groups: the draws inside a group were sent the same stored prompt file, concurrently and blind, and each group had its own file. 1 of the 3 agreed exactly and 2 disagreed, the widest by 168 days, 8 releases apart.

prisma published 21 minor or major releases in the twelve months before this model’s stated cutoff, which is the scale a spread should be read against.

What Claude Sonnet 5 gets wrong about prisma

“Chargeable” means the change was published before this model’s own stated cutoff, so it had the opportunity to know it.

SeverityBeliefChanged inChargeableProof
S1breaks-build Constructs the client with no arguments, in four separate answers
new PrismaClient()
7.0.0
2025-11-19
yes run · source
S1breaks-build Imports PrismaClient from @prisma/client
import { PrismaClient } from '@prisma/client'
7.0.0
2025-11-19
yes run · source
S1breaks-build No config file at all; the datasource URL stays in schema.prisma
prisma.config.ts
7.0.0
2025-11-19
yes run · source
S1breaks-build Seed command declared in package.json, with the implicit-run claim attached
package.json prisma key
7.0.0
2025-11-19
yes run · source
S1breaks-build Recommends prisma generate --no-engine
prisma generate --no-engine
7.0.0
2025-11-19
yes run · source
S1breaks-build migrate diff with the removed --from-url / --to-schema-datamodel flags
prisma migrate diff
7.0.0
2025-11-19
yes run · source
S2silently-wrong Assumes the CLI loads .env by itself
automatic .env loading
7.0.0
2025-11-19
yes run · source
S2silently-wrong Relies on the postinstall hook to generate the client in Docker
postinstall prisma generate
7.0.0
2025-11-19
yes run · source
S2silently-wrong Whole deployment story built around a query-engine binary that no longer ships
engineType
7.0.0
2025-11-19
yes run · source
S2silently-wrong Denies that Prisma ships a first-party SQLCommenter plugin
@prisma/sqlcommenter-query-insights
7.1.0
2025-12-04
yes run · source
S3deprecated Ships the graduated preview flags as the mechanism that switches on the Rust-free client
previewFeatures = ["driverAdapters"]
6.16.0
2025-09-10
yes run · source
S3deprecated Generator block with no output path
generator client { output }
6.6.0
2025-04-08
yes run · source
S3deprecated Uses the superseded generator provider throughout
provider = "prisma-client-js"
7.0.0
2025-11-19
yes run · source
S4wrong-metadata Knowledge stops at 6.0.0 — fourteen months before its own stated cutoff 6.1.0
2024-12-17
yes run · source
S4wrong-metadata Sets a MongoDB team up on a version that dropped MongoDB, with no version caveat
MongoDB support
7.0.0
2025-11-19
yes run · source

What to do about it

The prisma correction pack states what is true now for each corrected fact, with a primary-source citation, as markdown you can paste into a rules file (raw). What a correction pack measurably changed when one was tested — a pre-registered run on prisma and zod — is on the benchmark page, including where it changed nothing.

Runs

The same question, asked of the others

All of them at once: Which Claude model knows prisma 7 best?

Other subjects on prisma:

Claude Sonnet 5 on the other libraries: