Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps @prisma/client from 6.17.0 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
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for @​prisma/client since your current version.


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)

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 6.17.0 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:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 25, 2026
@darwingtx darwingtx requested a review from Copilot January 26, 2026 02:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR upgrades the @prisma/client dependency from version 6.17.0 to 7.3.0, representing a major version upgrade. Dependabot has automatically generated this PR to keep dependencies up to date.

Changes:

  • Upgrade @prisma/client from 6.17.0 to 7.3.0 (major version upgrade)
  • Update related lockfile entries for @prisma/client and @prisma/extension-accelerate

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
package.json Updates @prisma/client dependency specifier from ^6.17.0 to ^7.3.0
pnpm-lock.yaml Updates resolved versions, integrity hashes, and engine requirements for @prisma/client 7.3.0, including new Node.js and TypeScript version requirements
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"@nestjs/platform-express": "^11.0.1",
"@nestjs/schedule": "^6.0.1",
"@prisma/client": "^6.17.0",
"@prisma/client": "^7.3.0",
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The Prisma Client is being upgraded to version 7.3.0, but the Prisma CLI (devDependency) remains at version 6.17.0. This version mismatch can cause serious compatibility issues because the Prisma CLI generates the Prisma Client code during the build process.

Prisma Client 7.x requires Prisma CLI 7.x for proper schema generation and database migrations. The versions should be kept in sync to avoid:

  • Schema generation failures
  • Type definition mismatches
  • Migration incompatibilities
  • Runtime errors

The Prisma CLI dependency in package.json should also be upgraded to ^7.3.0 to match the client version.

Copilot uses AI. Check for mistakes.
Copy link
Owner

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

pnpm-lock.yaml Outdated
Comment on lines 30 to 31
specifier: ^7.3.0
version: 7.3.0(prisma@6.17.0(typescript@5.9.3))(typescript@5.9.3)
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

Prisma Client 7.3.0 has significantly stricter Node.js version requirements than the previous version. The package now requires Node.js ^20.19 || ^22.12 || >=24.0 (line 788), which means:

  • Node.js 18.x is no longer supported
  • Only specific patch versions of Node.js 20.x and 22.x are supported (20.19+, 22.12+)
  • Node.js 24.x and above are supported

This is a breaking change from Prisma Client 6.17.0, which supported Node.js >=18.18. Before merging this PR, you should:

  1. Verify that your development, CI/CD, and production environments use compatible Node.js versions
  2. Update any Docker images, CI configurations, or deployment scripts to use Node.js 20.19+, 22.12+, or 24+
  3. Consider adding an "engines" field to package.json to enforce these Node.js version requirements

Without compatible Node.js versions, the application will fail to run with this upgraded Prisma Client.

Copilot uses AI. Check for mistakes.
peerDependencies:
prisma: '*'
typescript: '>=5.1.0'
typescript: '>=5.4.0'
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The TypeScript peer dependency requirement for Prisma Client has been increased from >=5.1.0 (in version 6.17.0) to >=5.4.0 (in version 7.3.0). While the project currently uses TypeScript 5.9.3, which satisfies this requirement, this change means that TypeScript versions below 5.4.0 are no longer supported.

This is a minor breaking change that shouldn't affect this project but is worth noting for documentation purposes.

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI commented Jan 26, 2026

@darwingtx I've opened a new pull request, #12, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits January 26, 2026 03:37
Co-authored-by: darwingtx <79672629+darwingtx@users.noreply.github.com>
…vice

Co-authored-by: darwingtx <79672629+darwingtx@users.noreply.github.com>
Sync Prisma CLI to 7.3.0 and migrate to Prisma 7 adapter pattern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants