2.30.0
#8892
Replies: 4 comments 2 replies
-
🎉🚀🚀, Thanks for the mention, am really glad to help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Awesome release! This release was perfect timing for me, I was just about to implement searching in my app! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Awesome search feature! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Breaks Prisma Studio on Windows |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today, we are excited to share the
2.30.0
stable release 🎉🌟 Help us spread the word about Prisma by starring the repo or tweeting about the release. 🌟
New features & improvements
Full-Text Search for PostgreSQL is now in Preview 🚀
We're excited to announce that Prisma Client now has preview support for Full-Text Search on PostgreSQL.
You can give this a whirl in 2.30.0 by enabling the
fullTextSearch
preview flag:After you regenerate your client, you'll see a new
search
field on yourString
fields that you can query on. Here are a few examples:You can learn more about how the query format works in our documentation. We would love to know your feedback! If you have any comments or run into any problems we're available in this in this Github issue.
Validation errors for referential action cycles on Microsoft SQL Server ℹ
Microsoft SQL Server has validation rules for your schema migrations that reject schema changes that introduce referential action cycles.
These scenarios tend to show up often for developers using the
referentialActions
preview feature, which will become the default. The database error you get is not really helpful, so to provide a better experience, Prisma now checks for referential cycle actions when it validates your schema file and shows you the exact location of the cycle in your schema.To learn more, check out the documentation.
prisma introspect
is being deprecated in favor ofprisma db pull
👋🏻The
prisma introspect
is an alias forprisma db pull
so they are the same command. However,prisma db pull
is more intuitive since it pulls the schema from the database into your localschema.prisma
file. This naming also works as the counterpart ofprisma db push
.Starting with this release, you will get a warning that encourages you to use
prisma db pull
instead ofprisma introspect
.Fixes and improvements
Prisma Client
nApi
preview feature flag and make Node-API libraries the new default, provide escape hatch to old behaviorfindUnique
$queryRaw
and$executeRaw
in 2.29.0.catch()
or.finally()
on a prisma client model query does not fire the request in 2.29.0Prisma Migrate
Bytes
@id
columns with SQL ServerLanguage tools (e.g. VS Code)
@relation()
@prisma/engines npm package
Credits
Huge thanks to @saintmalik 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, August 26 at 5pm Berlin | 8am San Francisco.
This discussion was created from the release 2.30.0.
Beta Was this translation helpful? Give feedback.
All reactions