Prisma ORM v5.16.0: global omit for model fields
Prisma ORM v5.16.0: global omit for model fields
In 5.13.0, we introduced Preview support for the omit option within the Prisma Client query options. Now, weโre more than happy to announce that weโre expanding the omitApi Preview feature to also include the ability to omit fields globally.
Here's an example how youโre able to define fields to omit when instantiating Prisma Client either locally or globally:

Read more in our latest blog post.
Changes to prismaSchemaFolder preview feature
To continue improving our multi-file schema support, we have a few breaking changes to the prismaSchemaFolder feature:
When using relative paths in Prisma Schema files with the prismaSchemaFolder feature, a path is now relative to the file it is defined in rather than relative to the prisma/schema folder.
We realized that during migration many people would have prisma/schema as well as prisma/schema.prisma. Our initial implementation looked for a .prisma file first and would ignore the schema folder if it exists. This is now an error.
GitHub or Google... ๐ค
With the new Google authentication option, the choice is yours when signing in on http://console.prisma.io.

Stay tuned for more authentication options!
Achievement Unlocked: Compliance for SOC2 Type II, HIPAA, GDPR, and ISO27001
Prisma has successfully implemented processes and controls required for SOC2 Type II, HIPAA, GDPR, and ISO 27001
certifications. These accomplishments demonstrate our commitment to providing secure and reliable software solutions for developers working with databases.Read more in our blog post.
๐ Introducing the Prisma Nuxt module
Simplify setting up Prisma ORM in your Nuxt app and explore Prisma Studio in Nuxt Dev tools. Read more in our blog post.
Prisma badges are now available
Built something awesome with Prisma? ๐ Show it off with these badges, perfect for your readme or website. Learn more about embedding the badges.
