fix(deps): update prisma monorepo to v6.3.1 #4841
Merged
+45
−35
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:
6.2.1
->6.3.1
~6.2.0
->~6.3.0
Release Notes
prisma/prisma (@prisma/client)
v6.3.1
Compare Source
This patch releases introduces improvements to the
prisma init
output when invoked to with the--db
option.Run
npx prisma@latest init --db
to get an instant Prisma Postgres database.v6.3.0
Compare Source
Today, we are excited to share the
6.3.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo ☝️ or tweeting about the release. 🌟
Highlights
A brand new Prisma Studio
In this release we've included several great improvements to Prisma Studio's developer experience. You can learn all about the changes we've made in our release blog post, but here's a short list:
Prisma Studio is back in the Console
Fans of Prisma Data Browser rejoice! The new Prisma Studio is now in the Prisma Console and is available for all PostgreSQL and MySQL databases.
A new model viewer
Previously, switching from model to model in Prisma Studio would require backing all the way out to the model view, then digging in again. With our new UI, it's easy to switch from model to model while keeping your place.
A new editing experience
If you're trying to edit a given field in a model, Prisma Studio made it quite easy. However, if you're trying to edit every field in a given row, it could get quite annoying to keep scrolling left to right. Our new edit sidebar resolves that with the ability to edit all fields for a given row at once.
Clean up at the click of a button
When editing a number of models, it can get difficult to get back to a clean slate. In the new Prisma Studio, we've added a "Close all" button that puts you back to a fresh start.
Add
limit
toupdateMany()
anddeleteMany()
Previously,
limit
has not existed as a valid option in top levelupdateMany()
anddeleteMany()
queries. In 6.3.0limit
is now available in these queries, bringing their features more in line with other query types.You can use
limit
like the following:This will limit the number of deleted users to 100 at maximum.
Sort
generator
fields deterministicallyIn previous version of Prisma ORM, the fields inside of a
generator
block in your Prisma Schema were not deterministically sorted. This could lead to cases whereprisma db pull
could lead to re-ordering of fields.In 6.3.0, the sorting of fields in this block is now deterministic. You may see re-ordering on the first
prisma db pull
after you upgrade, but it will remain consistent afterwards.Replace
NOT IN
withNOT EXISTS
for PostgreSQL relation filtersIn previous versions of Prisma ORM, when using the
none
orsome
relation filters, the SQL queries generated usedNOT IN
. In many cases this lead to performance issues as the size of the related table grew. In 6.3.0, we’ve replaced these usages ofIN
withEXISTS
in order to improve query performance.A special thank you
We'd like to extend our heartfelt thanks to @loren and his team for the collaboration and trust in our enterprise support plan. Working closely with them allowed us to address important issues like #19249 and #17303. Their insights and partnership have been invaluable in improving our product.
If your team could benefit from dedicated support and tailored solutions, learn more about our enterprise support plan.
Fixes and improvements
Prisma Client
take
orlimit
toupdateMany()
&deleteMany()
Prisma
prisma db pull
non-deterministically sorts generator fieldsno entry found for key
error on views<->model relationsonUpdate
data to the DMMF in@prisma/generator-helper
Credits
Huge thanks to @WhyAsh5114 for their contributions to this release!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.