Open
Conversation
e4590f8 to
cce4343
Compare
609f571 to
35fb39e
Compare
a824e54 to
593115d
Compare
593115d to
95eaf07
Compare
fc58479 to
45bf8f0
Compare
45bf8f0 to
625a589
Compare
625a589 to
ddb9067
Compare
ddb9067 to
5904f0d
Compare
5bc3485 to
907c9f5
Compare
907c9f5 to
5d2d806
Compare
5d2d806 to
c80152a
Compare
c80152a to
f522060
Compare
f522060 to
7fa3843
Compare
7fa3843 to
a4d95a7
Compare
a4d95a7 to
1c37f01
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.18.0→^5.22.0^22.2.0→^22.19.13^14.15.3→^14.25.1^16.4.5→^16.6.19.7.0→9.15.9^5.18.0→^5.22.0^4.17.0→^4.21.0^5.5.4→^5.9.3Release 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!
discordjs/discord.js (discord.js)
v14.25.1Compare Source
Bug Fixes
CreateGuildExpressionsfor retrieving author data (#11288) (0d64ea0)v14.25.0Compare Source
Bug Fixes
Documentation
fetchPins()wording (492039c)Features
v14.24.2Compare Source
Bug Fixes
v14.24.1Compare Source
Bug Fixes
pinnable(#11215) (c2c8cce)Documentation
Typings
ModalData(#11207) (072fbb2)boolean(548c254)v14.24.0Compare Source
Bug Fixes
pinnableto check for migrated guilds (#11189) (ee988e3)Features
v14.23.2Compare Source
Bug Fixes
v14.23.1Compare Source
Bug Fixes
v14.23.0Compare Source
Bug Fixes
ThreadMemberFlagsenum inFlags(#11118) (154c00d)Documentation
Features
Refactor
Typings
messageDeleteBulkevent arg (#11122) (30e35d9)v14.22.1Compare Source
Bug Fixes
v14.22.0Compare Source
Bug Fixes
colorreferences (#11007) (b532df6)ApplicationEmoji#available(#10990) (90d3b28)crosspostable(#10821) (b36b751)WebhooksUpdateenum value (#10970) (1404e32)Documentation
Features
fetchPinned()has been renamed tofetchPins(), which is a paginated endpoint to fetch pinned messages.collectibles(#10939) (8ac0e1e)Refactor
readyevent in favor ofclientReady(#10969) (82378fc)Typings
fieldstype (#10816) (500712d)v14.21.0Compare Source
Bug Fixes
Features
avatarDecorationData(#10942) (15f7571)approximateUserAuthorizationCount(#10933) (3fa429c)Typings
guildSoundboardSoundsUpdate(#10928) (c2a43b6)v14.20.0Compare Source
Bug Fixes
undefinedvalues (#10889) (9bca4af)Features
attachmentSizeLimit(#10830) (7e21a94)Performance
Refactor
with_expirationquery parameter (#10800) (c8f6066)v14.19.3Compare Source
Bug Fixes
v14.19.2Compare Source
Bug Fixes
equals(#10861) (5f3fc17)toJSON()for components v2 (#10852) (20fade2)Typings
reason(#10863) (e3c247e)v14.19.1Compare Source
Bug Fixes
withComponentsto Webhook (481ccd2)v14.19.0Compare Source
Bug Fixes
with_componentswhen sending components through webhooks (8cdbe23)Features
Typings
Client.on()compatible with esnext.disposable in TS5.6+ (#10773) (45552fa)v14.18.0Compare Source
Bug Fixes
Documentation
Features
renewalSkuIds(#10662) (efa50fc)Refactor
Styling
Typings
messagesproperty (#10708) (44a1e85)undefinedtoflagsforexactOptionalPropertyTypes(#10707) (d2e1924)v14.17.3Compare Source
Bug Fixes
resolve()forPermissionOverwrites(#10686) (7280d4e)v14.17.2Compare Source
Bug Fixes
v14.17.1Compare Source
Bug Fixes
v14.17.0Compare Source
Bug Fixes
inif a string is passed (ff42d7a)ownerIdalways present (#10618) (7678f11)undefinedburst properties (#10597) (76968b4)Documentation
utf-8-validate(#10531) (297e959)Features
with_responsequery parameter (#10636) (622acbc)Refactor
LocaleoverLocaleString(#10625) (7ce6f2f)cache.get()for snowflakes,resolve()otherwise (#10626) (dedaa5d)reasonparameter on adding and removing thread members (#10551) (72e0c99)Testing
Typings
Cachesmanagers (#10540) (13471fa)Configuration
📅 Schedule: Branch creation - Only on Monday ( * * * * 1 ) (UTC), 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.