Fixed a bug where migrations were not using shadow database correctly in some edge cases
5.21.0
Today, we are excited to share the 5.21.0 release 🎉
🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Better support for tracing in MongoDB
The tracing Preview feature now has full support for MongoDB with previously missing functionality now implemented. This is a part of the ongoing effort to stabilize this Preview feature and release it in General Availability.
tracing is a Preview feature that enables built-in support for OpenTelemetry instrumentation inside the Prisma Client and provides deep insights into the performance and timing of your queries. See our documentation for more information.
For an easy to use and zero-configuration tracing instrumentation tool with a dashboard that provides an overview of your queries, statistics, and AI-powered recommendations, try Prisma Optimize.
WebAssembly engine size decrease for edge functions
Due to recent changes, some users experienced a steep increase of the bundle size in Prisma 5.20 when using the driverAdapters Preview feature, going over the 1 MB limit on the free tier of Cloudflare Workers. This has now been fixed.
🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
strictUndefinedChecks in Preview
With Prisma ORM 5.20.0, the Preview feature strictUndefinedChecks will disallow any value that is explicitly undefined and will be a runtime error. This change is direct feedback from this GitHub issue and follows our latest proposal on the same issue.
To demonstrate the change, take the following code snippet:
prisma.table.deleteMany({
where: {
// If `nullableThing` is nullish, this query will remove all data.
email: nullableThing?.property,
}
})
</tr></table>
To install Sass 1.80.3, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Fix a bug where @import url("...") would crash in plain CSS files.
Improve consistency of how warnings are emitted by different parts of the compiler. This should result in minimal user-visible changes, but different types of warnings should now respond more reliably to flags like --quiet, --verbose, and --silence-deprecation.
To install Sass 1.80.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
@import is now officially deprecated, as are global built-in functions that are available within built-in modules. See the Sass blog post for more details on the deprecation process.
Fix a bug where @import url("...") would crash in plain CSS files.
Improve consistency of how warnings are emitted by different parts of the
compiler. This should result in minimal user-visible changes, but different
types of warnings should now respond more reliably to flags like --quiet,
--verbose, and --silence-deprecation.
1.80.2
Fix a bug where deprecation warnings were incorrectly emitted for the
plain-CSS invert() function.
1.80.1
Fix a bug where repeated deprecation warnings were not automatically limited.
1.80.0
@import is now officially deprecated, as are global built-in functions that
are available within built-in modules. See the Sass blog post for more
details on the deprecation process.
Embedded Host
Fix an error that would sometimes occur when deprecation warnings were
emitted when using a custom importer with the legacy API.
1.79.6
Fix a bug where Sass would add an extra */ after loud comments with
whitespace after an explicit */ in the indented syntax.
Potentially breaking bug fix: Adding text after an explicit */ in the
indented syntax is now an error, rather than silently generating invalid CSS.
Embedded Host
Properly export the SassBoolean type.
1.79.5
Changes to how selector.unify() and @extend combine selectors:
The relative order of pseudo-classes (like :hover) and pseudo-elements
(like ::before) within each original selector is now preserved when
they're combined.
... (truncated)
Commits
76cfd6b Fix @import url("...") in plain CSS (#2398)
60d440a Emit all warnings in the evaluator (#2396)
Note: we removed LogCallback from the TS definitions because the underlying library didn't actually support these. If this causes issues in your apps, we recommend you remove references to LogCallbacks, since such code was not being executed anyways. See #2513 and the issue linked therein.
Fixed a bug where migrations were not using shadow database correctly in some edge cases
5.21.0
Today, we are excited to share the 5.21.0 release 🎉
🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Better support for tracing in MongoDB
The tracing Preview feature now has full support for MongoDB with previously missing functionality now implemented. This is a part of the ongoing effort to stabilize this Preview feature and release it in General Availability.
tracing is a Preview feature that enables built-in support for OpenTelemetry instrumentation inside the Prisma Client and provides deep insights into the performance and timing of your queries. See our documentation for more information.
For an easy to use and zero-configuration tracing instrumentation tool with a dashboard that provides an overview of your queries, statistics, and AI-powered recommendations, try Prisma Optimize.
WebAssembly engine size decrease for edge functions
Due to recent changes, some users experienced a steep increase of the bundle size in Prisma 5.20 when using the driverAdapters Preview feature, going over the 1 MB limit on the free tier of Cloudflare Workers. This has now been fixed.
🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
strictUndefinedChecks in Preview
With Prisma ORM 5.20.0, the Preview feature strictUndefinedChecks will disallow any value that is explicitly undefined and will be a runtime error. This change is direct feedback from this GitHub issue and follows our latest proposal on the same issue.
To demonstrate the change, take the following code snippet:
prisma.table.deleteMany({
where: {
// If `nullableThing` is nullish, this query will remove all data.
email: nullableThing?.property,
}
})
</tr></table>
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 16 updates in the / directory:
5.18.0
5.21.1
0.0.22
0.0.25
6.9.14
6.9.15
6.4.15
6.4.16
9.13.0
9.13.1
5.0.0
5.0.1
10.0.0
10.0.1
11.1.0
11.1.1
1.77.8
1.80.3
3.14.2
3.15.0
9.0.6
9.0.7
22.7.5
22.7.7
18.3.3
18.3.11
18.3.0
18.3.1
5.18.0
5.21.1
5.5.4
5.6.3
Updates
@prisma/client
from 5.18.0 to 5.21.1Release notes
Sourced from
@prisma/client
's releases.... (truncated)
Commits
a9dd792
chore(deps): patch 5.21.x 5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36 (...6819678
chore(deps): update engines to 5.21.0-36.08713a93b99d58f31485621c634b04983ae0...b11a6c2
feat(client): Support prisma+postgres URL scheme for postgres migrations (#25...5c59fac
chore(deps): update engines to 5.21.0-33.edd552ca6fe6bb4ebbfe57bafc00a55aef8e...6792f13
test(e2e): bumped "@prisma/extension-accelerate
" to 1.2.1, fix failing e2e te...7aae7ec
chore(deps): update engines to 5.21.0-32.6a192e231962f2731353b2df0d76ad5a1227...9952c28
test(client): add count and aggregate tracing tests (#25385)d43178a
chore(deps): update engines to 5.21.0-31.00f0d739277ee51ca227615ad3f1c4c36eea...4c6498f
chore(client): remove dead code in fixtures/generate.ts (#25351)f19a3e2
chore(deps): update engines to 5.21.0-8.031f4d3fc290d071071bf02083dc6e7b78346...Updates
@react-email/components
from 0.0.22 to 0.0.25Release notes
Sourced from
@react-email/components
's releases.Changelog
Sourced from
@react-email/components
's changelog.... (truncated)
Commits
6612726
chore: Bump for release (#1654)f48c7f5
chore: Bump for release (#1642)07e931b
chore: Version packages7ce855f
chore: Bump for release (canary) (#1592)6b8ad7d
refactor: Simplify types and remove unused babel config files (#1583)c2ca8d0
chore: Bump for release (canary) (#1566)e291281
chore: Bump for release (canary) (#1559)fa3918b
chore: Bump for release (canary) (#1554)3caaf53
chore: Add direct support for React 19 (#1474)Updates
nodemailer
from 6.9.14 to 6.9.15Release notes
Sourced from nodemailer's releases.
Changelog
Sourced from nodemailer's changelog.
Commits
81de9eb
chore(master): release 6.9.15 [skip-ci] (#1668)79b8293
fix(mime): Added GeoJSON closes #1637 (#1665)baa28f6
fix: Fix memory leak (#1667)Updates
@types/nodemailer
from 6.4.15 to 6.4.16Commits
Updates
react-intersection-observer
from 9.13.0 to 9.13.1Release notes
Sourced from react-intersection-observer's releases.
Commits
7c6939a
Merge pull request #701 from thebuilder/fix/align-options-with-domabb4ee8
fix: align IntersectionObserver options with DOM APIb6ef3ce
Merge pull request #698 from thebuilder/fix/action-install-playwright4193313
ci: fix install playwright correctly in test runUpdates
rehype-format
from 5.0.0 to 5.0.1Release notes
Sourced from rehype-format's releases.
Commits
0d50550
5.0.11d9bb05
Refactor to externalize core ashast-util-format
5cdf41e
Refactor some docs69e189b
Refactor Actions75a0ecc
Refactor to use@import
sae554c2
Add declaration mapsbc9434d
Add.tsbuildinfo
to.gitignore
bbffd3c
Update dev-dependenciesUpdates
rehype-stringify
from 10.0.0 to 10.0.1Commits
1a401ac
10.0.14e9cee5
rehype: updaterehype-stringify
a107a4c
stringify: 7.0.012ff83d
cli: 9.0.0ab3e8e3
10.0.03b4aa95
cli: updateunified-args
ab485ef
rehype: updateunified
e282d3c
Update dev-dependenciesb653141
Update list of plugins98910d4
Refactor proseUpdates
remark-rehype
from 11.1.0 to 11.1.1Release notes
Sourced from remark-rehype's releases.
Commits
bd04dac
11.1.1f0cce2d
Fix mutate support inunified-engine
e4576c0
Refactor to use@import
sc62d719
Add declaration maps364ee71
Remove license yearec18ee9
Update Actions7e6d050
Add.tsbuildinfo
to.gitignore
93fc0b5
Update dev-dependenciesUpdates
sass
from 1.77.8 to 1.80.3Release notes
Sourced from sass's releases.
... (truncated)
Changelog
Sourced from sass's changelog.
... (truncated)
Commits
76cfd6b
Fix@import url("...")
in plain CSS (#2398)60d440a
Emit all warnings in the evaluator (#2396)01b2a5b
Fix setup-node (#2395)2ad2133
Don't emit warnings for plain-CSSinvert()
(#2394)e6391d3
Always limit the repetition of loggers (#2391)ab19f94
Deprecate@import
and global builtins (#2282)f7b2e63
Fix GitHub Actions config (#2387)1e27aeb
Add a changelog entry for sass/embedded-host-node#338 (#2384)73ff9a9
Don't generate extra*/
s for trailing whitespace in Sass (#2383)164224f
Update QEMU (#2382)Updates
winston
from 3.14.2 to 3.15.0Release notes
Sourced from winston's releases.
Commits
195e55c
3.15.03a54777
remove logcallback (#2513)f110f61
chore(docs): Update README.md w/ usage comments (#2507)f5dde86
Bump nyc from 15.1.0 to 17.1.0 (#2511)d1b8dc6
Bump@babel/cli
from 7.24.7 to 7.25.6 (#2512)564161a
Bump@babel/preset-env
from 7.24.8 to 7.25.4 (#2506)eb7e315
Bump mocha from 10.7.0 to 10.7.3 (#2500)22aab6d
Unified Handler Tests (#2020)Updates
@types/jsonwebtoken
from 9.0.6 to 9.0.7Commits
Updates
@types/node
from 22.7.5 to 22.7.7Commits
Updates
@types/nodemailer
from 6.4.15 to 6.4.16Commits
Updates
@types/react
from 18.3.3 to 18.3.11Commits
Updates
@types/react-dom
from 18.3.0 to 18.3.1Commits
Updates
prisma
from 5.18.0 to 5.21.1Release notes
Sourced from prisma's releases.
... (truncated)
Commits
252920b
chore(cli): Bump prisma studio (#25431)8957496
feat(client): Typed SQL (#24907)f3856a9
chore(deps): update devdependencies patch (non-major) (#24813)ce552f3
feat(cli): remove Optimize specific login in Platform CLI (#25036)26c8d91
feat(cli): Chokidar-based watch (#24983)Updates
typescript
from 5.5.4 to 5.6.3Release notes
Sourced from typescript's releases.
... (truncated)
Commits
d48a5cf
Bump version to 5.6.3 and LKGfefa70a
🤖 Pick PR #60083 (Don't issue implicit any when obtai...) into release-5.6 (#...ff71692
[release-5.6] Remove tsbuildInfo specification error now that we need it for ...1f44dcf
🤖 Pick PR #60157 (fix automatic type acquisition) into release-5.6 (#60169)a7e3374
Bump version to 5.6.2 and LKG2063357
🤖 Pick PR #59708 (LEGO: Pull request from lego/hb_537...) into release-5.6 (#...4fe7e41
🤖 Pick PR #59670 (fix(59649): ts Move to a new file d...) into release-5.6 (#...1a03e53
🤖 Pick PR #59761 (this
can be nullish) into release-5.6 (#59762)6212132
Update LKGbbb5faf
🤖 Pick PR #59542 (Fixing delay caused in vscode due t...) into release-5.6 (#...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