Skip to content

chore(deps-dev): bump prisma from 5.22.0 to 7.8.0#176

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/prisma-7.8.0
Open

chore(deps-dev): bump prisma from 5.22.0 to 7.8.0#176
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/prisma-7.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 14, 2026

Copy link
Copy Markdown
Contributor

Bumps prisma from 5.22.0 to 7.8.0.

Release notes

Sourced from prisma's releases.

7.8.0

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

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

Highlights

ORM

Features

Prisma Client

  • Added a queryPlanCacheMaxSize option to the PrismaClient constructor for fine-grained control over the query plan cache. Pass 0 to disable the cache entirely, or omit it to use the default cache size. A larger value can improve performance in applications that execute many unique queries, while a smaller one can reduce memory usage. (#29503)

Bug Fixes

Prisma Client

  • Fixed an equality filter panic and incorrect ::jsonb cast when filtering on PostgreSQL JSON list columns. Queries using where: { jsonListField: { equals: [...] } }prisma/prisma-engines#5804
  • Fixed case-insensitive JSON field filtering (mode: insensitive), allowing where: { jsonField: { equals: "...", mode: "insensitive" } }prisma/prisma-engines#5806
  • Fixed incorrect parameterization of enum values that have a custom database name set via @map. (#29422)
  • Fixed a database parameter limit check (P2029), which could incorrectly reject or miss over-limit queries. (#29422)
  • Fixed a regression that caused missing SQL Server VARCHARprisma/prisma-engines#5801

Schema Engine

  • Fixed a misleading error message in prisma migrate diff that referenced the --shadow-database-url CLI flag, which was removed in Prisma 7. (#29455)
  • Fixed prisma migrate dev (and shadow database migration replay in general) failing with CREATE INDEX CONCURRENTLY cannot run inside a transaction blockprisma/prisma-engines#5799
  • Fixed PostgreSQL introspection silently dropping sequence defaults when the database returns the schema-qualified form pg_catalog.nextval('sequence_name'::regclass) instead of the bare nextval(...). Columns backed by sequences now correctly appear as @default(autoincrement())prisma/prisma-engines#5802

Driver Adapters

  • @​prisma/adapter-d1: Savepoint operations (createSavepoint, rollbackToSavepoint, releaseSavepoint) now silently no-op with debug logging instead of executing SQL statements, consistent with how the D1 adapter already treats top-level transactions. (#29499)

Open roles at Prisma

Interested in joining Prisma? We're growing and have several exciting opportunities across the company for developers who are passionate about building with Prisma. Explore our open positions on our Careers page and find the role that's right for you.

Enterprise support

Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance.

With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise.

7.7.0

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

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

... (truncated)

Commits
  • 5723406 fix(cli): route bootstrap telemetry to Prisma Web Properties project (#29473)
  • 8e71aa7 fix(cli): install missing @prisma/client in prisma bootstrap (#29444)
  • ada077b fix(cli): bootstrap UX — auto-install deps, resumable flow, timeout handling ...
  • 9b0b7f5 feat(cli): add prisma bootstrap command (#29374)
  • 5fece0a chore: bump @​prisma/dev to 0.24.3 (#29396)
  • 45d7e0f feat(cli): add prisma postgres link command (#29352)
  • adbdf15 Pre-bundle Studio frontend assets and replace Hono (#29389)
  • f8258ad chore: bump effect to fix vulnerability (#29384)
  • 74839a9 feat(cli): update bundled @​prisma/studio-core to 0.27.3 (#29376)
  • 309b4bc refactor: extract 'prisma-client-js' into PRISMA_CLIENT_JS_PROVIDER constant ...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for prisma 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 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 Prisma development dependency to v7.8.0.

Review Change Stack

Bumps [prisma](https://github.com/prisma/prisma/tree/HEAD/packages/cli) from 5.22.0 to 7.8.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/7.8.0/packages/cli)

---
updated-dependencies:
- dependency-name: prisma
  dependency-version: 7.8.0
  dependency-type: direct:development
  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 May 14, 2026
@coderabbitai

coderabbitai Bot commented May 14, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The prisma devDependency is upgraded from version ^5.14.0 to ^7.8.0 in package.json. This is a major version bump spanning two major versions (5 → 7).

Changes

Prisma Dependency Update

Layer / File(s) Summary
Prisma Version Upgrade
package.json
prisma devDependency constraint updated from ^5.14.0 to ^7.8.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • georgyia

Poem

🐰 A rabbit hops with glee,
Prisma version's bumped so high,
From five to seven, watch it fly,
Dependencies dance wild and free,
Code evolves, the future's nigh! 🚀

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating the prisma devDependency from version 5.22.0 to 7.8.0, which is the primary objective of the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/prisma-7.8.0

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 45: The Prisma upgrade is incomplete: update `@prisma/client` to ^7.8.0 to
match prisma, add the required DB driver adapter dependency (e.g., add
"@prisma/adapter-pg": "^7.8.0"), modify prisma/schema.prisma generator from
provider = "prisma-client-js" to provider = "prisma-client" and add an output
path (e.g., output = "./generated/client"), add a new prisma.config.ts at the
repo root and move datasource configuration there, and update all instantiations
of PrismaClient (new PrismaClient(...)) to pass the adapter instance per v7
driver API; ensure Node.js and TypeScript versions meet the v7 requirements.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 50390b5e-5fe4-4c04-98c2-a1a9a88349b8

📥 Commits

Reviewing files that changed from the base of the PR and between 4e0e788 and af4701b.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"pino-pretty": "^13.1.3",
"prettier": "^3.8.3",
"prisma": "^5.14.0",
"prisma": "^7.8.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

Prisma 7 breaking changes and migration guide from version 5

💡 Result:

Prisma ORM 7, released in November 2025 [1][2], introduces several breaking changes primarily from the shift to a Rust-free, ESM-based Prisma Client, mandatory driver adapters, and a new configuration model. The official migration guide covers upgrades from earlier versions like v5 or v6 [3][4][5]. Since v5 to v6 and v6 to v7 each have their guides, apply them sequentially, but v7 changes dominate. Key breaking changes and migration steps from v5 (Node 14+ in v5 [6]) to v7 (requires Node 20.19+ and TypeScript 5.4+ [5]): 1. Update packages: npm install prisma@latest @prisma/client@latest (and database-specific adapter, e.g., @prisma/adapter-pg for Postgres) [3][7]. 2. Schema changes [3][4]: - Replace generator provider 'prisma-client-js' with 'prisma-client' (Rust-free client for faster queries, smaller bundles). - Make 'output' required in generator block (e.g., output = './generated/client'), no longer defaults to node_modules/. Update imports after prisma generate [3]. - Remove/deprecate url, directUrl, shadowDatabaseUrl from datasource; move to prisma.config.ts [8]. 3. Create prisma.config.ts at root for CLI config (migrations, datasource url=env('DATABASE_URL'), etc.) [8][9][7]. Explicitly load env vars with import 'dotenv/config' [1]. 4. PrismaClient instantiation requires driver adapter [3][4]: Before (v5/6): const prisma = new PrismaClient After: import { PrismaClient } from '@prisma/client'; import { PrismaPg } from '@prisma/adapter-pg'; import { PrismaD1 } from '@prisma/adapter-d1'; // etc. const adapter =... // e.g., PrismaPg.fromPgString(process.env.DATABASE_URL) const prisma = new PrismaClient({ adapter }) [3]. 5. Removed features [3][1]: - Client middleware -> use extensions. - Metrics from client extensions. - Automatic seeding in prisma migrate dev/reset; run prisma db seed separately. - CLI flags: --skip-generate, --skip-seed, --schema, --url from db execute [3]. 6. Other: SSL cert validation stricter (node-pg) [3]. MongoDB not supported yet [1]. Run npx prisma generate after changes. Create baseline migration post-upgrade [10]. For full details, follow official guide: https://www.prisma.io/docs/orm/more/upgrades/to-v7 [3][4]. Test thoroughly, especially Client creation and CLI commands. Intermediate v6 upgrade if needed (e.g., full-text search changes [10]).

Citations:


🏁 Script executed:

#!/bin/bash
# Check if there's a Prisma schema file that might need updates for v7 compatibility
fd -e prisma -x echo "Found Prisma schema: {}"

# Check for any Prisma-related configuration or generated files
fd -t d -g "prisma" -x echo "Found Prisma directory: {}"

Repository: JonasBaeumer/AgentWallet

Length of output: 145


🏁 Script executed:

# Check package.json around line 21 for `@prisma/client` and other context
sed -n '15,30p' package.json

# Also check line 45 context
sed -n '40,50p' package.json

Repository: JonasBaeumer/AgentWallet

Length of output: 868


🏁 Script executed:

# Examine the current Prisma schema
head -20 prisma/schema.prisma

# Check if prisma.config.ts exists
ls -la prisma/config.ts 2>/dev/null || echo "prisma.config.ts not found in prisma/"
ls -la prisma.config.ts 2>/dev/null || echo "prisma.config.ts not found at root"

Repository: JonasBaeumer/AgentWallet

Length of output: 414


🏁 Script executed:

# Search for PrismaClient instantiation in the codebase
rg "new PrismaClient" --type ts --type tsx --type js --type jsx -A 3

Repository: JonasBaeumer/AgentWallet

Length of output: 96


Critical: Prisma v7 migration is incomplete. Multiple changes are required beyond version bumping.

This PR upgrades the Prisma CLI to ^7.8.0 but leaves @prisma/client at ^5.14.0. However, the migration has broader scope than just matching versions. Prisma v7 requires several breaking changes:

  1. Update both package versions to ^7.8.0:

    • @prisma/client (line 21) remains at ^5.14.0 — must be updated
    • prisma (line 45) is correctly updated to ^7.8.0
  2. Add database driver adapter (missing from dependencies):

    • v7 requires an explicit driver adapter, e.g., @prisma/adapter-pg for PostgreSQL
    • Add to dependencies: "@prisma/adapter-pg": "^7.8.0"
  3. Update schema generator (currently in prisma/schema.prisma):

    • Change provider = "prisma-client-js" to provider = "prisma-client"
    • Add required output field (e.g., output = "./generated/client")
  4. Create prisma.config.ts at repository root:

    • v7 requires a prisma.config.ts file for CLI configuration
    • Move datasource configuration from schema to this new config file
  5. Update PrismaClient instantiation:

    • All code creating new PrismaClient() must pass a driver adapter instance

These changes are mandatory for v7. Without them, the application will fail at runtime. Node.js 20.19+ and TypeScript 5.4+ are also required.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 45, The Prisma upgrade is incomplete: update
`@prisma/client` to ^7.8.0 to match prisma, add the required DB driver adapter
dependency (e.g., add "@prisma/adapter-pg": "^7.8.0"), modify
prisma/schema.prisma generator from provider = "prisma-client-js" to provider =
"prisma-client" and add an output path (e.g., output = "./generated/client"),
add a new prisma.config.ts at the repo root and move datasource configuration
there, and update all instantiations of PrismaClient (new PrismaClient(...)) to
pass the adapter instance per v7 driver API; ensure Node.js and TypeScript
versions meet the v7 requirements.

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.

0 participants