๐ Help us spread the word about Prisma by starring the repo or posting on X about the release. ๐
Highlights
Happy New Year from your friends at Prisma! ๐
In the last 4 weeks, we resolved some bugs on the ORM and made some progress on some exciting features that weโre not yet ready to announce. Stay tuned for the upcoming releases, in which weโll be announcing new features. ๐
relationJoins improvements: Relation loading strategy per query (Preview)
In version 5.7.0, we released relationJoins into Preview. The relationJoins feature enables support for JOINs for relation queries.
This release adds support for the ability to specify the strategy used to fetch relational data per query when the Preview feature is enabled. This will enable you to choose the most efficient strategy for fetching relation data depending on your use case.
You can now load relation data using either of the following strategies:
join โ uses JOINs to fetch relation data
query โ uses separate queries to fetch relation data
When the relationJoins Preview feature is enabled, by default, the relation fetching strategy used is join. You can override the default behavior by using the relationLoadStrategy query option.
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)
Bumps prisma from 5.2.0 to 5.8.1.
Release notes
Sourced from prisma's releases.
... (truncated)
Commits
e62475d
chore(deps): update dependency esbuild to v0.19.10 (#22471)ca82824
chore(deps): update mini-proxy to 0.9.5 (#22407)d8ea6c9
chore(deps): update studio to v0.497.0 (#22371)f72bf3a
refactor: consistently usebinaryTarget
term (#21659)21afa80
chore(deps): update dependency esbuild to v0.19.9 (#22291)eff9992
chore(deps): update dependency@โtypes/jest
to v29.5.11 (#22290)79c3415
fix(deps): pin dependencies (#21992)a550785
chore(cli): add comment about studio debug namespace (#22285)dd2e8ff
chore(cli): refine platform help command copy (#22282)ae47208
feat: show auth commands as part of root help (#22267)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