[Snyk] Upgrade @prisma/client from 4.15.0 to 4.16.1#2
Open
ValeryVerkhoturov wants to merge 1 commit intomainfrom
Open
[Snyk] Upgrade @prisma/client from 4.15.0 to 4.16.1#2ValeryVerkhoturov wants to merge 1 commit intomainfrom
ValeryVerkhoturov wants to merge 1 commit intomainfrom
Conversation
Snyk has created this PR to upgrade @prisma/client from 4.15.0 to 4.16.1. See this package in npm: https://www.npmjs.com/package/@prisma/client See this project in Snyk: https://app.snyk.io/org/valeryverkhoturov/project/e3d072bc-5113-4816-bf08-e0d53d755743?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 4.15.0 to 4.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.
Release notes
Package name: @prisma/client
-
4.16.1 - 2023-06-22
- Field references are not available on extended clients
- 4.16.x cannot wrap
- Prisma Schema Type inside a Type not generating a right Payload
- Query in findMany in prisma extends returns a wrong type
- 4.16.0 Count query is not returning the right type when in a transaction
- FindMany returns wrong type after extending prisma client
- Can't specify $queryRawUnsafe return type after extending prisma client
-
4.16.1-dev.9 - 2023-06-22
-
4.16.1-dev.8 - 2023-06-22
-
4.16.1-dev.7 - 2023-06-21
-
4.16.1-dev.6 - 2023-06-21
-
4.16.1-dev.5 - 2023-06-21
-
4.16.1-dev.4 - 2023-06-21
-
4.16.1-dev.3 - 2023-06-21
-
4.16.1-dev.2 - 2023-06-21
-
4.16.1-dev.1 - 2023-06-21
-
4.16.0 - 2023-06-20
- Prisma Client extensions
- Ordering by nulls first and last
- Count by filtered relation
- Result extensions components: add custom fields and methods to query result objects, for example, virtual/computed fields.
- Model extensions components: enable you to add new methods to your models alongside existing model methods such as
- Query extensions components: let you hook into the lifecycle of a query and perform side effects, modify query arguments, or modify the results in a type-safe way. These are an alternative to middleware that provide complete type safety and can be applied in an ad-hoc manner to different extensions.
- Client extensions components: allow you to add new top-level methods to Prisma Client. You can use this to extend Prisma Client with functionality that isn’t tied to specific models.
-
-
-
-
-
- Attach comments to enum values
- Extend Prisma Client
- Triple-slash Comments should attach to Composite Types
- Nested disconnect fails on MongoDB with extendedWhereUnique
- [ClientExtensions, TypeScript] Fields of custom type aren't available when using the ClientExtensions preview-feature, unless
- Extensions incorrect typings generated (casing)
- Misleading error message of
- Prisma.validator: with clientExtensions enabled, Typescript can no longer compute types
- enum docstrings do not make it to the prisma client
- VScode behavior is very slow while using clientExtensions
- Client extensions in interactive transactions are bound to the base client
- PCE: Improve runtime types in raw query extensions
- Sequential transactions run out of order when using client extensions and middleware
- Client Extension: Make
- Cannot create record with Prisma.DbNull when clientExtensions enabled
- Extended client raw queries fail when using the Prisma.sql helper
- jsonProtocol: array shortcut is missing for
- Prisma Client Extension: support
- Prisma Client: make
- PCE: Query extensions of
- PCE:
- Type "never" returned from nested properties when using "select" after enabling data proxy + accelerate
- Deploying to an offline environment fails because it tries to download a Prisma engine checksum file
- jsonProtocol: Wrong error message shown for validation error for checked/unchecked types
- Bug: FindXOrThrow don't get batched on the engine
- Allow skipping sha checksum
- Documentation not available in DMMF for MongoDB
-
4.16.0-integration-studio-xdg-enoent.1 - 2023-06-16
-
4.16.0-integration-studio-direct-url.6 - 2023-06-03
-
4.16.0-integration-studio-direct-url.5 - 2023-06-03
-
4.16.0-integration-studio-direct-url.4 - 2023-06-03
-
4.16.0-integration-studio-direct-url.3 - 2023-06-03
-
4.16.0-integration-studio-direct-url.2 - 2023-06-03
-
4.16.0-integration-studio-direct-url.1 - 2023-06-02
-
4.16.0-integration-remove-openssl-fallback.2 - 2023-06-14
-
4.16.0-integration-remove-openssl-fallback.1 - 2023-06-14
-
4.16.0-integration-prisma5.1 - 2023-06-07
-
4.16.0-integration-node-drivers-prisma-playground.7 - 2023-06-16
-
4.16.0-integration-node-drivers-prisma-playground.6 - 2023-06-15
-
4.16.0-integration-node-drivers-prisma-playground.5 - 2023-06-15
-
4.16.0-integration-node-drivers-prisma-playground.4 - 2023-06-15
-
4.16.0-integration-node-drivers-prisma-playground.3 - 2023-06-15
-
4.16.0-integration-node-drivers-prisma-playground.2 - 2023-06-14
-
4.16.0-integration-node-drivers-prisma-playground.1 - 2023-06-13
-
4.16.0-integration-node-drivers.1 - 2023-06-07
-
4.16.0-integration-linux-static.5 - 2023-06-16
-
4.16.0-integration-linux-static.4 - 2023-06-16
-
4.16.0-integration-linux-static.3 - 2023-06-16
-
4.16.0-integration-linux-static.2 - 2023-06-16
-
4.16.0-integration-linux-static.1 - 2023-06-16
-
4.16.0-integration-fix-client-extension-never-type.2 - 2023-06-05
-
4.16.0-integration-fix-client-extension-never-type.1 - 2023-06-05
-
4.16.0-integration-engines-4-16-0-73-cockroachdb-with-postgres-provider-e3806492ee9cd6d784cfb440ea5b4ffa412ae635.1 - 2023-06-20
-
4.16.0-integration-engines-4-16-0-72-integration-support-arrays-generator-config-d181c89134a5f9e48a42e6d90be0b3da518c6236.1 - 2023-06-20
-
4.16.0-integration-engines-4-16-0-71-cockroachdb-with-postgres-provider-5dbcd575dfeb408cbd8d423edb813cf42606c8bb.1 - 2023-06-20
-
4.16.0-integration-engines-4-16-0-70-integration-tracing-runtime-js-b967cfe0b3471cb83685e28c9bbccd0a25180ce6.1 - 2023-06-19
-
4.16.0-integration-engines-4-16-0-69-integration-tracing-runtime-js-5640e37d36a967a91e3a56eaf0a8afbef0ffdcb8.1 - 2023-06-17
-
4.16.0-integration-engines-4-16-0-68-integration-tracing-runtime-js-12b7801a1233c86e4a4ba00f600a19193dbe0255.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-67-integration-tracing-runtime-js-7aa3bfc9131f8e5f9bfa0b2aeed94806dd65cbfc.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-65-integration-default-protocol-a001640fb1246b05489d399bc4d41dfd2c74f342.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-64-integration-linux-static-4dd629bf84f12f4770c3b6877d20c45d8d0933f1.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-63-integration-tracing-runtime-js-9f7de8712f7653c6264679213b3c779d11e2dc28.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-62-integration-tracing-runtime-js-dd2821c098a7360794afae9efa80a43abfbd4b73.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-61-integration-default-protocol-05dbc451f077f23c3a09370aeb37d65841e18c45.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-58-integration-default-protocol-39a634853d3c50aab9140ba300ac71d7a923cb5d.1 - 2023-06-16
-
4.16.0-integration-engines-4-16-0-57-integration-linux-static-a156add034f679923521d232012267423a49deb3.1 - 2023-06-15
-
4.16.0-integration-engines-4-16-0-55-integration-node-drivers-naming-consistency-34882a922df80c18cdc4d8165413e6e5bfa92be2.1 - 2023-06-15
-
4.16.0-integration-engines-4-16-0-54-integration-node-drivers-naming-consistency-dd29c78f0214ca7b313018a3249d6da9bab8310b.1 - 2023-06-15
-
4.16.0-integration-engines-4-16-0-52-integration-node-drivers-naming-consistency-a422ada172398518dbda4b173d5cd48de33a7361.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-51-integration-node-drivers-naming-consistency-6eabdcbccb2f2594fbdd94f96fd4abb3181512c2.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-50-integration-node-drivers-typed-ba4ec9e7ca19c51b567950aa6280a254618fec3c.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-47-integration-node-drivers-with-types-and-no-missing-symbols-0c1cc1c08f0434bd4e8d7a611764c704f1d3d036.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-46-integration-node-drivers-typed-3bd373d936cdd25f9999443d99a838fa1f6fee40.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-45-integration-node-drivers-with-types-and-no-missing-symbols-0c1cc1c08f0434bd4e8d7a611764c704f1d3d036.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-44-integration-improve-field-ref-validation-8c84ff041eeab5d2e363bfa413319df8dff57317.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-43-integration-node-drivers-typed-d38ce960a0e364072c6353ff74d16a6c8a273e1e.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-40-integration-node-drivers-typed-bc749c86dc6fb47ac88bc809cb855c7233464b29.1 - 2023-06-14
-
4.16.0-integration-engines-4-16-0-38-integration-node-drivers-typed-nonverbose-81afb6281350299d232ca0216ea77874926fb2a5.1 - 2023-06-13
-
4.16.0-integration-engines-4-16-0-36-integration-node-drivers-typed-5d66c7e6ec24ec039f62ef5e17372a96a1f87a3c.1 - 2023-06-13
-
4.16.0-integration-engines-4-16-0-34-integration-node-drivers-typed-a47f6564408b5ed5dc3fe47a1e62b31ea5e7cfb7.1 - 2023-06-13
-
4.16.0-integration-engines-4-16-0-33-integration-node-drivers-typed-85df2668765479cf818507da0275ab374c55e1e9.1 - 2023-06-13
-
4.16.0-integration-engines-4-16-0-32-integration-node-drivers-typed-25ee6cdf9b1572d809e11912d477a36137fa8e74.1 - 2023-06-13
-
4.16.0-integration-engines-4-16-0-30-integration-node-drivers-typed-dcbf645a1b3d70873571a18df2385f1cadb4b6d8.1 - 2023-06-12
-
4.16.0-integration-engines-4-16-0-3-integration-engineer-optimization-tests-ed188a18e0fafd8565c18baef3532f0d6822f2c7.1 - 2023-05-30
-
4.16.0-integration-engines-4-16-0-29-integration-standardise-targets-afe4fa3b8c57711182fffa9d89332774db3b7f8f.1 - 2023-06-12
-
4.16.0-integration-engines-4-16-0-28-integration-improve-field-ref-validation-2357b35a6b2132dc3ae7d43c05aac5d415bbb319.1 - 2023-06-12
-
4.16.0-integration-engines-4-16-0-27-integration-node-drivers-typed-ccc06a75e230d74f9fddcccf58068531b96bbdde.1 - 2023-06-12
-
4.16.0-integration-engines-4-16-0-25-integration-node-drivers-typed-e5ed83cfc47e5929203654cbdf52c5f31b7e7062.1 - 2023-06-12
-
4.16.0-integration-engines-4-16-0-24-integration-support-arrays-generator-config-f359e6c1e8593b12c52e4000babe77cdd7a66300.1 - 2023-06-09
-
4.16.0-integration-engines-4-16-0-23-integration-node-drivers-typed-45573408cca611fc19c003755e5348a127d9f147.1 - 2023-06-09
-
4.16.0-integration-engines-4-16-0-22-integration-node-drivers-typed-65b6d81f12965f9ef6ac3df907e435d49c0c285c.1 - 2023-06-09
-
4.16.0-integration-engines-4-16-0-21-integration-node-drivers-typed-49c3279792632f97a8f9f76330445640a49dcec0.1 - 2023-06-09
-
4.16.0-integration-engines-4-16-0-20-integration-improve-field-ref-validation-238ecf6c8d3482d7d27517872e056014a2742297.1 - 2023-06-09
-
4.16.0-integration-engines-4-16-0-2-integration-engineer-optimization-tests-2aeb9bd9dce49766ec608374164fd84dc031577a.1 - 2023-05-30
-
4.16.0-integration-engines-4-16-0-19-integration-only-upload-to-all-commits-85e190cf5d4e54af3674e0367921657166a4b7e0.1 - 2023-06-08
-
4.16.0-integration-engines-4-16-0-18-integration-improve-field-ref-validation-ee7d4c6785824887c53e392b87b1915c5f2b4c93.1 - 2023-06-08
-
4.16.0-integration-engines-4-16-0-16-integration-rename-migration-engine-to-schema-engine-72a818438fbeb692961516daebf61ab86af03011.1 - 2023-06-07
-
4.16.0-integration-engines-4-16-0-15-integration-node-drivers-c750faaec2e560cab1a3eeac4bf8e6cc17bf5b8c.1 - 2023-06-07
-
4.16.0-integration-engines-4-16-0-14-integration-node-drivers-fix-nix-4b8d8a2efc3efe19ac4f52f9de699857a3a0257f.1 - 2023-06-07
-
4.16.0-integration-engines-4-16-0-10-integration-linux-static-70a9adfd11f836696eca398396544fe07a8d8edb.1 - 2023-06-01
-
4.16.0-integration-dont-generate-package-json.10 - 2023-06-19
-
4.16.0-integration-dont-generate-package-json.9 - 2023-06-19
-
4.16.0-integration-dont-generate-package-json.8 - 2023-06-19
-
4.16.0-integration-dont-generate-package-json.7 - 2023-06-19
-
4.16.0-integration-dont-generate-package-json.6 - 2023-06-16
-
4.16.0-integration-dont-generate-package-json.5 - 2023-06-15
-
4.16.0-integration-dont-generate-package-json.4 - 2023-06-15
-
4.16.0-integration-dont-generate-package-json.3 - 2023-06-15
-
4.16.0-integration-dont-generate-package-json.2 - 2023-06-15
-
4.16.0-integration-dont-generate-package-json.1 - 2023-06-14
-
4.16.0-integration-chore-remove-detection-fallback.2 - 2023-06-14
-
4.16.0-integration-chore-remove-detection-fallback.1 - 2023-06-14
-
4.16.0-integration-bench.1 - 2023-06-02
-
4.16.0-dev.78 - 2023-06-20
-
4.16.0-dev.77 - 2023-06-19
-
4.16.0-dev.76 - 2023-06-19
-
4.16.0-dev.75 - 2023-06-19
-
4.16.0-dev.74 - 2023-06-16
-
4.16.0-dev.73 - 2023-06-16
-
4.16.0-dev.72 - 2023-06-16
-
4.16.0-dev.71 - 2023-06-16
-
4.16.0-dev.70 - 2023-06-16
-
4.16.0-dev.69 - 2023-06-16
-
4.16.0-dev.68 - 2023-06-16
-
4.16.0-dev.67 - 2023-06-16
-
4.16.0-dev.66 - 2023-06-16
-
4.16.0-dev.65 - 2023-06-16
-
4.16.0-dev.64 - 2023-06-15
-
4.16.0-dev.63 - 2023-06-15
-
4.16.0-dev.62 - 2023-06-15
-
4.16.0-dev.61 - 2023-06-15
-
4.16.0-dev.60 - 2023-06-15
-
4.16.0-dev.59 - 2023-06-15
-
4.16.0-dev.58 - 2023-06-15
-
4.16.0-dev.57 - 2023-06-14
-
4.16.0-dev.56 - 2023-06-14
-
4.16.0-dev.55 - 2023-06-14
-
4.16.0-dev.54 - 2023-06-14
-
4.16.0-dev.53 - 2023-06-14
-
4.16.0-dev.52 - 2023-06-14
-
4.16.0-dev.51 - 2023-06-14
-
4.16.0-dev.50 - 2023-06-14
-
4.16.0-dev.49 - 2023-06-13
-
4.16.0-dev.48 - 2023-06-13
-
4.16.0-dev.47 - 2023-06-13
-
4.16.0-dev.45 - 2023-06-13
-
4.16.0-dev.44 - 2023-06-13
-
4.16.0-dev.43 - 2023-06-12
-
4.16.0-dev.42 - 2023-06-12
-
4.16.0-dev.41 - 2023-06-12
-
4.16.0-dev.40 - 2023-06-12
-
4.16.0-dev.39 - 2023-06-12
-
4.16.0-dev.38 - 2023-06-12
-
4.16.0-dev.37 - 2023-06-09
-
4.16.0-dev.36 - 2023-06-09
-
4.16.0-dev.35 - 2023-06-08
-
4.16.0-dev.34 - 2023-06-08
-
4.16.0-dev.33 - 2023-06-08
-
4.16.0-dev.32 - 2023-06-08
-
4.16.0-dev.31 - 2023-06-07
-
4.16.0-dev.30 - 2023-06-07
-
4.16.0-dev.29 - 2023-06-07
-
4.16.0-dev.28 - 2023-06-07
-
4.16.0-dev.27 - 2023-06-07
-
4.16.0-dev.26 - 2023-06-07
-
4.16.0-dev.25 - 2023-06-06
-
4.16.0-dev.24 - 2023-06-06
-
4.16.0-dev.23 - 2023-06-05
-
4.16.0-dev.22 - 2023-06-05
-
4.16.0-dev.21 - 2023-06-05
-
4.16.0-dev.20 - 2023-06-05
-
4.16.0-dev.19 - 2023-06-05
-
4.16.0-dev.18 - 2023-06-05
-
4.16.0-dev.17 - 2023-06-05
-
4.16.0-dev.16 - 2023-06-05
-
4.16.0-dev.15 - 2023-06-05
-
4.16.0-dev.14 - 2023-06-02
-
4.16.0-dev.13 - 2023-06-02
-
4.16.0-dev.12 - 2023-06-02
-
4.16.0-dev.11 - 2023-06-02
-
4.16.0-dev.10 - 2023-06-02
-
4.16.0-dev.9 - 2023-06-02
-
4.16.0-dev.8 - 2023-06-01
-
4.16.0-dev.7 - 2023-06-01
-
4.16.0-dev.6 - 2023-06-01
-
4.16.0-dev.5 - 2023-05-31
-
4.16.0-dev.4 - 2023-05-30
-
4.16.0-dev.3 - 2023-05-30
-
4.16.0-dev.2 - 2023-05-30
-
4.16.0-dev.1 - 2023-05-30
-
4.15.0 - 2023-05-30
from @prisma/client GitHub release notesToday, we are issuing the
4.16.1patch release.Fixes in Prisma Client
$extendin factory function whencompilerOptions.compositeistrue🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
This release promotes the following Preview features to General Availability:
Prisma Client extensions are Generally Available
Today, we’re very excited to announce that Prisma Client extensions are Generally Available and production-ready! This means you can use the feature without the
clientExtensionsPreview feature flag.🚀Prisma Client extensions are a powerful new feature for adding functionality on top of your Prisma Client in a type-safe manner. With this feature, you can create simple, but flexible solutions.
Prisma Client extensions have 4 different types of components that can be included in an extension:
findMany.You can also create and publish extensions for others to use. Learn more about how to share extensions in our documentation.
More features and changes made to Client Extensions
We also made the following improvements to Prisma Client extensions in preparation for General Availability:
Added a top-level
$allOperationsmethod forquerycomponent that captures all model operations as well as top-level raw queries. Refer to our documentation for more information.Prisma.validatorcan now also be used for extended types:querycallbacks for$queryRawand$executeRawwill always receiveSqlinstance asargs. This instance can be used to compose a new query usingPrisma.sql:$oncannot be called after extending Prisma Client. Therefore, if you want to use event handlers together with extensions, we recommend using the$onmethod before$extends.We updated the import path for utilities used for authoring extension to
@ prisma/client/extensionrather than@ prisma/clientDeprecating Middleware
We also took this opportunity to deprecate Prisma Client’s middleware. We recommend using to using Prisma Client
queryextension components which can be used to achieve the same functionality and with better type safety.Ordering by nulls first and last is now Generally Available
Starting with this release, we’re excited to announce that
orderByNullsis now Generally Available! This means you can use the feature without theorderByNullsPreview feature flag.🌟We introduced this feature in 4.1.0 to enable you to sort records with null fields to either appear at the beginning or end of the result.
The following example query sorts posts by
updatedAt, with records having a null value at the end of the list:To learn more about this feature, refer to our documentation.
We’re excited to see what you will build! Feel free to share with us what you build on Twitter, Slack, or Discord.
Count by filtered relation is now Generally Available
This release moves the
filteredRelationCountPreview feature to General Availability! This means you can use the feature without thefilteredRelationCountPreview feature flag.We first introduced this feature in 4.3.0 to add the ability to count by filtered relations.
The following query, for example, counts all posts with the title “Hello!”:
To learn more about this feature, refer to our documentation.
Introspection warnings for expression indexes
In the last two releases, 4.13.0 and 4.14.0, we added 9 introspection warnings. These warnings surface features in use in your database that cannot currently be represented in the Prisma schema.
In this release, we’re adding one more introspection warning to the list: expression indexes.
On database introspection, the Prisma CLI will surface the feature with a warning, and a comment in your Prisma schema for sections for each feature in use. The warnings will also contain instructions for workarounds on how to use the feature.
Fixes and improvements
Prisma Client
select'd explicitly.prisma generatewhen running it directly after installingprisma$runCommandRawis not passing the expected data to middleware or client extension.prismaVersion.clientavailable on "@prisma/client/scripts/default-index"distinctfieldPrisma.validatorclientExtensionsGA$queryRawUnsafealso triggers$allModels.$allOperations$onapplied to an extended client is also bound to the parent client$queryRaw*is broken in interactive transactions together withclientExtensionsin4.16.0-dev.17Prisma Migrate
typesprisma db pullgets rid of@ default(uuid())on re-introspectionLanguage tools (e.g. VS Code)
Go to Definitiondoes not work when target model contains a field with a type name that starts with the same namePrisma Studio
Error: spawn xdg-open ENOENTonprisma studio📺 Join us for another "What's new in Prisma" live stream
Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" live stream.
The stream takes place on YouTube on Thursday, June 22 at 5 pm Berlin | 8 am San Francisco.
Read more
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs