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.7.9^1.6.5→^1.15.8^0.10.5→^0.10.8^20.14.9→^20.19.27^4.1.14→^4.1.15^0.10.4→^0.10.9^0.22.7→^0.31.8^0.31.2→^0.45.1^5.4.1→^5.8.2^8.1.5→^8.2.4^5.16.1→^5.22.0^5.0.7→^5.0.10Release Notes
prisma/prisma (@prisma/client)
v5.22.0Compare Source
Today, we are excited to share the
5.22.0stable 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
tracingPreview 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
@uniqueinschema.prismadoes not generate SQL to do soPrisma
libquery_engine-debian-openssl-1.1.x.so.nodeprisma:engine:connectionspans have no parentprisma:engine:itx_runnerare disconnected from the treeitx_runnerspan and it's children are missing sometimeslibquery_engine-debian-openssl-1.1.x.so.nodeCredits
Huge thanks to @tmm1, @Takur0, @hinaloe, @andyjy, and @youxq for helping!
v5.21.1Compare Source
v5.21.0Compare Source
Today, we are excited to share the
5.21.0release 🎉🌟 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
tracingPreview 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.tracingis 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
driverAdaptersPreview 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.0Compare Source
🌟 Help us spread the word about Prisma by starring the repo or posting on X about the release. 🌟
Highlights
strictUndefinedChecksin PreviewWith Prisma ORM 5.20.0, the Preview feature
strictUndefinedCheckswill disallow any value that is explicitlyundefinedand 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
strictUndefinedChecksPreview feature is enabled, you will get a runtime error instead:We have also introduced the
Prisma.skipsymbol, 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.strictUndefinedCheckswill 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.typedSqlbug fixThank you to everyone who has tried out our
typedSqlPreview 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.generatewhen typedSql is enabled and enum contains hyphens.@prisma/internalsdidn't listts-toolbeltin dependencies.$extendsprevents 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.1Compare Source
Today, we are issuing the
5.19.1patch 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.0Compare Source
Today, we are excited to share the
5.19.0stable 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
typedSqlPreview feature, you’re able to write SQL queries in a newsqlsubdirectory of yourprismadirectory. These queries are then checked by Prisma during using the new--sqlflag ofprisma generateand added to your client for use in your code.To get started with TypedSQL:
Make sure that you have the latest version of
prismaand@prisma/clientinstalled:Enable the
typedSqlPreview feature in your Prisma Schema.Create a
sqlsubdirectory of yourprismadirectory.You can now add
.sqlfiles to thesqldirectory! Each file can contain one sql query and the name must be a valid JS identifier. For this example, say you had the filegetUsersWithPosts.sqlwith the following contents:Import your SQL query into your code with the
@prisma/client/sqlimport: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
driverAdaptersPreview feature and Cloudflare D1 support were resolved via prisma/prisma-engines#4970 and #24922max,min,eq, etc in queries when using Cloudflare D1.BigIntIDs whenrelationMode="prisma"was enabled and Cloudflare D1 was being used.Joins
someclauses when therelationJoinsPreview feature was enabled.MongoDB
The MongoDB driver for Rust (that our query engine users under the hood) had behavior that prioritized IPv4 connections over IPv6 connections. In IPv6-only environments, this could lead to significant "cold starts" where the query engine had to wait for IPv4 to fail before the driver would try IPv6.
With help from the MongoDB team, this has been resolved. The driver will now try IPv4 and IPv6 connections in parallel and then move forward with the first response. This should prevent cold start issues that have been seen with MongoDB in Prisma Accelerate.
Thank you to the MongoDB team!
Join us
Looking to make an impact on Prisma in a big way? We're now hiring engineers for the ORM team!
prisma-enginesRust 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.0Compare 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 are4and7, with4being 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 ofnullwhen accessed through a join using therelationJoinsPreview feature.Fixes and improvements
Prisma
Language tools (e.g. VS Code)
Share your feedback about Prisma ORM
We want to know how you like working with Prisma ORM in your projects! Please take our 2min survey and let us know what you like or where we can improve 🙏
Credits
Huge thanks to @mcuelenaere, @pagewang0, @Druue, @key-moon, @Jolg42, @pranayat, @ospfranco, @yubrot, @skyzh, @haaawk for helping!
v5.17.0Compare 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 formatcli 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
queryRawto 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.2Compare 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.15.8Compare Source
Bug Fixes
(es/minifier) Remove unused webpack-related code (#11397) (8e4eab4)
(es/minifier) Evaluate TemplateLiteral in BinaryExpression (#11406) (8d1b6f6)
(es/minifier) More strict check if cannot add ident when invoking IIFE (#11399) (03642aa)
Features
(es/minifier) Support BinaryExpression for Evaluator (#11390) (6c76f0a)
(es/transformer) Merge
static_blocks(#11403) (55a5083)Performance
(es/parser) Remove
Iteratorimplementation forLexer(#11393) (5941018)(es/parser) Optimize
do_outside_of_contextanddo_inside_of_context(#11394) (4210cf1)(es/parser) Remove
is_firstin lexer state (#11395) (97d903b)(es/parser) Use
byte_searchto optimizescan_jsx_token(#11398) (f9b4da2)Reduce binary size with panic=abort and ICU optimizations (#11401) (18088b2)
Refactor
(es/compiler) Drop the crate (#11407) (8faa14e)
(es/minifier) Move drop_console and unsafes from Pure to Optimizer (#11388) (ee40804)
(es/parser) Distinguish JsxText from Str (#11387) (63c4c44)
v1.15.7Compare Source
Bug Fixes
(es/minifier) Prevent unsafe sequence merging in
super()calls (#11381) (eb02780)(es/transformer) Fix variable declaration for nullish coalescing in else-if branches (#11384) (6746002)
(es/transforms) Update
_ts_rewrite_relative_import_extensionhelper code (#11382) (1ec444e)Features
private_properties_in_object(#11378) (769c9d2)Performance
ProgramData(#11374) (3639523)Refactor
v1.15.6Compare Source
v1.15.5Compare Source
Bug Fixes
(es/parser) Fix
bumplength (#11372) (ec5c1bc)(es/transforms) Adjust import rewriter pass before inject helpers pass (#11371) (8516991)
v1.15.4Compare Source
Bug Fixes
(es/compat) Preserve return value for single-property object destructuring (#11334) (847ad22)
(es/compat) Fix generator transform for compound assignments, for-in, and labeled break (#11339) (9b6bedd)
(es/compat) Destructuring evaluation order (#11337) (49d04c7)
(es/compat) Fix parameter default value evaluation order with object rest (#11352) (2ebb261)
(es/fixer) Preserve parens around IFFE in binary expressions within sequences (#11324) (a4c84ea)
(es/helpers) Avoid extra trap calls on excluded keys in object rest spread (#11338) (4662caf)
(es/minifier) Fix
debugcargo feature (#11325) (be86fad)(es/minifier) Fix optimization pass for
merge_imports(#11331) (ca2f7ed)(es/parser) Don't call
bump_bytesin thecontinue_ifofbyte_search!(#11328) (583619d)(es/parser) Support type-only string literal in import specifiers (#11333) (07762f1)
(es/parser) Handle TypeScript expressions in destructuring patterns (#11353) (160ec34)
(es/transformer) Complete
replace_this_in_exprimplementation (#11361) (58c4067)(es/transformer) Fix pass order (#11370) (373048a)
Features
(es/minifier) Optimize
typeof x == "undefined"totypeof x > "u"(#11367) (a5e144b)(es/parser) Support
no_parenparser option (#11359) (5b9d77c)(es/parser) Revert
no_parenparser option (#11362) (57a8731)(es/transfomer) Add modules to prepare porting (#11347) (68d740c)
(es/transform) Add common fields (#11346) (1a8759f)
(es/transformer) Merge
async-to-generator(#11355) (c388e87)(es/transformer) Merge
async_to_generator(#11358) (25f3a47)(es/transformer) Merge
object_rest_spread(#11357) (752188e)(es/transformer) Merge
nullish_coalescing(#11365) (5fb686a)(es/transformer) Merge
logical_assignment_operators(#11369) (94946fa)Performance
(es/compat) Merge
exponentation_operator(#11310) (0ef3637)(es/compat) Merge
optional_catch_binding(#11313) (468d20c)(es/compat) Use merged transformer (#11366) (c4a5e79)
(es/parser) Optimize
byte_search!(#11323) (67f67c1)(es/parser) Small optimization after byte-based lexer (#11340) (c92ea4e)
(es/parser) Use
slicerather than matching keywords (#11341) (b6ad2cb)(parser) Make all parsers work by byte instead of char (#11318) (725efd1)
v1.15.3Compare Source
Bug Fixes
(es/codegen) Restore missing top-level comments (#11302) (0998c93)
(es/codegen) Emit comments of all nodes (#11314) (387ee0f)
(es/minifier) Prevent compress.comparisons from transforming expressions with side effects (#11256) (58a9d81)
(es/minifier) Remove unused arrow functions in dead code elimination (#11319) (88c6ac7)
(es/parser) Make the span of Program start at input start (#11199) (b56e008)
(es/plugin) Use
#[cfg]to avoid compilation error (#11316) (f615cdb)(es/quote) Replace usage of
swc_atomswithswc_core::atoms(#11299) (c1e32fa)Miscellaneous Tasks
Performance
(es/compat) Merge
regexppass intoTransformer(#11307) (440b391)(es/compat) Merge
export_namespace_fromtoTransformer(#11309) (7a528ce)Refactor
v1.15.2Compare Source
Bug Fixes
filenameoption fromprint()(#11264) (0d4d2d9)Features
(es/minifier) Drop empty constructors during minification (#11250) (2cea7dd)
(es/visit) Add context parameter to VisitMutHook trait (#11254) (8645d0d)
Performance
(es/parser) Inline
skip_space(afb824a)(es/parser) Eliminate the outer loop of
skip_block_comment(#11261) (e41c0ac)(es/plugin) Use shared tokio runtime to avoid creation overhead (#11267) (707026b)
v1.15.1Compare Source
Bug Fixes
(cli) Print filename to stderr when compiling (#11249) (d66dab5)
(es/minifier) Prevent array destructuring optimization in assignment contexts (#11221) (99d8b0a)
Features
(es/compiler) Determine module structure (#11238) (415019c)
(ts/fast-strip) Add a binding crate for nodejs/amaro (#11236) (f0829af)
(visit) Add hook APIs for visitors (#11242) (3a141ed)
Miscellaneous Tasks
syntax_extand prepare AI-based porting (#11239) (15639c0)Performance
(common) Improve
StringInput#bump_bytes(#11230) (6a9fa49)(es/parser) Optimize
skip_space(#11225) (541d252)Refactor
v1.15.0Compare Source
Bug Fixes
(cli) Update plugin template to use VisitMut API (#11218) (6a87e41)
(hstr) Skip only
\ufor unicode (#11216) (eda01e5)Features
from_bytesfor Wtf8Buf and Wtf8 (#11211) (1430489)Performance
(atoms) Remove temporary allocations in rkyv serialize and deserialize (#11202) (85e6e8a)
(es/parser) Remove
startinState(#11201) (b9aeaa3)(plugin) Avoid data copy when transformation finished (#11223) (af134fa)
Refactor
(ast) Introduce flexible serialization encoding for AST (#11100) (8ad3647)
(plugin) Switch plugin abi to flexible serialization (#11198) (e5feaf1)
Flatten cargo workspaces (#11213) (6223100)
Testing
v1.14.0Compare Source
Bug Fixes
(atoms) Fix broken quote macro (#11195) (3485179)
(es/ast) Fix unicode unpaired surrogates handling (#11144) (845512c)
(hstr) Fix unsoundness of
wtf8's transmutation (#11194) (f27e65b)Features
nullish_coalescingintoCompiler(#11157) (dd6f71b)Miscellaneous Tasks
default-features = false(#11193) (85d855f)Performance
had_line_break_before_last(#11200) (7b5bcd7)Refactor
(bindings) Adjust compile options (#11190) (4c6df95)
(bindings) Add
opt-level = sto more crates (#11191) (ed63413)(es/ast) Cherry-pick #10763 (#11182) (e93ffde)
(es/parser) Detach
swc_ecma_parserfromswc_ecma_lexer(#11148) (94f175d)v1.13.21Compare Source
Bug Fixes
(bindings) Improve ARM64 and Alpine Linux (musl) binary loading and validation (#11173) (f9be4d7)
(es/codegen) Encode non-ASCII chars in regex with ascii_only option (#11155) (b6f4d1f)
(es/compat) Apply
Array.prototype.slicetoargumentsin loose spread (#11122) (66428a2)(es/compat) Handle sparse arrays correctly in generator transforms (#11131) (9cd4334)
(es/compat) Preserve AutoAccessor to prevent panic (#11150) (101c3b7)
(es/decorators) Emit correct metadata for enum parameters (#11154) (630484f)
(es/helpers) Fix SuppressedError argument order in explicit resource management (#11172) (7693fb9)
(es/minifier) Fix inlining of hoisted functions (#11159) (bd55d30)
(es/minifier) Fix inlining of hoisted functions in param (#11161) (5a4088d)
**(es/parser)
Configuration
📅 Schedule: Branch creation - "before 6am" in timezone Asia/Jakarta, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.