hackclub / toriel

👋 A friendly bot that assists new members with joining Hack Club
https://toriel.hackclub.com
33 stars 16 forks source link

Bump @prisma/client from 4.13.0 to 5.10.2 #212

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 8 months ago

Bumps @prisma/client from 4.13.0 to 5.10.2.

Release notes

Sourced from @​prisma/client's releases.

5.10.2

Today, we are issuing the 5.10.2 patch release.

Fix in Prisma CLI

5.10.1

Today, we are issuing the 5.10.1 patch release.

Fix in Prisma Client / Prisma CLI

5.10.0

Today, we are excited to share the 5.10.0 stable release 🎉

🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.

Highlights

Optimized relation queries in MySQL (Preview)

This release brings the optimizations for relation queries from the previous releases to MySQL as well! This means that by enabling the relationJoins Preview feature with the mysql database provider, you now also get access to the relationLoadStrategy option in relation queries that let you choose whether you want to merged relations on the application- or database-level.

If you enable the relationJoins Preview feature, you can choose between the join and query options:

  • join (default): Sends a single query to the database and joins the data on the database-level.
  • query: Sends multiple queries to the database and joins the data on the application-level.

To get started, enable the Preview feature in your Prisma schema:

// schema.prisma
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["relationJoins"]
}

Be sure to re-generate Prisma Client afterwards:

npx prisma generate

And finally, specify the relation loading strategy for your relation query via the relationLoadStrategy option as follows:

await prisma.user.findMany({
</tr></table> 

... (truncated)

Commits
  • 5077f3f fix(client): Fix non-ascii characters handling in DataProxyEngien too
  • af54665 fix(client): Fix non-ascii characters handling in DataProxyEngien too
  • 7575474 fix(client): Fix base64 encoding of non-ascii schemas
  • 95ce26f feat(client): Mention Accelerate in "Too many connections" errors (#23113)
  • 794b61e chore(deps): update engines to 5.10.0-34.5a9203d0590c951969e85a7d07215503f467...
  • e742c67 chore(deps): update engines to 5.10.0-32.811068771a7c08ca615bdbdfea96f56a3d10...
  • 2daf967 feat(adapters): cloudflare-d1 - mapRow (#22750)
  • 758f22a chore(deps): update e2e tests (#23158)
  • 19511a5 chore(deps): update definitelytyped (#23155)
  • 4c57f19 chore(deps): update devdependencies patch (non-major) (#23157)
  • Additional commits viewable in compare view


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 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)
dependabot[bot] commented 7 months ago

Superseded by #222.