[Snyk] Upgrade @prisma/client from 6.4.1 to 6.5.0 #130
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.
Snyk has created this PR to upgrade @prisma/client from 6.4.1 to 6.5.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 146 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-NEXT-9634163
Release notes
Package name: @prisma/client
-
6.5.0 - 2025-03-11
import path from 'node:path'
- Using the
- Using the
- Allow for binaries to be loaded from local network. Thank you @ RaHehl!
- Enhance type safety of the AtLeast utility type. Thank you @ de-novo!
- Resolve a race condition in the NextJS monorepo plugin. Thank you @ toniopelo!
- allow for filtering out spans with PrismaInstrumentation. Thank you @ overbit!
- Developer Support Engineer (Americas)
- Senior Engineering Manager
-
6.5.0-integration-push-zsmplqopwokk.1 - 2025-02-19
-
6.5.0-integration-push-ptqnnytntzol.1 - 2025-02-19
-
6.5.0-integration-fix-use-webcrypto.4 - 2025-03-04
-
6.5.0-integration-fix-use-webcrypto.3 - 2025-03-04
-
6.5.0-integration-fix-use-webcrypto.2 - 2025-03-04
-
6.5.0-integration-fix-use-webcrypto.1 - 2025-03-03
-
6.5.0-integration-fix-use-web-crypto.1 - 2025-03-04
-
6.5.0-integration-fix-improve-global-omit-api-performance-2.2 - 2025-03-03
-
6.5.0-integration-fix-improve-global-omit-api-performance-2.1 - 2025-02-28
-
6.5.0-integration-fix-improve-global-omit-api-performance.1 - 2025-02-26
-
6.5.0-integration-fix-export-index-js.2 - 2025-03-06
-
6.5.0-integration-fix-export-index-js.1 - 2025-03-06
-
6.5.0-integration-fix-e2e-prisma-config-2.9 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.8 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.7 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.6 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.5 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.4 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.3 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.2 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config-2.1 - 2025-02-21
-
6.5.0-integration-fix-e2e-prisma-config.2 - 2025-02-20
-
6.5.0-integration-fix-e2e-prisma-config.1 - 2025-02-20
-
6.5.0-integration-fix-dynamic-libsql-import.1 - 2025-03-06
-
6.5.0-integration-fix-client-read-replicas.4 - 2025-03-06
-
6.5.0-integration-fix-client-read-replicas.3 - 2025-02-26
-
6.5.0-integration-fix-client-read-replicas.2 - 2025-02-26
-
6.5.0-integration-fix-client-read-replicas.1 - 2025-02-26
-
6.5.0-integration-feat-prisma-config-without-new-package.9 - 2025-03-05
-
6.5.0-integration-feat-prisma-config-without-new-package.8 - 2025-03-05
-
6.5.0-integration-feat-prisma-config-without-new-package.7 - 2025-03-05
-
6.5.0-integration-feat-prisma-config-without-new-package.6 - 2025-03-05
-
6.5.0-integration-feat-prisma-config-without-new-package.5 - 2025-03-04
-
6.5.0-integration-feat-prisma-config-without-new-package.4 - 2025-03-04
-
6.5.0-integration-feat-prisma-config-without-new-package.3 - 2025-03-04
-
6.5.0-integration-feat-prisma-config-without-new-package.2 - 2025-03-03
-
6.5.0-integration-feat-prisma-config-without-new-package.1 - 2025-03-03
-
6.5.0-integration-feat-get-rid-of-patches.1 - 2025-03-10
-
6.5.0-integration-engines-6-5-0-72-refactor-remove-set-params-and-connection-str-1b408865593607dfa57207e636054d68fbe0ddeb.1 - 2025-03-10
-
6.5.0-integration-engines-6-5-0-61-push-mwuxysxvlnqz-cf0a5062f0eda56dfaac329aea4833bc985a7155.1 - 2025-03-07
-
6.5.0-integration-engines-6-5-0-56-integration-1cf139073a8b56464eb2fc59c9f4cb13c1d2f3bd-26837d3c9977b21652932dc136f0cde531e2f60a.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-56-integration-1cf139073a8b56464eb2fc59c9f4cb13c1d2f3bd-26837d3c9977b21652932dc136f0cde531e2f60a.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-55-integration-1cf139073a8b56464eb2fc59c9f4cb13c1d2f3bd-97353f9a354d13246bd29b1ec7b2eb74ca8b945f.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-55-integration-1cf139073a8b56464eb2fc59c9f4cb13c1d2f3bd-97353f9a354d13246bd29b1ec7b2eb74ca8b945f.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-52-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-a056bc90bb1122f3a6e634b8723b77b939355bde.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-52-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-a056bc90bb1122f3a6e634b8723b77b939355bde.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-51-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-23f790eed4bf48b12422d90d8d5e65361a83ed70.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-51-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-23f790eed4bf48b12422d90d8d5e65361a83ed70.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-50-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-43c59fc1e857e77004ca09886b205e9f1610cf0f.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-50-integration-6b7f8fb71db28cc30221fedcb4209c43e6002520-43c59fc1e857e77004ca09886b205e9f1610cf0f.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-49-integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-49-integration-35a9bc0d1a0bd3ab64b4fbdc2c9903562d2a9351-4ee8e4ae7930ef33a3ba605c2bab9bffd7a91d97.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-48-integration-b1e687fe91986dca7292dd7ba22c3e801504b9cd-f5eec190c4d0651324eeae864ff9918a031a9226.2 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-48-integration-b1e687fe91986dca7292dd7ba22c3e801504b9cd-f5eec190c4d0651324eeae864ff9918a031a9226.1 - 2025-03-06
-
6.5.0-integration-engines-6-5-0-46-integration-84a848328b0a8928e7495826cfe347b3bb40361c-2e8776a81f94f60e8cd63a61fa6f1d0c2aa4b5d2.2 - 2025-03-05
-
6.5.0-integration-engines-6-5-0-46-integration-84a848328b0a8928e7495826cfe347b3bb40361c-2e8776a81f94f60e8cd63a61fa6f1d0c2aa4b5d2.1 - 2025-03-05
-
6.5.0-integration-engines-6-5-0-45-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e67fd46e9c6cb72c03115ed9625b22f79a80521b.2 - 2025-03-05
-
6.5.0-integration-engines-6-5-0-45-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e67fd46e9c6cb72c03115ed9625b22f79a80521b.1 - 2025-03-05
-
6.5.0-integration-engines-6-5-0-44-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e9ebf7d1309110571e3c2df4a1fed37f5a614cef.2 - 2025-03-05
-
6.5.0-integration-engines-6-5-0-44-integration-a9055b89e58b4b5bfb59600785423b1db3d0e75d-e9ebf7d1309110571e3c2df4a1fed37f5a614cef.1 - 2025-03-05
-
6.5.0-dev.85 - 2025-03-11
-
6.5.0-dev.84 - 2025-03-10
-
6.5.0-dev.83 - 2025-03-10
-
6.5.0-dev.82 - 2025-03-10
-
6.5.0-dev.81 - 2025-03-10
-
6.5.0-dev.80 - 2025-03-10
-
6.5.0-dev.79 - 2025-03-08
-
6.5.0-dev.78 - 2025-03-07
-
6.5.0-dev.77 - 2025-03-07
-
6.5.0-dev.76 - 2025-03-07
-
6.5.0-dev.75 - 2025-03-07
-
6.5.0-dev.74 - 2025-03-07
-
6.5.0-dev.73 - 2025-03-07
-
6.5.0-dev.72 - 2025-03-07
-
6.5.0-dev.71 - 2025-03-06
-
6.5.0-dev.70 - 2025-03-06
-
6.5.0-dev.69 - 2025-03-06
-
6.5.0-dev.68 - 2025-03-06
-
6.5.0-dev.67 - 2025-03-06
-
6.5.0-dev.66 - 2025-03-05
-
6.5.0-dev.65 - 2025-03-05
-
6.5.0-dev.64 - 2025-03-05
-
6.5.0-dev.63 - 2025-03-05
-
6.5.0-dev.62 - 2025-03-05
-
6.5.0-dev.61 - 2025-03-05
-
6.5.0-dev.60 - 2025-03-05
-
6.5.0-dev.59 - 2025-03-05
-
6.5.0-dev.58 - 2025-03-05
-
6.5.0-dev.57 - 2025-03-05
-
6.5.0-dev.56 - 2025-03-05
-
6.5.0-dev.55 - 2025-03-05
-
6.5.0-dev.54 - 2025-03-05
-
6.5.0-dev.53 - 2025-03-04
-
6.5.0-dev.52 - 2025-03-04
-
6.5.0-dev.51 - 2025-03-04
-
6.5.0-dev.50 - 2025-03-03
-
6.5.0-dev.49 - 2025-03-03
-
6.5.0-dev.48 - 2025-03-03
-
6.5.0-dev.47 - 2025-03-03
-
6.5.0-dev.46 - 2025-03-03
-
6.5.0-dev.45 - 2025-03-03
-
6.5.0-dev.44 - 2025-03-03
-
6.5.0-dev.43 - 2025-03-03
-
6.5.0-dev.42 - 2025-03-01
-
6.5.0-dev.41 - 2025-02-28
-
6.5.0-dev.40 - 2025-02-28
-
6.5.0-dev.39 - 2025-02-28
-
6.5.0-dev.38 - 2025-02-28
-
6.5.0-dev.37 - 2025-02-28
-
6.5.0-dev.36 - 2025-02-28
-
6.5.0-dev.35 - 2025-02-27
-
6.5.0-dev.34 - 2025-02-27
-
6.5.0-dev.33 - 2025-02-27
-
6.5.0-dev.32 - 2025-02-26
-
6.5.0-dev.31 - 2025-02-26
-
6.5.0-dev.30 - 2025-02-26
-
6.5.0-dev.29 - 2025-02-26
-
6.5.0-dev.28 - 2025-02-25
-
6.5.0-dev.27 - 2025-02-25
-
6.5.0-dev.26 - 2025-02-25
-
6.5.0-dev.25 - 2025-02-25
-
6.5.0-dev.24 - 2025-02-25
-
6.5.0-dev.23 - 2025-02-25
-
6.5.0-dev.22 - 2025-02-24
-
6.5.0-dev.21 - 2025-02-24
-
6.5.0-dev.20 - 2025-02-24
-
6.5.0-dev.19 - 2025-02-24
-
6.5.0-dev.18 - 2025-02-24
-
6.5.0-dev.17 - 2025-02-24
-
6.5.0-dev.16 - 2025-02-24
-
6.5.0-dev.15 - 2025-02-24
-
6.5.0-dev.14 - 2025-02-24
-
6.5.0-dev.13 - 2025-02-22
-
6.5.0-dev.12 - 2025-02-21
-
6.5.0-dev.11 - 2025-02-21
-
6.5.0-dev.10 - 2025-02-21
-
6.5.0-dev.9 - 2025-02-21
-
6.5.0-dev.8 - 2025-02-21
-
6.5.0-dev.7 - 2025-02-21
-
6.5.0-dev.6 - 2025-02-21
-
6.5.0-dev.5 - 2025-02-21
-
6.5.0-dev.4 - 2025-02-21
-
6.5.0-dev.3 - 2025-02-20
-
6.5.0-dev.2 - 2025-02-20
-
6.5.0-dev.1 - 2025-02-19
-
6.4.1 - 2025-02-20
- #26364
from @prisma/client GitHub release notesToday, we are excited to share the
6.5.0stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release. 🌟
Highlights
Databases can only be reset manually and explicitly
In previous versions, if Prisma ORM determined that a
migratecommand could not be applied cleanly to the underlying database, you would get a message like this one:While "no" was the default, we've determined that having this prompt in the first place was a mistake. In this version we're removing the prompt entirely and instead exiting with an appropriate error message.
To get the previous behavior, you will need to run
prisma migrate resetdirectly.Support for
prisma.config.tsin Prisma StudioWe've expanded support for our
prisma.config.tsfile to include Prisma Studio!To use the new config file, including the ability to connect to driver adapter enabled databases with Prisma Studio, add a
studioblock to yourprisma.config.tsfile:import type { PrismaConfig } from 'prisma'
import { PrismaLibSQL } from '@ prisma/adapter-libsql'
import { createClient } from '@ libsql/client'
export default {
earlyAccess: true,
schema: {
kind: 'single',
filePath: './prisma/schema.prisma',
},
studio: {
adapter: async (env: unknown) => {
const connectionString = `file:./dev.db'
const libsql = createClient({
url: connectionString,
})
return new PrismaLibSQL(libsql)
},
},
} satisfies PrismaConfig
Notice how this looks a little different from last release! Instead of an
@prisma/configpackage there’s now two different options:defineConfighelper exported byprisma/config.PrismaConfigutility type exported byPrisma.All the relevant info for the
prisma.config.tsfile, including these new ways of defining your config, can be found in our docs.Allow for chaining
$onand$extends.In previous versions of Prisma ORM, the return type of the
$onclient method wasvoid. This did not allow for chaining$on()and$extends()calls, as$onis not available on extended clients.In this version we've resolved this issue and
$onwill now return the modified Prisma Client.Community fixes
We have a number of community-submitted fixes that improve Prisma ORM:
Prisma is hiring
Join us at Prisma and work on our TypeScript ORM (now faster than ever) and our Cloud products like Prisma Postgres (now in GA!)
We currently have two open roles in our Engineering team:
If these don’t fit, you can still check out our jobs page and send a general application.
Enterprise support
Prisma offers an enterprise support plan for Prisma ORM. Get direct help from our team and a joint slack channel! With Prisma ORM 7 on the horizon this is a great time to upgrade your support today.
Credits
Thank you to @ overbit, @ RaHehl, @ toniopelo, and @ de-novo for your contributions to this release!
Today, we are issuing the 6.4.1 patch release. It fixes a few issues with the NPS survey and makes it respect the
--no-hintsCLI flag.Fixes
Prisma CLI
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: