Today, we are excited to share the 5.11.0 stable release 🎉
🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Edge function support for Cloudflare and Vercel (Preview)
We’re thrilled to announce that support for edge function deployments with Prisma ORM is now in Preview 🥳 As of this release, you can deploy your apps that are using Prisma ORM to:
Vercel Edge Functions and Vercel Edge Middleware
Cloudflare Workers and Cloudflare Pages
In order to deploy to an edge function, you’ll need to use a compatible database driver (along with its Prisma driver adapter):
Neon Serverless Driver (for PostgreSQL databases hosted via Neon)
PlanetScale Serverless Driver (for MySQL databases hosted via PlanetScale)
pg driver (for traditional PostgreSQL databases)
@libsql/client driver (for SQLite databases hosted via Turso)
Check out our documentation to learn how you can deploy an edge function using any combination of supported edge function provider and database.
In previous versions, Prisma ORM would translate this into multiple SQL INSERT queries, each requiring its own roundtrip to the database. As of this release, these nested create queries are optimized and the INSERT queries are sent to the database in bulk in a single roundtrip. These optimizations apply to one-to-many as well as many-to-many relations.
With this change, using the nested create option to create multiple records effectively becomes equivalent to using a nested createMany operation (except that createManyonly works with one-to-many relations, whereas create works both with one-to-many and many-to-many).
Note: Only the deepest nested operation is optimized. If a user specified create (1) -> create (2) -> create (3) in their query, only create (3) will be optimized.
Bumps the dependencies group with 23 updates:
11.11.0
11.11.5
5.15.12
5.15.14
5.15.12
5.15.14
6.0.0-alpha.15
6.0.0-alpha.18
5.10.2
5.11.0
0.7.3
0.9.2
4.36.1
5.28.9
2.1.1
3.0.1
14.1.3
14.1.4
7.51.0
7.51.2
5.4.2
5.4.3
8.56.5
8.56.6
20.11.25
20.12.2
18.2.64
18.2.73
18.2.21
18.2.23
6.21.0
7.4.0
6.21.0
7.4.0
10.4.18
10.4.19
14.1.3
14.1.4
8.4.35
8.4.38
0.5.12
0.5.13
5.10.2
5.11.0
3.4.1
3.4.3
Updates
@emotion/styled
from 11.11.0 to 11.11.5Release notes
Sourced from
@emotion/styled
's releases.Commits
f4640f6
Version Packages (#3170)c9b84db
Fix mismatch between CSSInterpolation and Interpolation<Props> (#3164)6e0e388
Version Packages (#3160)5b82631
Renamed an internalhasOwnProperty
tohasOwn
(#3159)0bfa978
AdddisableRemotePlayback
to valid prop types (#3156)b0014b4
Version Packages (#3143)49c20b4
Fix Theme import for newer Typescript module resolution modes (#3101)45c440f
ChangeArray
toReadonlyArray
in CSS type declarations (#3141)1c60314
AddSECURITY.md
f3b268f
Version Packages (#3058)Updates
@mui/icons-material
from 5.15.12 to 5.15.14Release notes
Sourced from
@mui/icons-material
's releases.... (truncated)
Changelog
Sourced from
@mui/icons-material
's changelog.... (truncated)
Commits
9585d28
[release] v5.15.14 (#41540)6da671c
[material-next] Drop the package (#41544)98a08c9
[docs] Fix some Vale errors (#41516)dbcb678
[release] v5.15.13 (#41462)828f4da
[pigment] Rename directories to match package names (#41453)16e8ef7
[code-infra] Add alias for icon types (#41248)Updates
@mui/material
from 5.15.12 to 5.15.14Release notes
Sourced from
@mui/material
's releases.... (truncated)
Changelog
Sourced from
@mui/material
's changelog.... (truncated)
Commits
9585d28
[release] v5.15.14 (#41540)da74af0
[docs] Fix useStorageState regressions (#41223)fb361fa
[material-ui] Use interface instead of type for props (#41500)98a08c9
[docs] Fix some Vale errors (#41516)c25839e
[material-ui][Select] Fix variant type (#41405)e0e9a2d
[Accordion] Convert to support CSS extraction (#41221)1ff3d5f
[Autocomplete] Convert to support CSS extraction (#40330)144dd13
[Slider][material-ui] Make it zero-runtime compatible (#41201)dbcb678
[release] v5.15.13 (#41462)9e97e73
[material-ui][Tooltip] Support event handlers with extra parameters (#41320)Updates
@mui/styled-engine-sc
from 6.0.0-alpha.15 to 6.0.0-alpha.18Commits
Updates
@prisma/client
from 5.10.2 to 5.11.0Release notes
Sourced from
@prisma/client
's releases.... (truncated)
Commits
3b45747
fix(client): fix runtime.prettyName (#23446)894eef9
fix(client):runtimeDescription
is not defined #23153 (#23164)a211ad7
chore(deps): update engines to 5.11.0-15.efd2449663b3d73d637ea1fd226bafbcf45b...69abf11
chore(deps): update dependency@types/node
to v16.18.86 (#23374)009563e
chore(deps): update engines to 5.11.0-9.3d9a0d64e7107d8985df64fce153a82e7821a...ff59f63
chore(deps): update dependency@inquirer/prompts
to v4.2.1 (#23414)ff2d725
chore(deps): update dependency wrangler to v3.32.0 (#23404)9b90143
fix(client): engine loading on vercel & improved custom output dx (#22958)63c4535
chore(deps): update engines to 5.11.0-7.ea1d441684437cb0347ae41a974507fb424a3...4aee142
chore(deps): update engines to 5.11.0-6.6795ad985c527cdaf71c052574c604901054b...Updates
@t3-oss/env-nextjs
from 0.7.3 to 0.9.2Changelog
Sourced from
@t3-oss/env-nextjs
's changelog.Commits
e415846
chore(release): 📦 version packages (#187)ff17d1d
this works? (#186)c928a4a
chore(release): 📦 version... _Description has been truncated_