Replies: 3 comments 4 replies
|
Swag |
|
Hey, |
|
Hi there, To keep our discussions organized and focused on the most relevant topics, we’re reviewing and tidying up our backlog. As part of this process, we’re closing discussions that haven’t had any recent activity and appear to be outdated. If this discussion is still important to you or unresolved, we’d love to hear from you! Feel free to reopen it or start a new one with updated details. For more details about our priorities and vision for the future of Prisma ORM, check out our latest blog post: https://www.prisma.io/blog/prisma-orm-manifesto. Thank you for your understanding and being part of the community! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Today, we are excited to share the
2.25.0stable release 🎉🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
Major improvements & new features
Human-readable drift diagnostics for
prisma migrate devDatabase schema drift occurs when your database schema is out of sync with your migration history, i.e. the database schema has drifted away from the source of truth.
With this release, we improve the way how the drift is printed to the console when detected in the
prisma migrate devcommand. While this is the only command that uses this notation in today's release, we plan to use it in other places where it would be useful for debugging in the future.Here is an example of how the drift is presented with the new format:
Expand to view the resulting Prisma schema
This file is generated to
prisma/schema.prisma:Support for
.envfiles in Prisma Client GoYou can now use a
.envfile with Prisma Client Go. This makes it easier to keep database credentials outside your Prisma schema and potentially work with multiple clients at the same time:Learn more about using the
.envfile in our documentation.Breaking change
Dropping support for Node.js v10
Node.js v10 reached End of Life on April 30th 2021. Many of our dependencies have already dropped support for Node.js v10 so staying up-to-date requires us to drop Node.js v10, too.
We recommend upgrading to Node.js v14 or greater for long-term support. You can learn more about Node.js releases on this page.
Fixes and improvements
Prisma Client
createManyerrors with:PANIC in query-engine/connectors/sql-query-connector/src/database/operations/write.rs:95:60calledResult::unwrap()on anErrvalue: ScalarFieldNotFound { name: "updated_at", model: "FundMangerTeamMemberExperience" }paramsin Middleware testsprisma generatedoesn't install prisma client 2.24.xPrisma Migrate
Option::unwrap()on aNonevaluedb push/migrateis hiding the binary download process duringgenerate, leading to confusionshadowDatabaseUrlfrom schemaPrisma Studio
Credits
Huge thanks to @82600417, @SuryaElavazhagan, @psavan1655 for helping!
📺 Join us for another "What's new in Prisma" livestream
Learn about the latest release and other news from the Prisma community by joining us for another "What's new in Prisma" livestream.
The stream takes place on Youtube on Thursday, June 17 at 5pm Berlin | 8am San Francisco.
🌎 Prisma Day is coming
Save the date for Prisma Day 2021 and join us for two days of talks and workshops by the most exciting members of the Prisma community.
We look forward to seeing you there!
This discussion was created from the release 2.25.0.
All reactions