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
-
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_raise
This release adds two new client methods,
find_unique_or_raise
&find_first_or_raise
which are the exact same as the respectivefind_unique
&find_first
methods 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.0
tov4.15.0
.Some of the highlights:
prisma db seed
For the full release notes, see the v4.12.0, v4.13.0, v4.14.0 and v4.15.0 release notes.
Miscellaneous Changes
typing-extensions
version from3.7
to4.0.1
--generator
option toprisma py generate
as 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