[Snyk] Upgrade @prisma/client from 5.15.1 to 5.16.1 #851
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.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade @prisma/client from 5.15.1 to 5.16.1.
ℹ️ 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 83 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: @prisma/client
-
5.16.1 - 2024-06-27
- dotenv loading issue with PrismaClient
- Prisma Seed Script Fails After Upgrading to v5.16.0 (DATABASE_URL Error)
-
5.16.1-dev.1 - 2024-06-27
-
5.16.0 - 2024-06-25
const prisma = new PrismaClient({
- When using relative paths in Prisma Schema files with the
- We realized that during migration many people would have
- Wrong Parameterized Types Sent for SQL Server Queries
- [Driver Adapters]: missing provider compatibility validation
- Disable "Start using Prisma Client" hint logs on
- Deploying prisma to CloudFlare pages using Nuxt/Nitro and node-postgres (pg) is using the wrong(vercel) wasm path
- @prisma/adapter-d1 is failing with an import error when called inside vitest tests
- Make prisma-fmt logs to work with language server
- Spans and positions get shifted out of sync when schema includes multibyte characters
- VSCode extension panics when opening an empty prisma schema
- [DA] Planetscale engine tests: one2m_mix_required_writable_readable
- [DA] Planetscale engine tests: apply_number_ops
-
5.16.0-integration-vitest-workaround.2 - 2024-06-25
-
5.16.0-integration-vitest-workaround.1 - 2024-06-17
-
5.16.0-integration-sqlite-fix.1 - 2024-06-11
-
5.16.0-integration-optimize-login-v2.5 - 2024-06-19
-
5.16.0-integration-optimize-login-v2.4 - 2024-06-18
-
5.16.0-integration-optimize-login-v2.3 - 2024-06-18
-
5.16.0-integration-optimize-login-v2.2 - 2024-06-18
-
5.16.0-integration-optimize-login-v2.1 - 2024-06-18
-
5.16.0-integration-joel-repro-gh-11789.2 - 2024-06-18
-
5.16.0-integration-joel-repro-gh-11789.1 - 2024-06-18
-
5.16.0-integration-janpio-studio-prisma-config.3 - 2024-06-14
-
5.16.0-integration-janpio-studio-prisma-config.2 - 2024-06-14
-
5.16.0-integration-janpio-studio-prisma-config.1 - 2024-06-14
-
5.16.0-integration-fix-empty-schema.1 - 2024-06-10
-
5.16.0-integration-engines-5-16-0-15-fix-fts-relation-input-name-9388ddb70ab6bc6cba66ec9b351906f857af5d3f.1 - 2024-06-17
-
5.16.0-integration-engines-5-16-0-1-fix-sqlite-concurrent-writes-74a48e9f33b0a8b403045af35430ce444541be88.1 - 2024-06-05
-
5.16.0-integration-crypto-client-vercel.2 - 2024-06-05
-
5.16.0-integration-crypto-client-vercel.1 - 2024-06-05
-
5.16.0-dev.64 - 2024-06-25
-
5.16.0-dev.63 - 2024-06-25
-
5.16.0-dev.62 - 2024-06-24
-
5.16.0-dev.61 - 2024-06-24
-
5.16.0-dev.60 - 2024-06-24
-
5.16.0-dev.59 - 2024-06-21
-
5.16.0-dev.58 - 2024-06-21
-
5.16.0-dev.57 - 2024-06-20
-
5.16.0-dev.56 - 2024-06-20
-
5.16.0-dev.55 - 2024-06-20
-
5.16.0-dev.54 - 2024-06-20
-
5.16.0-dev.53 - 2024-06-19
-
5.16.0-dev.51 - 2024-06-19
-
5.16.0-dev.50 - 2024-06-19
-
5.16.0-dev.49 - 2024-06-18
-
5.16.0-dev.48 - 2024-06-18
-
5.16.0-dev.47 - 2024-06-18
-
5.16.0-dev.46 - 2024-06-18
-
5.16.0-dev.45 - 2024-06-17
-
5.16.0-dev.44 - 2024-06-17
-
5.16.0-dev.43 - 2024-06-17
-
5.16.0-dev.42 - 2024-06-17
-
5.16.0-dev.41 - 2024-06-17
-
5.16.0-dev.40 - 2024-06-14
-
5.16.0-dev.39 - 2024-06-14
-
5.16.0-dev.38 - 2024-06-14
-
5.16.0-dev.37 - 2024-06-14
-
5.16.0-dev.36 - 2024-06-13
-
5.16.0-dev.35 - 2024-06-12
-
5.16.0-dev.34 - 2024-06-12
-
5.16.0-dev.33 - 2024-06-12
-
5.16.0-dev.32 - 2024-06-12
-
5.16.0-dev.31 - 2024-06-12
-
5.16.0-dev.30 - 2024-06-12
-
5.16.0-dev.29 - 2024-06-12
-
5.16.0-dev.28 - 2024-06-12
-
5.16.0-dev.27 - 2024-06-11
-
5.16.0-dev.26 - 2024-06-11
-
5.16.0-dev.25 - 2024-06-10
-
5.16.0-dev.24 - 2024-06-10
-
5.16.0-dev.23 - 2024-06-10
-
5.16.0-dev.22 - 2024-06-10
-
5.16.0-dev.21 - 2024-06-10
-
5.16.0-dev.20 - 2024-06-10
-
5.16.0-dev.19 - 2024-06-10
-
5.16.0-dev.18 - 2024-06-10
-
5.16.0-dev.17 - 2024-06-10
-
5.16.0-dev.16 - 2024-06-07
-
5.16.0-dev.15 - 2024-06-07
-
5.16.0-dev.14 - 2024-06-07
-
5.16.0-dev.13 - 2024-06-06
-
5.16.0-dev.12 - 2024-06-06
-
5.16.0-dev.11 - 2024-06-06
-
5.16.0-dev.9 - 2024-06-05
-
5.16.0-dev.8 - 2024-06-05
-
5.16.0-dev.7 - 2024-06-05
-
5.16.0-dev.6 - 2024-06-05
-
5.16.0-dev.5 - 2024-06-05
-
5.16.0-dev.4 - 2024-06-04
-
5.16.0-dev.3 - 2024-06-04
-
5.16.0-dev.2 - 2024-06-04
-
5.16.0-dev.1 - 2024-06-04
-
5.15.1 - 2024-06-18
- internal error: entered unreachable code
- Got error 'internal error: entered unreachable code' when trying to perform an upsert.
- Prisma Client errors on SQLite with internal error: entered unreachable code when running 2 concurrent upsert
- SQLite timeouts after upgrade from prisma 2 to prisma 4
- Improve the error when SQLite database file is locked
- sqlite timeout error multiple queries run one after another
- SQLite times out during query execution when using
- internal error: entered unreachable code
from @prisma/client GitHub release notesToday, we are issuing the 5.16.1 patch release to fix an issue in Prisma client.
Fix in Prisma Client
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Omit model fields globally
With Prisma ORM 5.16.0 we’re more than happy to announce that we’re expanding the
omitApiPreview feature to also include the ability to omit fields globally.When the Preview feature is enabled, you’re able to define fields to omit when instantiating Prisma Client.
You’re also able to omit fields from multiple models and multiple fields from the same model
With both local and global
omit, you now have the flexibility to completely remove sensitive fields while also tailoring individual queries. If you need the ability to generally omit a field except in a specific query, you can also overwrite a global omit locallyomit: {
user: {
// password is omitted globally.
password: true,
},
},
});
const userWithPassword = await prisma.user.findUnique({
omit: { password: false }, // omit now false, so password is returned
where: { id: 1 },
});
Changes to
prismaSchemaFolderIn
5.15.0we released theprismaSchemaFolderPreview feature, allowing you to create multiple Prisma Schema files in aprisma/schemadirectory. We’ve gotten a lot of great feedback and are really excited with how the community has been using the feature.To continue improving our multi-file schema support, we have a few breaking changes to the
prismaSchemaFolderfeature:prismaSchemaFolderfeature, a path is now relative to the file it is defined in rather than relative to theprisma/schemafolder. This means that if you have a generator block in/project/prisma/schema/config/generator.prismawith anoutputof./foothe output will be resolved to/project/prisma/schema/config/foorather than/project/prisma/foo. The path to a SQLite file will be resolved in the same manner.prisma/schemaas well asprisma/schema.prisma. Our initial implementation looked for a.prismafile first and would ignore theschemafolder if it exists. This is now an error.Changes to
fullTextSearchIn order to improve our full-text search implementation we have made a breaking change to the
fullTextSearchPreview feature.Previously, when the feature was enabled we updated the
<Model>OrderByWithRelationInputTypeScript type with the<Model>OrderByWithRelationAndSearchRelevanceInputtype. However, we have noted that there are no cases where relational ordering is needed but search relevance is not. Thus, we have decided to remove the<Model>OrderByWithRelationAndSearchRelevanceInputnaming and only use the<Model>OrderByWithRelationInputnaming.Fixes and improvements
Prisma
Prisma has no exported member named OrderByWithRelationInput. Did you mean OrderByWithAggregationInput?prisma generate@ prisma/adapter-pgmodifies node-postgres global type parsersdb pullfails with[libs\user-facing-errors\src\quaint.rs:136:18] internal error: entered unreachable codeon invalid credentialsLanguage tools (e.g. VS Code)
Prisma Engines
Credits
Huge thanks to @ key-moon, @ pranayat, @ yubrot, @ skyzh, @ brian-dlee, @ mydea, @ nickcarnival, @ eruditmorina, @ nzakas, @ gutyerrez, @ avallete, @ ceddy4395, @ Kayoshi-dev, @ yehonatanz for helping!
Today, we are issuing the
5.15.1patch release.Fixes in Prisma Client
ConnectionError(Timed out during query execution.)during seedingConnectionError(Timed out during query execution.)error when usingPromise.allfor SQLitePromise.all()/ concurrentImportant
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: