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.
Note that this release enables rules to have more restrictive default options as configured in the strict and strict-type-checked configs. See #8364 for more details.
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.
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 11 updates:
5.10.2
5.11.0
14.1.3
14.1.4
14.1.3
14.1.4
1.71.1
1.72.0
0.33.2
0.33.3
20.11.25
20.11.30
18.2.64
18.2.69
18.2.21
18.2.22
7.2.0
7.3.1
5.10.2
5.11.0
5.4.2
5.4.3
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
eslint-config-next
from 14.1.3 to 14.1.4Release notes
Sourced from eslint-config-next's releases.
Commits
f1fc357
v14.1.4Updates
next
from 14.1.3 to 14.1.4Release notes
Sourced from next's releases.
Commits
f1fc357
v14.1.4e6a117b
(backport) Update React from 60a927d04 to 4b84f1161 (#63476)c227315
update assertion due to stack trace change3aae252
test: switch order of tests to avoid flakniess (#63482)4804982
fix broken create-next-app tests (#63019)81114f3
fix revalidation issue with route handlers (#63213)944a84c
ensure mpa navigations to the same URL work after restoring from bfcache (#63...21e11f1
Ensure PromiseLikeOfReactNode is not included in .d.ts files (#63185)531cdb5
Fix metadata url cases should not append with trailing slash (#63050)a3707f5
feat: adddeploymentId
config (#63198)Updates
sass
from 1.71.1 to 1.72.0Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
Commits
ce16b35
Cut a release (#2194)9af6bbf
Properly handlepkg:
imports with args (#2193)0330491
Update to node 20 (#2192)48e2d0c
Preserve underscores inVariableExpression.toString()
(#2185)6e2d637
Allow adjacent forward slashes in plain CSS expressions (#2190)fa4d909
Bump softprops/action-gh-release from 1 to 2 (#2191)fd67fe6
[Hotfix Node Package Importer]- Handle subpath without extensions (#2184)Updates
sharp
from 0.33.2 to 0.33.3Changelog
Sourced from sharp's changelog.
Commits
55466f1
Release v0.33.3ede8217
Prerelease v0.33.3-rc.02689fb4
Bump depseaf31a5
Docs: changelog and credit for #4036aa1bbcb
Guard heif bitdepth property for prebuilt binaries3c26080
Add bitdepth option to heif output (#4036)dc07fd4
Upgrade to libvips v8.15.27bc74fe
Ensure clone takes deep copy of options #4029c5f318e
Docs: add changelog and credit for #40288fbb1cd
Ensure text.wrap property can accept word-char as value (#4028)Updates
@types/node
from 20.11.25 to 20.11.30Commits
Updates
@types/react
from 18.2.64 to 18.2.69Commits
Updates
@types/react-dom
from 18.2.21 to 18.2.22Commits
Updates
@typescript-eslint/parser
from 7.2.0 to 7.3.1Release notes
Sourced from
@typescript-eslint/parser
's releases.... (truncated)
Changelog
Sourced from
@typescript-eslint/parser
's changelog.Commits
5995614
chore(release): publish 7.3.14cf8ec7
chore(release): publish 7.3.0883f220
fix: correctengines.node
constraints inpackage.json
(#8671)Updates
prisma
from 5.10.2 to 5.11.0Release notes
Sourced from prisma's releases.
... (truncated)
Commits
9b90143
fix(client): engine loading on vercel & improved custom output dx (#22958)7563f2b
chore(deps): update devdependencies patch (non-major) (#23375)4cd66c6
chore(deps): update definitelytyped (#23304)5246dd9
chore(deps): update devdependencies patch (non-major) (#23216)5e2838a
chore(deps): update dependency esbuild to v0.20.1 (#23214)a4ca09f
fix(cli): studio when used with non-ascii chars (#23229)Updates
typescript
from 5.4.2 to 5.4.3Release notes
Sourced from typescript's releases.
Commits
6ea273c
Update LKGcd06f92
🤖 Pick PR #57853 (Revert PR 56161) into release-5.4 (#57854)ca8e720
Update LKG010b188
release-5.4: Revert PR 56087 (#57850)fc7006c
Update LKGb45a418
🤖 Pick PR #57801 (Distribute mapped types over array/...) into release-5.4 (#...609560f
Bump version to 5.4.3 and LKGf42605f
🤖 Pick PR #57746 (Revert "Defer processing of nested ...) into release-5.4 (#...485c7c5
Revert "Allow (non-assert) type predicates to narrow by discriminant"… (#57795)7f11456
🤖 Pick PR #57751 (Exclude generic string-like types f...) into release-5.4 (#...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