fix(deps): update all non-major dependencies #231
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.16.1
->^5.22.0
^0.3.14
->^0.5.0
^1.6.5
->^1.9.2
^20.14.9
->^20.17.6
^0.22.7
->^0.28.0
^0.31.2
->^0.36.1
^8.1.5
->^8.1.9
^5.16.1
->^5.22.0
^5.0.7
->^5.0.10
Release Notes
prisma/prisma (@prisma/client)
v5.22.0
Compare Source
Today, we are excited to share the
5.22.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or posting on X about the release.
Highlights
Further Tracing Improvements
In our ongoing effort to stabilize the
tracing
Preview feature, we’ve made our spans compliant with OpenTelemetry Semantic Conventions for Database Client Calls. This should lead to better compatibility with tools such as DataDog and Sentry.We’ve also included numerous bug fixes that should make this Preview feature easier to work with.
Metrics bug fix
Occasionally, connection pool metrics would become negative or grow unbounded. In this release, connection pool metrics should stay consistent.
Connection Pool Timeout fix
In a specific case, there could be issues where fetching a new connection from the connection pool would time out, regardless of the state of the application and connection pool. If you have experience connection pool issues accessing a PostgreSQL database with TLS encryption in a resource-constrained environment (such as Function-as-a-Service offerings or very small VPS) this should resolve those issues.
Special thanks to @youxq for their pull request and help resolving this issue!
Join us
Looking to make an impact on Prisma in a big way? We're hiring!
Learn more on our careers page: https://www.prisma.io/careers
Fixes and improvements
Prisma Migrate
@unique
inschema.prisma
does not generate SQL to do soPrisma
libquery_engine-debian-openssl-1.1.x.so.node
prisma:engine:connection
spans have no parentprisma:engine:itx_runner
are disconnected from the treeitx_runner
span and it's children are missing sometimeslibquery_engine-debian-openssl-1.1.x.so.node
Credits
Huge thanks to @tmm1, @Takur0, @hinaloe, @andyjy, and @youxq for helping!
v5.21.1
Compare Source
v5.21.0
Compare Source
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.Fixes and improvements
Prisma Engines
Credits
Huge thanks to @austin-tildei, @LucianBuzzo, @mcuelenaere, @pagewang0, @key-moon, @pranayat, @yubrot, @skyzh for helping!
v5.20.0
Compare Source
🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
strictUndefinedChecks
in PreviewWith Prisma ORM 5.20.0, the Preview feature
strictUndefinedChecks
will disallow any value that is explicitlyundefined
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:
In Prisma ORM 5.19.0 and below, this could result in unintended behavior. In Prisma ORM 5.20.0, if the
strictUndefinedChecks
Preview feature is enabled, you will get a runtime error instead:We have also introduced the
Prisma.skip
symbol, which will allow you to get the previous behavior if desired.From Prisma ORM 5.20.0 onward, we recommend enabling
strictUndefinedChecks
, along with the TypeScript compiler optionexactOptionalPropertyTypes
, which will help catch cases of undefined values at compile time. Together, these two changes will help protect your Prisma queries from potentially destructive behavior.strictUndefinedChecks
will be a valid Preview feature for the remainder of Prisma ORM 5. With our next major version, this behavior will become the default and the Preview feature will be “graduated” to Generally Available.If you have any questions or feedback about
strictUndefinedChecks
, please ask/comment in our dedicated Preview feature GitHub discussion.typedSql
bug fixThank you to everyone who has tried out our
typedSql
Preview feature and provided feedback! This release has a quick fix for typescript files generated when Prisma Schema enums had hyphens.Fixes and improvements
Prisma
not available
.generate
when typedSql is enabled and enum contains hyphens.@prisma/internals
didn't listts-toolbelt
in dependencies.$extends
prevents model comments from being passed to TypeScriptPrisma Engines
Credits
Huge thanks to @mcuelenaere, @pagewang0, @key-moon, @pranayat, @yubrot, @thijmenjk, @mydea, @HRM, @haaawk, @baileywickham, @brian-dlee, @nickcarnival, @eruditmorina, @nzakas, and @gutyerrez for helping!
v5.19.1
Compare Source
Today, we are issuing the
5.19.1
patch release.What's Changed
We've fixed the following issues:
Full Changelog: prisma/prisma@5.19.0...5.19.x, prisma/prisma-engines@5.19.0...5.19.x
v5.19.0
Compare Source
Today, we are excited to share the
5.19.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
Introducing TypedSQL
TypedSQL is a brand new way to interact with your database from Prisma Client. After enabling the
typedSql
Preview feature, you’re able to write SQL queries in a newsql
subdirectory of yourprisma
directory. These queries are then checked by Prisma during using the new--sql
flag ofprisma generate
and added to your client for use in your code.To get started with TypedSQL:
Make sure that you have the latest version of
prisma
and@prisma/client
installed:Enable the
typedSql
Preview feature in your Prisma Schema.Create a
sql
subdirectory of yourprisma
directory.You can now add
.sql
files to thesql
directory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the filegetUsersWithPosts.sql
with the following contents:Import your SQL query into your code with the
@prisma/client/sql
import:There’s a lot more to talk about with TypedSQL. We think that the combination of the high-level Prisma Client API and the low-level TypedSQL will make for a great developer experience for all of our users.
To learn more about behind the “why” of TypedSQL be sure to check out our announcement blog post.
For docs, check out our new TypedSQL section.
Bug fixes
Driver adapters and D1
A few issues with our
driverAdapters
Preview feature and Cloudflare D1 support were resolved via https://github.com/prisma/prisma-engines/pull/4970 and https://github.com/prisma/prisma/pull/24922max
,min
,eq
, etc in queries when using Cloudflare D1.BigInt
IDs whenrelationMode="prisma"
was enabled and Cloudflare D1 was being used.Joins
some
clauses when therelationJoins
Preview feature was enabled.Join us
Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team!
prisma-engines
Rust codebase. TypeScript knowledge (or, again, a desire to learn) is a plus.Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh for helping!
v5.18.0
Compare Source
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
Native support for UUIDv7
Previous to this release, the Prisma Schema function
uuid()
did not accept any arguments and created a UUIDv4 ID. While sufficient in many cases, UUIDv4 has a few drawbacks, namely that it is not temporally sortable.UUIDv7 attempts to resolve this issue, making it easy to temporally sort your database rows by ID!
To support this, we’ve updated the
uuid()
function in Prisma Schema to accept an optional, integer argument. Right now, the only valid values are4
and7
, with4
being the default.Bug squashing
We’ve squashed a number of bugs this release, special thanks to everyone who helped us! A few select highlights are:
prismaSchemaFolder
.Json[]
fields will now return[]
instead ofnull
when accessed through a join using therelationJoins
Preview feature.Fixes and improvements
Prisma
Language tools (e.g. VS Code)
Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh, @haaawk for helping!
v5.17.0
Compare Source
🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Highlights
VSCode extension improvements
We’re happy to introduce some cool new features that will make your experience with the Prisma VSCode extension even better!
Find references across schema files
The ability to hop between references of a given symbol is really useful in application code and now with the introduction of multi-file schema, we think it’s the perfect time to bring this feature to the VSCode extension!
With the 5.17.0 release, you’ll now have the ability to use the native “find references” feature to find any usage of a given symbol
Added context on hover
When hovering over a symbol that references a view, type, enum, or any other block with multiple values, you’ll now see a handy pop out that shows what is in that block at a glance.
Additional quick fixes
We’ve taken some fixes made by the
prisma format
cli command and made them quick fixes available to the VSCode Extension. Now, when you have forget a back relation or relation scalar field, you’ll now see in real time what is wrong and have the option to fix it via the extension.QueryRaw performance improvements
We’ve changed the response format of
queryRaw
to decrease its average size which reduces serialization CPU overhead.When querying large data sets, we expect you to see improved memory usage and up to 2x performance improvements.
Fixes and improvements
Prisma Client
This is the 10th instance of Prisma Client being started. Make sure this is intentional.
warningPrisma
Language tools (e.g. VS Code)
Credits
Huge thanks to @key-moon, @pranayat, @yubrot, @skyzh for helping!
v5.16.2
Compare Source
Today, we are issuing the 5.16.2 patch release to fix an issue in Prisma client.
Fix in Prisma Client
swc-project/swc (@swc/core)
v1.9.2
Compare Source
Bug Fixes
Features
inline_script
support (#9729) (e732a36)v1.9.1
Compare Source
Bug Fixes
ends_with_alpha_num
(#9720) (569c799)v1.9.0
Compare Source
Bug Fixes
(es/minifier) Avoid generating reserved mangling names (#9710) (b49317a)
(es/plugin) Revert #9696 (#9717) (772f023)
Features
isolatedDeclarations
updates (#9712) (6194044)Miscellaneous Tasks
v1.8.0
Compare Source
Bug Fixes
(es/typescript) Handle multiline type parameters in async arrow functions (#9704) (c5ed19c)
(es/typescript) Handle ASI hazards in fast type strip (#9707) (c135f71)
Features
(es) Add
es2023
andes2024
toEsVersion
(#9700) (5a6f0e6)(es/plugin) Introduce
manual-tokio-runtmie
toswc
crate (#9701) (97298c4)Performance
(common) Make character analysis lazy (#9696) (1c3eaf6)
(es/renamer) Modify parallel renaming threshold (#9706) (91a9106)
v1.7.42
Compare Source
Bug Fixes
(es/generator) Fix code generation for
break
in nested while (#9684) (65872af)(es/parser) Parse
await using()
call (#9693) (bcf05de)(es/resolver) Skip resolving lowercase
JSXIdentifiers
(#9686) (6ed1715)(es/types) Add
jsc.experimental.keepImportAssertions
to types (#9691) (4b4dcfa)Features
(es/minifier) Optimize switch with side effect and termination tests (#9677) (7344a63)
(es/parser) Ability to get script's potential module errors (#9682) (2bbd1e8)
Miscellaneous Tasks
Performance
(es) Cache
current_dir()
system calls (#9683) (7aab945)(es/lints) Disable lints by default (#9689) (4d887d0)
(visit) Introduce
Pass
API and adjust visitor APIs for it (#9680) (581aafb)v1.7.40
Compare Source
Bug Fixes
(bindings) Update napi to handle string with
\0
(#9665) (8f45eaf)(bindings/node) Add
VisitTsPropertySignature
(#9670) (715c42c)(es/codegen) Improve EndsWithAlphaNum (#9675) (ba2a942)
(es/renamer) Check
preserved
in normal renaming mode (#9666) (87b4e10)(typescript) Check whether the method is abstract when checking
is_overload
(#9678) (78500af)Documentation
Miscellaneous Tasks
v1.7.39
Compare Source
Bug Fixes
(es/compat) Add missing visit children for
destructuring
(#9658) (32116a0)(es/parser) Correct
>
and<
when exit type context (#9653) (abffc07)(es/proposal) Use
tsc
version of explicit resource management (#9585) (f735108)(wasm-typescript) Fix option types of functions (#9662) (4cbe33c)
Features
Miscellaneous Tasks
v1.7.36
Compare Source
Bug Fixes
(es) Run esnext transforms on esnext target (#9644) (8a19201)
(es/codegen) Emit space after div if rhs has leading comment (#9631) (f2be26e)
(es/lints) Correct the false positive error of TS2309 (#9635) (f74c1f3)
(es/minifier) Only merge last if return (#9633) (6f52949)
(es/minifier) Check type of assignment target before merging assignments (#9617) (4436621)
Features
(es) Introduce
runPluginFirst
for Wasm plugins (#9645) (3d3e434)(es/minifier) Support unary negate in
cast_to_number
(#9642) (88a2186)Miscellaneous Tasks
v1.7.35
Compare Source
Bug Fixes
(ci) Fix target triples (#9622) (f625035)
(es/codegen) Fix source map so it works with Sentry (#9627) (9c90a73)
(es/minifier) Compress consecutive return statements properly (#9620) (8263da1)
(es/module) Allow TypeScript nodes for
Rewriter
(#9606) (4ee45ac)(es/testing) Revert #9264 (#9621) (85f5e5b)
(html/minifier) Fix HTML minifier TS types (#9615) (7b98bb5)
Features
(bindings/html) Accept
Buffer|string
instead ofBuffer
(#9625) (62edb36)(es/preset-env) Update preset-env data (#9573) (9a11d34)
(es/testing) Parse test code as a
Program
instead of aModule
(#9264) (166b858)(es/testing) Parse test code as a
Program
instead of aModule
(#9623) (bfea322)Miscellaneous Tasks
hstr
(#9612) (e2e9a9c)Performance
(es) Avoid needless string comparisons (#9613) (ec0a62c)
(es/codegen) Reduce usage of
tracing::instrument
(#9604) (2f06fc5)(es/transforms) Copy benchmarks from
oxc
(#9602) (24c3a0c)(es/typescript) Reduce unnecessary visits (#9605) (866af6c)
Refactor
Build
rustc
tonightly-2024-10-07
(#9624) (6a3b0fc)v1.7.28
Compare Source
Bug Fixes
(ast) Add
archive(check_bytes)
to all relevant AST types (#9574) (185d6f5)(cli) Exclude non-files from get_files_list (#9560) (85cc2bd)
(es/codegen) Fix wrong sourcemap when there are new lines in tpl (#9578) (cf74382)
(es/compat) Skip
getter
andsetter
as FlowHelperfunction
do (#9580) (14cfd70)(es/isolated-dts) Preserve comments (#9572) (6d15d9c)
(es/minifier) Avoid decl name when mangle with eval (#9546) (e2242c4)
(es/minifier) Check variable type while optimizing
+=
(#9575) (04016e9)(es/module) Rewrite import specifier in type declaration (#9577) (fc0ba2a)
(plugin) Don't panic when ast byte not match (#9562) (c36871a)
Miscellaneous Tasks
wasmer
tov4.3.7
(#9557) (190d6f0)Testing
v1.7.26
Compare Source
v1.7.25
Compare Source
Bug Fixes
(es/codegen) Handle minify number (#9541) (8b1e442)
(es/codegen) Ensure decorators are emitted first in TS paramters (#9545) (47ef38d)
Features
Span
andBytePos
to handle#__PURE__
(#9539) (f63a481)Miscellaneous Tasks
v1.7.24
Compare Source
Bug Fixes
(es/compat) Handle label block in constructor (#9528) (c43dbad)
(es/decorator) Add support for private access expressions in legacy decorators (#9535) (62ed065)
(es/minifier)
typeof
class should befunction
(#9522) (c7fdd6b)(es/minifier) Prevent removing side effects from accessing getter (#9530) (8513816)
(es/typescript) Handle enum in single statement (#9532) (84b0043)
v1.7.23
Compare Source
Bug Fixes
Performance
(es/compat) Reimplement constructor transform (#9519) (4b85a92)
(es/utils) Rewrite inject_after_super (#9496) (c562cfa)
v1.7.22
Compare Source
Bug Fixes
v1.7.21
Compare Source
Bug Fixes
v1.7.19
Compare Source
Bug Fixes
in
(#9508) (7d6269e)Features
(es/minifier) Support mangle cache (#9489) (af922d8)
(plugin/runner) Improve error message (#9502) (da52930)
Miscellaneous Tasks
Refactor
prepend_stmts
(#9493) (faec8c1)v1.7.18
Compare Source
v1.7.14
Compare Source
Bug Fixes
(common) Use
SourceMap::adjust_mappings
in correct order (#9447) (05961eb)(es) Preserve more comments (#9449) (673655c)
Features
Refactor
VisitAll
(#9448) (8845b76)v1.7.12
Compare Source
Bug Fixes
(common) Do not use
adjust_mappings
fromsourcemap
crate (#9437) (563c162)(es) Mark TypeScript nodes as reachable from
Evaluator
(#9440) (308e5ec)(es/compat) Init this in sub class constructor for async (#9446) (bfaf31b)
(es/decorators) Fix metadata for accessors (#9444) (99738ef)
Miscellaneous Tasks
v1.7.11
Compare Source
Bug Fixes
(es) Improve sourcemap url error messages. (#9422) (230d1d9)
Configuration
📅 Schedule: Branch creation - "before 6am" in timezone Asia/Jakarta, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.