Prisma: 2.9.0 Release

Release date:
October 13, 2020
Previous version:
2.8.1 (released October 7, 2020)
Magnitude:
428 Diff Delta
Contributors:
9 total committers
Data confidence:
Commits:

26 Commits in this Release

Ordered by the degree to which they evolved the repo in this version.

Authored October 8, 2020
Authored October 13, 2020
Authored October 9, 2020
Authored October 13, 2020
Authored October 13, 2020
Authored October 13, 2020
Authored October 13, 2020
Authored October 13, 2020
Authored October 8, 2020
Authored October 8, 2020
Authored October 7, 2020
Authored October 7, 2020
Authored October 7, 2020
Authored October 7, 2020
Authored October 7, 2020

Top Contributors in 2.9.0

jasonkuhrt
eemmiillyy
timsuchanek
williamluke4
Jolg42
rahul3v
steebchen
prisma-bot
renovate-bot

Directory Browser for 2.9.0

We haven't yet finished calculating and confirming the files and directories changed in this release. Please check back soon.

Release Notes Published

Today, we are excited to share the 2.9.0 stable release πŸŽ‰

🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release.

Improvements

In today's release, we have many bug fixes, increased test coverage, and improved error messages. The release also lays the foundations for the upcoming native database types support.

Errors thrown by Prisma Client include the version

With this release, error objects thrown by Prisma Client include the clientVersion field which contains the version of Prisma Client. This is useful for debugging and creating issues.

Improved error message of prisma.$transaction

When you use prisma.$transaction to group multiple calls into a single transaction, you need to pass an array of promises. Passing calls that have been awaited will now trigger a more helpful error:

Error: All elements of the array need to be Prisma Client promises. Hint: Please make sure you are not awaiting the Prisma client calls you intended to pass in the $transaction function.

Already existing preview features from previous releases

Just a quick reminder:

  • In version 2.6.0 we introduced one preview feature, namely atomicNumberOperations.
  • In version 2.1.0 we introduced two preview features, namely connectOrCreate and transactionApi.

In case they're useful for you, please give them a try and share your feedback! These features remain in preview in this release.

Issues closed with the release

prisma

prisma-client-js

language-tools

studio

prisma-engines

Credits

Huge thanks to @rahul3v for helping!

Interested in providing feedback for the upcoming version of Prisma Migrate?

We are seeking users interested in trying out upcoming versions of Prisma Migrate. This will involve trying it out, validating functionality, and sharing feedback with us.

If you're interested in participating, fill out the following form, it won't take longer than a minute!

πŸŽƒ Join the first Prisma Meetup online

We are excited to bring you the first Prisma Meetup which is going to happen entirely online, so you can dial in from around the globe!

The Meetup will be streamed on Youtube this Thursday: October 29th, 2020 at 6pm (CET, Berlin) | 10am (PDT, San Francisco)

We have amazing speakers on board for our first Meetup:

β—­ Tammy Butow (Principal SRE @ Gremlin): Database Horror Stories β—­ HervΓ© Labas (VP of Product @ Prisma): The future of Prisma and its roadmap β—­ Tom Hutchinson (Head of Mobile @ Rapha): Prisma at Rapha

You can watch the event on YouTube here.