Skip to content

chore: bump Prisma to 7.10.1 - #25

Merged
glindsay65 merged 1 commit into
developfrom
cursor/bump-prisma-7-10-1-c88d
Nov 12, 2026
Merged

glindsay65 merged 1 commit into
developfrom
cursor/bump-prisma-7-10-1-c88d

Conversation

@glindsay65

@glindsay65 glindsay65 commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

[Susan (Grok Bot)]

Second website audit slice only. App version stays 1.2.0. Next stays 16.4.6. No engines, CI, or README changes. Not merged — Grant, this is ready for you after lunch.

Why 7.10.1

As of 12 Nov 2026, 7.10.1 is the latest stable Prisma 7 (prisma dist-tag prev). The latest tag is 8.0.0-rc.33 (RC only). This PR does not install Prisma 8, does not use prisma@latest, and does not add @prisma/prisma7.

Installed with npm install prisma@7.10.1 @prisma/client@7.10.1 @prisma/adapter-pg@7.10.1 (caret save-prefix). No npm audit fix and no npm audit fix --force.

package.json (caret ranges, lockstep):

-    "@prisma/adapter-pg": "^7.8.0",
-    "@prisma/client": "^7.8.0",
+    "@prisma/adapter-pg": "^7.10.1",
+    "@prisma/client": "^7.10.1",
     ...
-    "prisma": "^7.8.0",
+    "prisma": "^7.10.1",

pg stays ^8.21.0 (resolved 8.21.0). @prisma/adapter-pg@7.10.1 depends on pg@^8.16.3 (a dependency range, not a peerDependencies entry). 8.21.0 already satisfies it, so pg was not bumped.

Transitive notes

  • @prisma/dev 0.24.3 → 0.24.17. prisma@7.10.1 depends on @prisma/dev@0.24.17. There is still exactly one @prisma/dev tree (node_modules/@prisma/dev). It was not added as a direct dependency. 0.24.17 drops hono, @hono/node-server, and http-status-codes (those advisories leave with it) and still pins @prisma/get-platform@7.2.0 and @prisma/query-plan-executor@7.2.0. Those 7.2.0 copies were already there under 0.24.3. The 7.10.1 copies of @prisma/get-platform live under @prisma/engines and @prisma/fetch-engine. Direct prisma / @prisma/client / @prisma/adapter-pg are all 7.10.1, not mixed.
  • mysql2 3.15.3 → 3.24.4. CLI transitive of prisma@7.10.1. Not added as a direct dependency. The high mysql2 <=3.23.0 advisory clears.
  • @prisma/engines-version 7.8.0-6.3c6e192… → 8.1.0-1.d1b3f377… This string is the published dependency of @prisma/engines@7.10.1 (schema-engine hash d1b3f377…). It is not the Prisma ORM 8 package. npx prisma --version reports CLI and client 7.10.1. Flagged so the 8.1.0-1 wasm version is not read as an ORM 8 install.
  • deepmerge-ts 7.1.5 → 8.0.2, exact dependency of @prisma/config@7.10.1. The high <8.0.0 advisory clears.
  • In-range floats under unchanged c12@3.3.4 (still the exact dependency of @prisma/config): exsolve 1.0.8 → 1.2.0, giget 3.2.0 → 3.3.1, ohash 2.0.11 → 2.0.12, pkg-types 2.3.1 → 2.4.0, rc9 3.0.1 → 3.1.0, readdirp 5.0.0 → 5.1.1 (via chokidar). pkg-types@2.4.0 adds a nested confbox@0.3.2 because it wants ^0.3.1 while hoisted confbox stays 0.2.4 for c12. Not a second @prisma/dev tree.

What did not change

  • next and eslint-config-next stay 16.4.6 (lockfile next is still 16.4.6).
  • App version stays 1.2.0.
  • engines.node stays >=20. CI (.github/workflows/ci.yml) stays npm ci + npm run test:run on Node 24. CI still does not run lint.
  • README Node wording unchanged.
  • No application, schema, or prisma.config.ts edits. No DATABASE_URL invented. prisma db push / prisma migrate were not run locally.

Engines note for the later Node 26 bump: Prisma 7.10.1 engines are ^20.19 || ^22.12 || >=24.0. CI is Node 24, which is inside that range. Local verification used Node v22.23.4 (inside ^22.12). The repo engines.node of >=20 is slightly looser (for example 20.18, 21.x, or 22.11 would satisfy the repo and fail Prisma). Left unchanged on purpose.

This Preview already hit that looseness. Vercel logged: project settings are Node 24.x, but engines.node >=20 made this build use Node 26.x instead. The build still completed on 26.x. Prisma 7.10.1 allows >=24.0, so 26 is inside its range. Engines were not changed in this PR.

Changelog (7.9.0, 7.9.1, 7.10.0, 7.10.1)

Reviewed https://github.com/prisma/prisma/releases (tags resolve to prisma/orm).

  • 7.9.0 — CLI completions, agent-skill install on prisma init, and a broader AI safety checkpoint (including db push --accept-data-loss). This repo does not run prisma init. scripts/vercel-build.sh runs prisma db push without --accept-data-loss. No code change. Also the @prisma/dev hono advisory fix and Studio 0.27.3 → 0.33.0 (that Studio bump is why chart.js leaves and the @visx / d3-* packages arrive).
  • 7.9.1 — patch for a transitive @prisma/dev advisory that Prisma says does not actually affect the CLI. Included by going to 7.10.1.
  • 7.10.0 — introduces optional @prisma/prisma7 for side-by-side Prisma 8. Not installed. Without --config, Prisma 7 still falls back to existing prisma.config.*. Generate printed Loaded Prisma config from prisma.config.ts. No prisma7.config.ts added. fast-uri in this tree moved 3.1.2 → 3.1.9 (advisory through 3.1.8 clears).
  • 7.10.1 — nested $transaction no longer mutates the options object (this repo has no $transaction calls). P3025: Migrate now errors if the shadow database URL is the same as the main database URL. This repo has no prisma/migrations, no shadowDatabaseUrl, and the Vercel build uses prisma db push, not migrate. No config or schema change. Preview db push succeeded with no P3025. MariaDB adapter changes do not apply (@prisma/adapter-pg only).

Left as a judgment call: src/lib/pg-config.ts still documents the Quaint sslmode / sslaccept=strict workaround against engines 7.8.0, and scripts/vercel-build.sh still uses it for db push. 7.9–7.10.1 notes do not mention that SSL behavior. Preview db push reported the database already in sync, so the workaround did not fail this deploy. Worth a glance if certificate handling ever looks off.

Lockfile summary

Every package that moved. Nothing outside the Prisma CLI / @prisma/config / @prisma/dev / Studio / mysql2 tree. Next did not move.

Version changes

Package From To
@prisma/adapter-pg 7.8.0 7.10.1
@prisma/client 7.8.0 7.10.1
@prisma/client-runtime-utils 7.8.0 7.10.1
@prisma/config 7.8.0 7.10.1
@prisma/debug 7.8.0 7.10.1
@prisma/dev 0.24.3 0.24.17
@prisma/driver-adapter-utils 7.8.0 7.10.1
@prisma/engines 7.8.0 7.10.1
@prisma/engines-version 7.8.0-6.3c6e192… 8.1.0-1.d1b3f377…
@prisma/engines/node_modules/@prisma/get-platform 7.8.0 7.10.1
@prisma/fetch-engine 7.8.0 7.10.1
@prisma/fetch-engine/node_modules/@prisma/get-platform 7.8.0 7.10.1
@prisma/streams-local 0.1.2 0.1.11
@prisma/studio-core 0.27.3 0.33.0
@electric-sql/pglite 0.4.1 0.4.3
@electric-sql/pglite-socket 0.1.1 0.1.3
@electric-sql/pglite-tools 0.3.1 0.3.3
better-result 2.9.2 2.10.0
deepmerge-ts 7.1.5 8.0.2
exsolve 1.0.8 1.2.0
fast-uri 3.1.2 3.1.9
giget 3.2.0 3.3.1
grammex 3.1.12 3.1.13
iconv-lite 0.7.2 0.7.3
lru.min 1.1.4 1.1.5
mysql2 3.15.3 3.24.4
ohash 2.0.11 2.0.12
pkg-types 2.3.1 2.4.0
prisma 7.8.0 7.10.1
rc9 3.0.1 3.1.0
readdirp 5.0.0 5.1.1
valibot 1.2.0 1.4.2

Added (Studio 0.33.0, @prisma/dev@0.24.17 find-my-way, mysql2@3.24.4 sql-escaper, and the pkg-types nested confbox): @types/d3-array 3.0.3, @types/d3-color 3.1.0, @types/d3-delaunay 6.0.1, @types/d3-format 3.0.1, @types/d3-geo 3.1.0, @types/d3-interpolate 3.0.1, @types/d3-path 3.1.1, @types/d3-scale 4.0.2, @types/d3-shape 3.1.7, @types/d3-time 3.0.0, @types/d3-time-format 2.1.0, @types/geojson 7946.0.16, @types/lodash 4.17.27, @visx/curve 4.0.1-alpha.0, @visx/event 4.0.1-alpha.0, @visx/grid 4.0.1-alpha.0, @visx/group 4.0.1-alpha.0, @visx/point 4.0.1-alpha.0, @visx/responsive 4.0.1-alpha.0, @visx/scale 4.0.1-alpha.0, @visx/shape 4.0.1-alpha.0, @visx/vendor 4.0.0-alpha.0, @visx/vendor/node_modules/d3-array 3.2.1, classnames 2.5.1, d3-array 3.2.4, d3-color 3.1.0, d3-delaunay 6.0.2, d3-format 3.1.0, d3-geo 3.1.0, d3-interpolate 3.0.1, d3-path 3.1.0, d3-scale 4.0.2, d3-shape 3.2.0, d3-time 3.1.0, d3-time-format 4.1.0, delaunator 5.1.0, elkjs 0.11.1, fast-decode-uri-component 1.0.1, fast-querystring 1.1.2, find-my-way 9.7.0, internmap 2.0.3, lodash 4.18.1, pkg-types/node_modules/confbox 0.3.2, ret 0.5.1, robust-predicates 3.0.3, safe-regex2 5.1.2, sql-escaper 1.5.2.

Removed: @hono/node-server 1.19.11, hono 4.12.21, http-status-codes 2.3.0, chart.js 4.5.1, @kurkle/color 0.3.4, denque 2.1.0, seq-queue 0.0.5, sqlstring 2.3.3.

npm audit

npm audit before (lockfile on 7.8.0): 34 (0 critical, 17 high, 15 moderate, 2 low).

After 7.10.1: 25 (0 critical, 11 high, 12 moderate, 2 low). Exit code 1 both times, which is npm’s “vulnerabilities found” code. No audit fix was applied.

Cleared (all nine are the Prisma cluster): prisma, @prisma/config, @prisma/dev, deepmerge-ts, mysql2, fast-uri, hono, @hono/node-server, valibot.

mysql2 advisory clears (was high, <=3.23.0, via auth-plugin downgrade and zlib decompression bomb; now 3.24.4).

source-map-js does not clear. It is still 1.2.1, inside 1.0.0 - 1.2.1. In this repo it is required by postcss, @tailwindcss/node, and css-tree, not by a Prisma package. 7.10.1’s source-map-js bump did not land a second copy here. Left for a later slice, along with the other remaining findings (@graphql-tools/*, body-parser, brace-expansion, browserslist, js-yaml, undici, vite, zod, typescript-eslint / eslint-config-next / minimatch, qs, vitest, @babel/core, esbuild, baseline-browser-mapping).

Verification

Local Node v22.23.4. All of these exited 0.

npm ci (postinstall generate at 7.10.1):

> fdc-website@1.2.0 postinstall
> prisma generate

Loaded Prisma config from prisma.config.ts.

Prisma schema loaded from prisma/schema.prisma.

✔ Generated Prisma Client (v7.10.1) to ./node_modules/@prisma/client in 69ms

added 753 packages, and audited 755 packages in 10s
25 vulnerabilities (2 low, 12 moderate, 11 high)

npm run lint:

> fdc-website@1.2.0 lint
> eslint

Exit 0. The repo stays lint-clean. CI still does not run lint; it only runs npm ci and npm run test:run on Node 24.

npm run test:run:

 RUN  v4.1.8 /agent/repos/website

 Test Files  9 passed (9)
      Tests  68 passed (68)
   Start at  18:02:20
   Duration  4.24s (transform 613ms, setup 812ms, import 1.04s, tests 294ms, environment 8.18s)

npx tsc --noEmit: exit 0, no output.

npx prisma --version:

Loaded Prisma config from prisma.config.ts.

Prisma schema loaded from prisma/schema.prisma.
prisma               : 7.10.1
@prisma/client       : 7.10.1
Operating System     : linux
Architecture         : x64
Node.js              : v22.23.4
TypeScript           : 5.9.3
Query Compiler       : enabled
PSL                  : @prisma/prisma-schema-wasm 8.1.0-1.d1b3f377ca835d73fd50954a5e22128b9ebdd6b8
Schema Engine        : schema-engine-cli d1b3f377ca835d73fd50954a5e22128b9ebdd6b8 (at node_modules/@prisma/engines/schema-engine-debian-openssl-3.0.x)
Default Engines Hash : d1b3f377ca835d73fd50954a5e22128b9ebdd6b8
Studio               : 0.33.0

Generated client is 7.10.1 (prisma generate and @prisma/client in that version output).

npm run build / next build was not run locally. On this machine it fails at /api/sync without DATABASE_URL. Vercel Preview is the real build.

Preview check for Grant

Preview is READY for commit bdeb1af:

https://website-git-cursor-bump-prisma-7-10-1-c88d-fast-dog-coding.vercel.app

Build log (dpl_9AL6ccZYtUvE9YFMokiqYBCPnAwW):

  • prisma@7.10.1 installed. Generate: Loaded Prisma config from prisma.config.ts. and Generated Prisma Client (v7.10.1).
  • The CLI printed Update available 7.10.1 -> 8.0.0-rc.33. That banner was not followed.
  • prisma db push: The database is already in sync with the Prisma schema. Datasource was the Neon Postgres database. No P3025.
  • Tests on Vercel: 9 files, 68 passed.
  • Next.js 16.4.6 compiled. Deployment completed.
  • Node warning, unchanged in this PR: project settings 24.x were overridden to 26.x because engines.node is >=20.

The preview URL returns 302 to Vercel SSO, so I could not open the rendered pages from here. After lunch, please open the preview while logged in and confirm the site still loads content from the database. I will not merge.

Open in Web Open in Cursor 

Move prisma, @prisma/client, and @prisma/adapter-pg together from ^7.8.0 to ^7.10.1, the latest stable Prisma 7. Prisma 8 remains release-candidate only and is not installed.

Co-authored-by: Grant Lindsay <glindsay65@users.noreply.github.com>
@vercel

vercel Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Nov 12, 2026 6:04pm UTC

Request Review

@glindsay65
glindsay65 merged commit ea9bd49 into develop Nov 12, 2026
4 checks passed
@glindsay65
glindsay65 deleted the cursor/bump-prisma-7-10-1-c88d branch November 12, 2026 19:38

This branch was successfully deployed

1 active deployment
Preview — bdeb1afb Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants