Prisma: 2.7.0 Release

Release date:
September 15, 2020
Previous version:
2.6.2 (released September 4, 2020)
Magnitude:
4,726 Diff Delta
Contributors:
10 total committers
Data confidence:
Commits:

80 Commits in this Release

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

Authored September 9, 2020
Authored September 7, 2020
Authored September 8, 2020
Authored September 7, 2020
Authored September 15, 2020
Authored September 8, 2020
Authored September 14, 2020
Authored September 8, 2020
Authored September 14, 2020
Authored September 8, 2020
Authored September 14, 2020
Authored September 8, 2020
Authored September 7, 2020
Authored September 14, 2020
Authored September 14, 2020
Authored September 8, 2020
Authored September 10, 2020
Authored September 8, 2020
Authored September 10, 2020
Authored September 8, 2020
Authored September 14, 2020
Authored September 7, 2020
Authored September 8, 2020

Top Contributors in 2.7.0

timsuchanek
jasonkuhrt
Jolg42
Weakky
bre7
madebysid
janpio
rahul3v
renovate-bot
prisma-bot

Directory Browser for 2.7.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.7.0 stable release.

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

Major improvements

Prisma Studio is stable πŸŽ‰

We are more than excited to share that Prisma Studio has moved out of its experimental state and is promoted to stable with today's release! Prisma Studio is the perfect companion for developers who work with databases in their daily workflows, to quickly get an overview of the state of their database as well as to view and modify the data in it. An announcement blog post will be coming soon!

To use Prisma Studio in your Prisma project, you can now run the prisma studio command without the previously required --experimental flag:

npx prisma studio

Join the #prisma-studio channel in the Prisma Slack and let us know how you like Prisma Studio! πŸ™Œ

Configure Prisma schema location via package.json for more flexibility

Previously, your schema.prisma file needed to be available at a specific location when running Prisma CLI commands or provided via the --schema option when invoking a Prisma CLI command.

With this release, you can configure the location of your Prisma schema via a prisma property in your package.json:

{
  "prisma": {
    "schema": "path/to/schema.prisma"
  }
}

The provided location in package.json will be the default location of the Prisma schema file for any Prisma CLI command you invoke. Note that you can still override this default location by manually specifying the --schema option when invoking a Prisma CLI command.

πŸ“š Documentation: Prisma schema file location

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.5.0 we introduced one preview feature, namely insensitiveFilters.
  • 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.

Feedback wanted: How does introspection work for you?

In the last few releases we improved Prisma's database introspection, most notably with "More robust introspection by keeping manual changes in the Prisma schema file" but also many smaller bug fixes. We think it is pretty stable now, and would love to hear from you, our users, how you have been using prisma introspect recently!

If you have used introspection in the past, whether it worked well or not so well with your database, please let us know by sharing your feedback on GitHub!

🌟 Help us spread the word about Prisma

To help spread the word about Prisma, we'd very much appreciate if you would star this repo 🌟 And if you're excited about the features in this week's release, then help us and share it on Twitter.

Fixes and improvements

prisma

prisma-client-js

migrate

language-tools

studio

prisma-engines

Credits

Huge thanks to @bre7, @rahul3v, @jasonkuhrt and @Weakky for helping!