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:
To install Sass 1.71.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
For more information about pkg: importers, see the announcement on the Sass blog.
Command-Line Interface
Add a --pkg-importer flag to enable built-in pkg: importers. Currently this only supports the Node.js package resolution algorithm, via --pkg-importer=node. For example, @use "pkg:bootstrap" will load node_modules/bootstrap/scss/bootstrap.scss.
JavaScript API
Add a NodePackageImporter importer that can be passed to the importers option. This loads files using the pkg: URL scheme according to the Node.js package resolution algorithm. For example, @use "pkg:bootstrap" will load node_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single optional argument, which indicates the base directory to use when locating node_modules directories. It defaults to path.dirname(require.main.filename).
Ship the musl Linux release with the proper Dart executable.
JavaScript API
Export the NodePackageImporter class in ESM mode.
Allow NodePackageImporter to locate a default directory even when the
entrypoint is an ESM module.
Dart API
Make passing a null argument to NodePackageImporter() a static error rather
than just a runtime error.
Embedded Sass
In the JS Embedded Host, properly install the musl Linux embedded compiler
when running on musl Linux.
1.71.0
For more information about pkg: importers, see the
announcement on the Sass blog.
Command-Line Interface
Add a --pkg-importer flag to enable built-in pkg: importers. Currently
this only supports the Node.js package resolution algorithm, via
--pkg-importer=node. For example, @use "pkg:bootstrap" will load
node_modules/bootstrap/scss/bootstrap.scss.
JavaScript API
Add a NodePackageImporter importer that can be passed to the importers
option. This loads files using the pkg: URL scheme according to the Node.js
package resolution algorithm. For example, @use "pkg:bootstrap" will load
node_modules/bootstrap/scss/bootstrap.scss. The constructor takes a single
optional argument, which indicates the base directory to use when locating
node_modules directories. It defaults to
path.dirname(require.main.filename).
Dart API
Add a NodePackageImporter importer that can be passed to the importers
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:
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 major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the minor group with 6 updates:
5.9.1
5.10.2
4.24.5
4.24.6
1.70.0
1.71.1
20.11.17
20.11.19
18.2.55
18.2.57
5.9.1
5.10.2
Updates
@prisma/client
from 5.9.1 to 5.10.2Release notes
Sourced from
@prisma/client
's releases.... (truncated)
Commits
5077f3f
fix(client): Fix non-ascii characters handling in DataProxyEngien tooaf54665
fix(client): Fix non-ascii characters handling in DataProxyEngien too7575474
fix(client): Fix base64 encoding of non-ascii schemas95ce26f
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)Updates
next-auth
from 4.24.5 to 4.24.6Release notes
Sourced from next-auth's releases.
Commits
7d96ca4
chore(release): bump version [skip ci]2072750
chore: update v4 branch with latest clerk sponsorship (#9828)9296222
docs: update github.md app permissions (#7778)851704e
docs: update errors.md - add JWEDecryptionError (#7855)3681b7a
docs: fix the link to Yandex provider options in yandex.md (#9677)cf94d5f
docs: improve color contrastc8edf2d
docs: added callout re getServerSession nextjs.md (#8964)9676afb
docs: typo ininitialization.md
(#9449)cb8952e
docs: update config5a55207
docs: add GithubProvider import (#9361)Updates
sass
from 1.70.0 to 1.71.1Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
1b4d703
Release 1.71.1 (#2182)6d66c43
Properly handlenew NodePackageImporter()
with an ESM entrypoint (#2181)85a932f
Add missing ESM export of NodePackageImporter (#2177)786dd63
Fix linux musl builds (#2175)3e6721e
Fix new static warnings with Dart 3.3 (#2173)2cab33e
Update the language revision in Homebrew on release (#2171)84ededd
Use musl support in cli_pkg (#2172)00571ec
Add a--pkg-importer
flag (#2169)84f31f0
Update pubspec/changelog forpkg:
importers (#2168)9ee5408
[Package Importer] Dart Implementation (#2130)Updates
@types/node
from 20.11.17 to 20.11.19Commits
Updates
@types/react
from 18.2.55 to 18.2.57Commits
Updates
prisma
from 5.9.1 to 5.10.2Release notes
Sourced from prisma's releases.
... (truncated)
Commits
af6c2de
fix(cli): studio when used with non-ascii chars78c4be6
feat(cli): delete management token on logout (#23191)11c76b8
feat(init): mention Accelerate in the Prisma schema (#23086)0e92f9d
feat(cli): next version (#23090)19511a5
chore(deps): update definitelytyped (#23155)4c57f19
chore(deps): update devdependencies patch (non-major) (#23157)28d35ba
chore(deps): update devdependencies patch (non-major) (#23117)132fe17
refactor(cli/platform): optimize structure for CI runs (#23056)99e91c6
fix(generator): usekill('SIGKILL')
ifSIGTERM
was not enough (#23046)3b202d3
chore(deps): update definitelytyped (#23037)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