Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
6.12.0 source code.tar.gz | 2025-07-15 | 13.9 MB | |
6.12.0 source code.zip | 2025-07-15 | 16.1 MB | |
README.md | 2025-07-15 | 5.0 kB | |
Totals: 3 Items | 30.0 MB | 11 |
Today, we are excited to share the 6.12.0
stable release 🎉
🌟 Star this repo for notifications about new releases, bug fixes & features — or follow us on X!
Highlights
ESM-compatible prisma-client
generator now in Preview
We’re excited to share that our new and more flexible prisma-client
generator is moving into Preview! As a reminder, here’s what it looks like:
:::prisma
generator client {
// Required
provider = "prisma-client" // no `-js` at the end!
output = "../src/generated/prisma"
// Optional
runtime = "nodejs"
moduleFormat = "esm"
generatedFileExtension = "ts"
importFileExtension = "ts"
}
This new generator eliminates any headaches that you may have experienced due to magical code generation into node_modules
and gives you full control over the generated Prisma Client code. With it moving into Preview, we hope that even more of you will try it out and share your feedback with us!
Note: The
prisma-client
generator will become the default in Prisma v7, replacing the currentprisma-client-js
generator.
In addition to moving it into Preview, we also created a couple of new ready-to-run examples to help you get started with the new generator and your favorite framework:
📚 Learn more in the docs.
Specify views
and migrations
folder locations in prisma.config.ts
(Early Access)
As we’re getting closer to the General Availability release of prisma.config.ts
, we’re adding more capabilities to it. In previous versions, the Prisma CLI implicitly used to infer the location for migration and SQL view definition files based on the location of the Prisma schema. In this release, we’re adding two new fields (migrations
and views
) to give you more flexibility and clarity on how to locate these files:
:::ts
// prisma.config.ts
export default defineConfig({
earlyAccess: true,
migrations: {
path: './db/migrations'
},
views: {
path: './db/views'
}
// ...
})
📚 Learn more in the docs.
Enterprise support
Thousands of teams use Prisma and many of them already tap into our Enterprise & Agency Support Program for hands-on help with everything from schema integrations and performance tuning to security and compliance. With this program you also get priority issue triage and bug fixes, expert scalability advice, and custom training so that your Prisma-powered apps stay rock-solid at any scale. Learn more or join: https://prisma.io/enterprise