Skip to content
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

build(deps): bump @prisma/client from 5.2.0 to 5.3.0 #3232

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 13, 2023

Bumps @prisma/client from 5.2.0 to 5.3.0.

Release notes

Sourced from @​prisma/client's releases.

5.3.0

🌟 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

  • 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:
// 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.

Prisma Migrate improvements

  • 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.

VS Code extension 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.

Fixes and improvements

... (truncated)

Commits
  • dc54aed chore(deps): update engines to 5.3.0-36.e90b936d84779543cbe0e494bc8b9d7337fad...
  • 0b8edfb chore(deps): update engines to 5.3.0-35.ae074a73c82cffe83fa074ac12510c28a868b...
  • 0b1b958 chore(deps): update engines to 5.3.0-34.9b21b9f1a34ef29c3992abdb81d40c3817475...
  • 92cde26 chore: remove data proxy special handling in tests (#20935)
  • b2bc015 chore(deps): update engines to 5.3.0-31.1816b81529d375ba16b9173156a20b3e0b51a...
  • 87bdf31 chore(deps): update engines to 5.3.0-29.319461411f708bb91a5dd85ee797de71db841...
  • 1961e3e chore(deps): update dependency tsd to v0.29.0 (#20978)
  • ff5749d chore(deps): update dependency @​fast-check/jest to v1.7.2 (#20975)
  • b1e5de0 chore(deps): update engines to 5.3.0-28.3457e5de04da1741c969a80068702ad103e99...
  • 78a4e98 refactor: Simplify DMMFHelper, stop (most) DMMF patching (#20848)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@prisma/client [> 2.21.0, < 2.22]
@prisma/client [>= 3.a, < 4]

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [@prisma/client](https://github.com/prisma/prisma/tree/HEAD/packages/client) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/prisma/prisma/releases)
- [Commits](https://github.com/prisma/prisma/commits/5.3.0/packages/client)

---
updated-dependencies:
- dependency-name: "@prisma/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 13, 2023
@vercel
Copy link

vercel bot commented Sep 13, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
c0d3-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2023 9:30pm

@codecov
Copy link

codecov bot commented Sep 13, 2023

Codecov Report

Merging #3232 (1dcaea7) into master (0688b8c) will not change coverage.
The diff coverage is n/a.

❗ Current head 1dcaea7 differs from pull request most recent head 9030fc2. Consider uploading reports for the commit 9030fc2 to get more accurate results

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #3232   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          191       191           
  Lines         3646      3646           
  Branches      1009      1008    -1     
=========================================
  Hits          3646      3646           

@SlyBouhafs SlyBouhafs added this pull request to the merge queue Sep 13, 2023
Merged via the queue into master with commit fbdb0b3 Sep 13, 2023
6 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/prisma/client-5.3.0 branch September 13, 2023 22:21
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant