Repository navigation
chore: bump Prisma to 7.10.1 - #25
Merged
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[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 (
prismadist-tagprev). Thelatesttag is 8.0.0-rc.33 (RC only). This PR does not install Prisma 8, does not useprisma@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). Nonpm audit fixand nonpm audit fix --force.package.json(caret ranges, lockstep):pgstays^8.21.0(resolved 8.21.0).@prisma/adapter-pg@7.10.1depends onpg@^8.16.3(a dependency range, not apeerDependenciesentry). 8.21.0 already satisfies it, sopgwas not bumped.Transitive notes
@prisma/dev0.24.3 → 0.24.17.prisma@7.10.1depends on@prisma/dev@0.24.17. There is still exactly one@prisma/devtree (node_modules/@prisma/dev). It was not added as a direct dependency. 0.24.17 dropshono,@hono/node-server, andhttp-status-codes(those advisories leave with it) and still pins@prisma/get-platform@7.2.0and@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-platformlive under@prisma/enginesand@prisma/fetch-engine. Directprisma/@prisma/client/@prisma/adapter-pgare all 7.10.1, not mixed.mysql23.15.3 → 3.24.4. CLI transitive ofprisma@7.10.1. Not added as a direct dependency. The highmysql2 <=3.23.0advisory clears.@prisma/engines-version7.8.0-6.3c6e192… → 8.1.0-1.d1b3f377… This string is the published dependency of@prisma/engines@7.10.1(schema-engine hashd1b3f377…). It is not the Prisma ORM 8 package.npx prisma --versionreports CLI and client 7.10.1. Flagged so the8.1.0-1wasm version is not read as an ORM 8 install.deepmerge-ts7.1.5 → 8.0.2, exact dependency of@prisma/config@7.10.1. The high<8.0.0advisory clears.c12@3.3.4(still the exact dependency of@prisma/config):exsolve1.0.8 → 1.2.0,giget3.2.0 → 3.3.1,ohash2.0.11 → 2.0.12,pkg-types2.3.1 → 2.4.0,rc93.0.1 → 3.1.0,readdirp5.0.0 → 5.1.1 (viachokidar).pkg-types@2.4.0adds a nestedconfbox@0.3.2because it wants^0.3.1while hoistedconfboxstays 0.2.4 forc12. Not a second@prisma/devtree.What did not change
nextandeslint-config-nextstay 16.4.6 (lockfilenextis still 16.4.6).engines.nodestays>=20. CI (.github/workflows/ci.yml) staysnpm ci+npm run test:runon Node 24. CI still does not run lint.prisma.config.tsedits. NoDATABASE_URLinvented.prisma db push/prisma migratewere 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 repoengines.nodeof>=20is 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>=20made 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).prisma init, and a broader AI safety checkpoint (includingdb push --accept-data-loss). This repo does not runprisma init.scripts/vercel-build.shrunsprisma db pushwithout--accept-data-loss. No code change. Also the@prisma/devhono advisory fix and Studio 0.27.3 → 0.33.0 (that Studio bump is whychart.jsleaves and the@visx/d3-*packages arrive).@prisma/devadvisory that Prisma says does not actually affect the CLI. Included by going to 7.10.1.@prisma/prisma7for side-by-side Prisma 8. Not installed. Without--config, Prisma 7 still falls back to existingprisma.config.*. Generate printedLoaded Prisma config from prisma.config.ts.Noprisma7.config.tsadded.fast-uriin this tree moved 3.1.2 → 3.1.9 (advisory through 3.1.8 clears).$transactionno longer mutates the options object (this repo has no$transactioncalls). P3025: Migrate now errors if the shadow database URL is the same as the main database URL. This repo has noprisma/migrations, noshadowDatabaseUrl, and the Vercel build usesprisma db push, not migrate. No config or schema change. Previewdb pushsucceeded with no P3025. MariaDB adapter changes do not apply (@prisma/adapter-pgonly).Left as a judgment call:
src/lib/pg-config.tsstill documents the Quaintsslmode/sslaccept=strictworkaround against engines 7.8.0, andscripts/vercel-build.shstill uses it fordb push. 7.9–7.10.1 notes do not mention that SSL behavior. Previewdb pushreported 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 /mysql2tree. Next did not move.Version changes
@prisma/adapter-pg@prisma/client@prisma/client-runtime-utils@prisma/config@prisma/debug@prisma/dev@prisma/driver-adapter-utils@prisma/engines@prisma/engines-version@prisma/engines/node_modules/@prisma/get-platform@prisma/fetch-engine@prisma/fetch-engine/node_modules/@prisma/get-platform@prisma/streams-local@prisma/studio-core@electric-sql/pglite@electric-sql/pglite-socket@electric-sql/pglite-toolsbetter-resultdeepmerge-tsexsolvefast-urigigetgrammexiconv-litelru.minmysql2ohashpkg-typesprismarc9readdirpvalibotAdded (Studio 0.33.0,
@prisma/dev@0.24.17find-my-way,mysql2@3.24.4sql-escaper, and thepkg-typesnestedconfbox):@types/d3-array3.0.3,@types/d3-color3.1.0,@types/d3-delaunay6.0.1,@types/d3-format3.0.1,@types/d3-geo3.1.0,@types/d3-interpolate3.0.1,@types/d3-path3.1.1,@types/d3-scale4.0.2,@types/d3-shape3.1.7,@types/d3-time3.0.0,@types/d3-time-format2.1.0,@types/geojson7946.0.16,@types/lodash4.17.27,@visx/curve4.0.1-alpha.0,@visx/event4.0.1-alpha.0,@visx/grid4.0.1-alpha.0,@visx/group4.0.1-alpha.0,@visx/point4.0.1-alpha.0,@visx/responsive4.0.1-alpha.0,@visx/scale4.0.1-alpha.0,@visx/shape4.0.1-alpha.0,@visx/vendor4.0.0-alpha.0,@visx/vendor/node_modules/d3-array3.2.1,classnames2.5.1,d3-array3.2.4,d3-color3.1.0,d3-delaunay6.0.2,d3-format3.1.0,d3-geo3.1.0,d3-interpolate3.0.1,d3-path3.1.0,d3-scale4.0.2,d3-shape3.2.0,d3-time3.1.0,d3-time-format4.1.0,delaunator5.1.0,elkjs0.11.1,fast-decode-uri-component1.0.1,fast-querystring1.1.2,find-my-way9.7.0,internmap2.0.3,lodash4.18.1,pkg-types/node_modules/confbox0.3.2,ret0.5.1,robust-predicates3.0.3,safe-regex25.1.2,sql-escaper1.5.2.Removed:
@hono/node-server1.19.11,hono4.12.21,http-status-codes2.3.0,chart.js4.5.1,@kurkle/color0.3.4,denque2.1.0,seq-queue0.0.5,sqlstring2.3.3.npm audit
npm auditbefore (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.mysql2advisory clears (was high,<=3.23.0, via auth-plugin downgrade and zlib decompression bomb; now 3.24.4).source-map-jsdoes not clear. It is still 1.2.1, inside1.0.0 - 1.2.1. In this repo it is required bypostcss,@tailwindcss/node, andcss-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):npm run lint:Exit 0. The repo stays lint-clean. CI still does not run lint; it only runs
npm ciandnpm run test:runon Node 24.npm run test:run:npx tsc --noEmit: exit 0, no output.npx prisma --version:Generated client is 7.10.1 (
prisma generateand@prisma/clientin that version output).npm run build/next buildwas not run locally. On this machine it fails at/api/syncwithoutDATABASE_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.1installed. Generate:Loaded Prisma config from prisma.config.ts.andGenerated Prisma Client (v7.10.1).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.Next.js 16.4.6compiled. Deployment completed.engines.nodeis>=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.