build(deps): bump @prisma/client from 5.0.0 to 5.7.1
Bumps @prisma/client from 5.0.0 to 5.7.1.
Release notes
Sourced from @prisma/client's releases.
5.7.1
Today, we are issuing the
5.7.1patch release.This patch fixes multiple small problems in our
relationJoinspreview feature. If you ran into problems when testingrelationJoinsbefore, 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
relationJoins: Int[] return as nullrelationJoins: fails when filtering includes by isNot: nullrelationJoins: "The table (not available) does not exist in the current database."relationJoins: PostgresError { code: "54023", message: "cannot pass more than 100 arguments to a function", severity: "ERROR", detail: None, column: None, hint: None }relationJoins: Inconsistent column data: Unexpected conversion failure from String to datetime. Reason: $trailing input5.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 CockroachDBWe’re excited to announce Preview support for
JOINs in Prisma Client when querying relations. Support forJOINs 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 generateto regenerate Prisma Client and enable the Preview feature.Prisma Client will use a
JOINin 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
57c979fchore: revert wasm engine (#22458)7be2d03bump engine990e591chore(client): fix a typo in a comment in e2e/_utils/run.ts (#22269)3af4569fix(e2e): fix failing studio-1128-spawn-enoent test (#22272)7eb9800feat(client): integrate relation joins (#22243)4d1347dchore(deps): update engines to 5.7.0-40.1964a5cbd8c8ab62f2ef25627fbcd8489aa2e...bb06b83fix(client): Netlify using Node.js 20 should use rhel-openssl-3.0.x (#22241)60d4094chore(deps): update engines to 5.7.0-39.0d724e37b36bf276aa095d4571213cd035eaf...363e028test(client): add --preview-features to test setup CLI (#22246)4c493a1feat(driver adapters): [public API] Renameflavourfield toprovider, rem...- Additional commits viewable in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)