clansty / Q2TG

QQ 与 Telegram 群相互转发的 bot
https://t.me/Q2TGbot
GNU Affero General Public License v3.0
755 stars 77 forks source link

chore(deps): bump @prisma/client from 5.5.2 to 5.7.1 #160

Closed dependabot[bot] closed 10 months ago

dependabot[bot] commented 10 months ago

Bumps @prisma/client from 5.5.2 to 5.7.1.

Release notes

Sourced from @​prisma/client's releases.

5.7.1

Today, we are issuing the 5.7.1 patch release.

This patch fixes multiple small problems in our relationJoins preview feature. If you ran into problems when testing relationJoins before, please give it another go with 5.7.1 and share your feedback or create a bug report if you encounter any issues.

Fixes in Prisma Client

5.7.0

🌟 Help us spread the word about Prisma by starring the repo or posting on X (formerly Twitter) about the release.

Highlights

✨ In this release, we improved the SQL queries Prisma Client generates for you with two new Preview features, the driver adapters, and support for the database drivers we currently support. 5.7.0 will be the last release of the year. Stay tuned for the next one in January! ✨

Preview support for JOINs for relation queries for PostgreSQL and CockroachDB

We’re excited to announce Preview support for JOINs in Prisma Client when querying relations. Support for JOINs has been a long-standing feature request, and this release adds support for PostgreSQL and CockroachDB. The upcoming releases will expand support for other databases Prisma supports.

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

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

Run prisma generate to regenerate Prisma Client and enable the Preview feature.

Prisma Client will use a JOIN in your query to fetch relation data for a majority of the cases.

Example queries

Prisma Client query

await prisma.user.findUnique({
    where: {
        id: 1
</tr></table> 

... (truncated)

Commits
  • 57c979f chore: revert wasm engine (#22458)
  • 7be2d03 bump engine
  • 990e591 chore(client): fix a typo in a comment in e2e/_utils/run.ts (#22269)
  • 3af4569 fix(e2e): fix failing studio-1128-spawn-enoent test (#22272)
  • 7eb9800 feat(client): integrate relation joins (#22243)
  • 4d1347d chore(deps): update engines to 5.7.0-40.1964a5cbd8c8ab62f2ef25627fbcd8489aa2e...
  • bb06b83 fix(client): Netlify using Node.js 20 should use rhel-openssl-3.0.x (#22241)
  • 60d4094 chore(deps): update engines to 5.7.0-39.0d724e37b36bf276aa095d4571213cd035eaf...
  • 363e028 test(client): add --preview-features to test setup CLI (#22246)
  • 4c493a1 feat(driver adapters): [public API] Rename flavour field to provider, rem...
  • 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)