Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@nestjs/core": "^11",
"@nestjs/platform-express": "^11",
"@prisma/adapter-pg": "7.2.0",
"@prisma/client": "6.15.0",
"@prisma/client": "7.8.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prisma CLI and client major version mismatch breaks v6 tests

High Severity

Bumping @prisma/client from 6.15.0 to 7.8.0 without also bumping the prisma CLI (still at 6.15.0) creates a cross-major-version mismatch. Prisma enforces that the CLI and client versions match. The prisma-orm-v6 test suite relies on the package.json versions (it has no additionalDependencies override), so it will now try to run prisma generate with CLI v6 against client v7, which fails. Even if it didn't fail at generation time, the test expects v6-specific spans (prisma:client:detect_platform, prisma:engine:connect, etc.) that don't exist in v7.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 84b5b76. Configure here.

"@sentry/aws-serverless": "10.53.1",
"@sentry/core": "10.53.1",
"@sentry/hono": "10.53.1",
Expand Down
15 changes: 11 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6629,10 +6629,17 @@
pg "^8.16.3"
postgres-array "3.0.4"

"@prisma/client@6.15.0":
version "6.15.0"
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-6.15.0.tgz#c4166aa8492878c842e63c515853d7a4125e6168"
integrity sha512-wR2LXUbOH4cL/WToatI/Y2c7uzni76oNFND7+23ypLllBmIS8e3ZHhO+nud9iXSXKFt1SoM3fTZvHawg63emZw==
"@prisma/client-runtime-utils@7.8.0":
version "7.8.0"
resolved "https://registry.yarnpkg.com/@prisma/client-runtime-utils/-/client-runtime-utils-7.8.0.tgz#202c0a2ac295e19677debd4a2d18dc35f9ccfb21"
integrity sha512-5NQZztQ0oY/ADFkmd9gPuweH5A1/CCY8YQPorLLO0Mu6a87mY5gsnDkzmFmIHs9NFaLnZojzgddFVN4RpKYrdw==

"@prisma/client@7.8.0":
version "7.8.0"
resolved "https://registry.yarnpkg.com/@prisma/client/-/client-7.8.0.tgz#dce2fb00238c733f6bedeb769547b01f69b86d42"
integrity sha512-HFp3Dawv/3sU3JtlPha90IB+48lS7zHiH4LKZPjmcE8YH5P9DOXGPvo8dqOtO7MqLDd1p2hOWMcFlRT1DMblHw==
dependencies:
"@prisma/client-runtime-utils" "7.8.0"

"@prisma/config@6.15.0":
version "6.15.0"
Expand Down
Loading