This repository was archived by the owner on Apr 15, 2025. It is now read-only.
v0.9.0 #767
RobertCraigie
started this conversation in
General
v0.9.0
#767
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What's Changed
Support for Interactive Transactions
This release adds support for interactive transactions! This means you can safely group sets of queries into a single atomic transaction that will be rolled back if any step fails.
Quick example:
For more information see the docs.
Support for
find_unique_or_raise&find_first_or_raiseThis release adds two new client methods,
find_unique_or_raise&find_first_or_raisewhich are the exact same as the respectivefind_unique&find_firstmethods but will raise an error if a record could not be found.This is useful when you know that you should always find a given record as you won't have to explicitly handle the case where it isn't found anymore:
Prisma updates
This release bumps the internal Prisma version from
v4.11.0tov4.15.0.Some of the highlights:
prisma db seedFor the full release notes, see the v4.12.0, v4.13.0, v4.14.0 and v4.15.0 release notes.
Miscellaneous Changes
typing-extensionsversion from3.7to4.0.1--generatoroption toprisma py generateas wellSponsors
Huge thank you to @isometric & @techied for their continued support!
This discussion was created from the release v0.9.0.
Beta Was this translation helpful? Give feedback.
All reactions