-
Notifications
You must be signed in to change notification settings - Fork 995
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): update prisma monorepo to v5.3.1 #9187
Merged
Merged
Conversation
This file contains 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
jtoar
added a commit
that referenced
this pull request
Sep 16, 2023
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@prisma/client](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.2.0` -> `5.3.1`](https://renovatebot.com/diffs/npm/@prisma%2fclient/5.2.0/5.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2fclient/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2fclient/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2fclient/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2fclient/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@prisma/internals](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.2.0` -> `5.3.1`](https://renovatebot.com/diffs/npm/@prisma%2finternals/5.2.0/5.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@prisma%2finternals/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@prisma%2finternals/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@prisma%2finternals/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@prisma%2finternals/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [prisma](https://www.prisma.io) ([source](https://togithub.com/prisma/prisma)) | [`5.2.0` -> `5.3.1`](https://renovatebot.com/diffs/npm/prisma/5.2.0/5.3.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/prisma/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/prisma/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/prisma/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/prisma/5.2.0/5.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- <details> <summary>prisma/prisma (@​prisma/client)</summary> [Compare Source](https://togithub.com/prisma/prisma/compare/5.3.0...5.3.1) Today, we are issuing the `5.3.1` patch release. - [Duplicated keys in `metrics` properties](https://togithub.com/prisma/prisma/issues/21069) [Compare Source](https://togithub.com/prisma/prisma/compare/5.2.0...5.3.0) 🌟 **Help us spread the word about Prisma by starring the repo or [tweeting](https://twitter.com/intent/tweet?text=Check%20out%20the%20latest%20@​prisma%20release%20v5.3.0%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/prisma/prisma/releases/tag/5.3.0) about the release.** 🌟 In this sprint, we’ve made bug fixes and overall improvements to Prisma Client. We’ve been working on a few projects that will be announced soon. Stay tuned for the upcoming releases for updates! We made the following changes: - Validation for `undefined` values in arrays in `Json` fields We added runtime validation for `undefined` values in arrays in `Json` fields. Prisma Client will now return an error when an array contains an `undefined` value. Therefore, we encourage you to add validation that either removes the value or transforms it to `null` if you stumble on the runtime validation: ```ts // Query await prisma.user.findMany({ where: { // JSON field preferences: [undefined, '"theme": "dark"', null, ] } }) // Example error message on running the query Can not use `undefined` value within array. Use `null` or filter out `undefined` values ``` - Performance improvements for models with many unique fields This release improves Prisma Client’s memory consumption for models with many `@unique` constraints. This was a regression from version 4.10.1, where in some cases, if a model had many unique constraints, Prisma Client would use up a lot of available memory. - Fixed the segmentation fault error that used to occur on ARM64 Linux binary targets - Metrics Preview feature improvements: - We updated the counters and gauge properties - We fixed the bug that caused the `prisma_pool_connections_open` metric to have a negative value in some cases. - Fixed an introspection bug for MongoDB views. Previously, if a MongoDB database contained a view, `prisma db pull` would throw an error. We resolved this, and views are now ignored. - Added the `PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK` environment variable that enables you to disable [advisory locking](https://www.prisma.io/docs/concepts/components/prisma-migrate/migrate-development-production#advisory-locking). extension](https://marketplace.visualstudio.com/items?itemName=Prisma.prisma) improvements - Added support for rendering multi-line comments in tooltips when hovering on a block. - Improved the auto-completion for composite types in other blocks. - Added a Code Action that allows you to replace `SetDefault` with `NoAction` when using MySQL and the default/`foreignKeys` relation mode. - [Percona-XtraDB-Cluster prohibits use of GET_LOCK with pxc_strict_mode = ENFORCING](https://togithub.com/prisma/prisma/issues/16020) - [MongoDB views should be ignored introspecting the database](https://togithub.com/prisma/prisma/issues/16179) - [Error in Connector on MongoDB executing listIndex: "system.views"](https://togithub.com/prisma/prisma/issues/17006) - [`prisma migrate deploy`: `MariaDB doesn't yet support 'GET_LOCK in cluster (WSREP_ON=ON)'`](https://togithub.com/prisma/prisma/issues/19350) - [Remove all special cases for Data Proxy in our tests](https://togithub.com/prisma/prisma/issues/16101) - [Segmentation fault on ARM64 Linux](https://togithub.com/prisma/prisma/issues/18510) - [In the metrics feature a gauge & counter are swapped](https://togithub.com/prisma/prisma/issues/18760) - [The prisma metrics `prisma_pool_connections_open` has a bug where it goes negative](https://togithub.com/prisma/prisma/issues/18761) - [Prisma crashes with GraphQL queries of nested one-to-many relationship](https://togithub.com/prisma/prisma/issues/18787) - [P1017 Server has closed the connection on linux_arm64](https://togithub.com/prisma/prisma/issues/19209) - [`Error: socket hang up` on Linux/arm64](https://togithub.com/prisma/prisma/issues/19419) - [Panic in Query Engine with SIGABRT signal (Debian Bookworm, engineType = binary)](https://togithub.com/prisma/prisma/issues/19743) - [Prisma 5 drops `undefined` from Arrays when using Json fields with Postgres](https://togithub.com/prisma/prisma/issues/20325) - [Suspected memory leak in Lambda function after upgrading from 4.10.1](https://togithub.com/prisma/prisma/issues/20799) - [Error when generating - No unsupported field should reach that path](https://togithub.com/prisma/prisma/issues/20986) - [Models with multi line comments only show last line in tooltip](https://togithub.com/prisma/language-tools/issues/861) - [Add VS Code quick fix / code action to replace `SetDefault` with `NoAction` when `provider = "mysql"` and `relationMode = "foreignKeys" | default`](https://togithub.com/prisma/language-tools/issues/1286) - [Composite Types aren't offered as being auto-completable in other blocks](https://togithub.com/prisma/language-tools/issues/1495) Huge thanks to [@​alencardc](https://togithub.com/alencardc), [@​Oreilles](https://togithub.com/Oreilles), [@​christianledgard](https://togithub.com/christianledgard), [@​skyzh](https://togithub.com/skyzh), [@​alula](https://togithub.com/alula), [@​michaelpoellath](https://togithub.com/michaelpoellath), [@​RobertCraigie](https://togithub.com/RobertCraigie), [@​stephenwade](https://togithub.com/stephenwade) for helping! </details> --- 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/redwoodjs/redwood). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
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 contains the following updates:
5.2.0
->5.3.1
5.2.0
->5.3.1
5.2.0
->5.3.1
Release Notes
prisma/prisma (@prisma/client)
v5.3.1
Compare Source
Today, we are issuing the
5.3.1
patch release.Fix in Prisma Client
metrics
propertiesv5.3.0
Compare Source
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
In this sprint, we’ve made bug fixes and overall improvements to Prisma Client. We’ve been working on a few projects that will be announced soon. Stay tuned for the upcoming releases for updates!
Improvements and bug fixes
We made the following changes:
Prisma Client improvements
undefined
values in arrays inJson
fieldsWe added runtime validation for
undefined
values in arrays inJson
fields. Prisma Client will now return an error when an array contains anundefined
value. Therefore, we encourage you to add validation that either removes the value or transforms it tonull
if you stumble on the runtime validation:This release improves Prisma Client’s memory consumption for models with many
@unique
constraints. This was a regression from version 4.10.1, where in some cases, if a model had many unique constraints, Prisma Client would use up a lot of available memory.prisma_pool_connections_open
metric to have a negative value in some cases.Prisma Migrate improvements
prisma db pull
would throw an error. We resolved this, and views are now ignored.PRISMA_SCHEMA_DISABLE_ADVISORY_LOCK
environment variable that enables you to disable advisory locking.VS Code extension improvements
SetDefault
withNoAction
when using MySQL and the default/foreignKeys
relation mode.Fixes and improvements
Prisma Migrate
prisma migrate deploy
:MariaDB doesn't yet support 'GET_LOCK in cluster (WSREP_ON=ON)'
Prisma Client
prisma_pool_connections_open
has a bug where it goes negativeError: socket hang up
on Linux/arm64undefined
from Arrays when using Json fields with PostgresLanguage tools (e.g. VS Code)
SetDefault
withNoAction
whenprovider = "mysql"
andrelationMode = "foreignKeys" | default
Credits
Huge thanks to @alencardc, @Oreilles, @christianledgard, @skyzh, @alula, @michaelpoellath, @RobertCraigie, @stephenwade for helping!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.