Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 26, 2026

Bumps @prisma/client from 6.19.2 to 7.3.0.

Release notes

Sourced from @​prisma/client's releases.

7.3.0

Today, we are excited to share the 7.3.0 stable release 🎉

🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!

ORM

  • #28976: Fast and Small Query Compilers We've been working on various performance-related bugs since the initial ORM 7.0 release. With 7.3.0, we're introducing a new compilerBuild option for the client generator block in schema.prisma with two options: fast and small. This allows you to swap the underlying Query Compiler engine based on your selection, one built for speed (with an increase in size), and one built for size (with the trade off for speed). By default, the fast mode is used, but this can be set by the user:
generator client {
  provider = "prisma-client"
  output   = "../src/generated/prisma"
  compilerBuild = "fast" // "fast" | "small"
}

We still have more in progress for performance, but this new compilerBuild option is our first step toward addressing your concerns!

  • #29005: Bypass the Query Compiler for Raw Queries Raw queries ($executeRaw, $queryRaw) can now skip going through the query compiler and query interpreter infrastructure. They can be sent directly to the driver adapter, removing additional overhead.

  • #28965: Update MSSQL to v12.2.0 This community PR updates the @prisma/adapter-mssql to use MSSQL v12.2.0. Thanks Jay-Lokhande!

  • #29001: Pin better-sqlite3 version to avoid SQLite bug An underlying bug in SQLite 3.51.0 has affected the better-sqlite3 adapter. We’ve bumped the version that powers @prisma/better-sqlite3 and have pinned the version to prevent any unexpected issues. If you are using @prisma/better-sqlite3 , please upgrade to v7.3.0.

  • #29002: Revert @map enums to v6.19.0 behavior In the initial release of v7.0, we made a change with Mapped Enums where the generated enum would get its value from the value passed to the @map function. This was a breaking change from v6 that caused issues for many users. We have reverted this change for the time being, as many different diverging approaches have emerged from the community discussion.

  • prisma-engines#5745: Cast BigInt to text in JSON aggregation When using relationJoins with BigInt fields in Prisma 7, JavaScript's JSON.parse loses precision for integers larger than Number.MAX_SAFE_INTEGER (2^53 - 1). This happens because PostgreSQL's JSONB_BUILD_OBJECT returns BigInt values as JSON numbers, which JavaScript cannot represent precisely.

    // Original BigInt ID: 312590077454712834
    // After JSON.parse: 312590077454712830 (corrupted!)
    

    This PR cast BigInt columns to ::text inside JSONB_BUILD_OBJECT calls, similar to how MONEY is already cast to ::numeric.

    -- Before
    JSONB_BUILD_OBJECT('id', "id")
    

    -- After JSONB_BUILD_OBJECT('id', "id"::text)

... (truncated)

Commits
  • b6fd1bd chore(deps): update engines to 7.3.0-16.9d6ad21cbbceab97458517b147a6a09ff43aa...
  • 223b6ea chore: make the interpreter reusable (#29016)
  • 9d44ecc feat: compile raw queries in the client engine (#29005)
  • 272b176 fix: revert "feat(client-generator-ts): [breaking] add support for ma… (#29002)
  • c03d384 fix: pin better sqlite for exists bug (#29001)
  • 8f69196 chore(deps): update engines to 7.3.0-8.aee8f579c2872ad0cedd6fd7e9070704fdb361...
  • 768cd82 fix: fix QC benchmark (#28987)
  • fd479fd feat(qc): fast and small build modes (#28976)
  • a60094a perf: add query compilation and performance benchmarks (#28954)
  • bebccbd feat(cli): customize prisma init based on the JS runtime (Bun vs other) (#2...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated project dependencies to latest compatible versions.

✏️ Tip: You can customize this high-level summary in your review settings.

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 6.19.2 to 7.3.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/7.3.0/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@coderabbitai
Copy link

coderabbitai bot commented Jan 26, 2026

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

⚠️ Parsing warnings (1)
Validation error: Unrecognized key(s) in object: 'tools'
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Walkthrough

Updates the @prisma/client dependency version from ~6.19.0 to ~7.3.0 in the prisma-utils package devDependencies, enabling compatibility with a newer version of Prisma.

Changes

Cohort / File(s) Summary
Prisma Dependency Update
packages/app/prisma-utils/package.json
Version bump: @prisma/client from ~6.19.0 to ~7.3.0 in devDependencies

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • kibertoad
  • CarlosGamero
  • dariacm
  • github-actions
🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Description check ❓ Inconclusive The description includes comprehensive release notes and change details but is missing required checklist items: no label selection confirmation and no explicit statements about documentation and test updates. Complete the checklist by confirming which label applies (major/minor/patch/skip-release) and whether documentation and tests have been updated or determined unnecessary.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: bumping @prisma/client from version 6.19.2 to 7.3.0.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
packages/app/prisma-utils/package.json (1)

42-45: Update peerDependencies to include Prisma 7.x support.

The peerDependencies still specify <7.0.0 for both @prisma/client and prisma, but devDependencies now uses @prisma/client 7.3.0. This inconsistency will cause peer dependency warnings for consumers and signals that Prisma 7.x is unsupported when you're actually developing against it.

🔧 Proposed fix
     "peerDependencies": {
-        "@prisma/client": ">=5.0.0 <7.0.0",
-        "prisma": ">=5.0.0 <7.0.0"
+        "@prisma/client": ">=5.0.0 <8.0.0",
+        "prisma": ">=5.0.0 <8.0.0"
     },
🤖 Fix all issues with AI agents
In `@packages/app/prisma-utils/package.json`:
- Around line 52-55: The package.json has mismatched Prisma versions:
"@prisma/client" is "~7.3.0" while "prisma" is "~6.19.0"; update the "prisma"
dependency to the exact same version specifier as "@prisma/client" (e.g., change
the "prisma" entry to "~7.3.0") so both "@prisma/client" and "prisma" match
exactly and then run install/generate to ensure schema and client are
regenerated.

Comment on lines +52 to 55
"@prisma/client": "~7.3.0",
"@vitest/coverage-v8": "^4.0.15",
"cross-env": "^10.0.0",
"prisma": "~6.19.0",
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

Prisma @prisma/client prisma CLI version alignment requirements

💡 Result:

  • Rule: Keep prisma (the CLI) and @prisma/client at the exact same version (same major/minor/patch). Prisma’s upgrade docs explicitly say to “upgrade both … packages to the same version,” and the version-specific upgrade guides show installing them together (e.g., prisma@5 with @prisma/client@5). [1] [2]
  • Why: The prisma package contains the CLI and the generators; prisma generate, migrate, db push, etc. can emit warnings and may behave unexpectedly if the CLI (prisma) and runtime client (@prisma/client) don’t match. A typical warning is: “Versions of prisma@X and @prisma/client@y don't match … Please make sure they have the same version.” [1] [3]
  • What to do in practice: Pin them to the same version in package.json (often easiest is installing both in one command), then re-run prisma generate. [1] [2]

Sources: Prisma upgrade guide (same-version requirement) [1], Prisma “Upgrade to Prisma ORM 5” install commands [2], example mismatch warning from Prisma repo issue [3].


Update prisma CLI to match @prisma/client version.

@prisma/client is being updated to ~7.3.0 while the prisma CLI remains at ~6.19.0. Prisma requires these packages to be at the exact same version. Mismatches can cause schema generation warnings, failures in migrations and database operations, and unexpected runtime behavior.

🔧 Proposed fix
         "@prisma/client": "~7.3.0",
         "@vitest/coverage-v8": "^4.0.15",
         "cross-env": "^10.0.0",
-        "prisma": "~6.19.0",
+        "prisma": "~7.3.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"@prisma/client": "~7.3.0",
"@vitest/coverage-v8": "^4.0.15",
"cross-env": "^10.0.0",
"prisma": "~6.19.0",
"@prisma/client": "~7.3.0",
"@vitest/coverage-v8": "^4.0.15",
"cross-env": "^10.0.0",
"prisma": "~7.3.0",
🤖 Prompt for AI Agents
In `@packages/app/prisma-utils/package.json` around lines 52 - 55, The
package.json has mismatched Prisma versions: "@prisma/client" is "~7.3.0" while
"prisma" is "~6.19.0"; update the "prisma" dependency to the exact same version
specifier as "@prisma/client" (e.g., change the "prisma" entry to "~7.3.0") so
both "@prisma/client" and "prisma" match exactly and then run install/generate
to ensure schema and client are regenerated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants