Migrating to Prisma 6.6.0
Version 6.6.0 introduces 2 breaking changes. This guide details how to update your code.
Released: 4/8/2025
2
Breaking Changes
4
Migration Steps
10
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
prisma-clientprisma-client-jsPrismaLibSQLPrismaD1HTTPPrismaClientprisma initprisma db pushprisma db pullprisma migrate diffprisma mcpBreaking Changes
●Issue #1
The prismaSchemaFolder Preview feature now requires an explicit path to the schema folder via the --schema CLI option, package.json, or prisma.config.ts.
●Issue #2
The new prisma-client generator (Early Access) no longer supports 'magic' generation into node_modules; an explicit 'output' path is now required.
Migration Steps
- 1If using prismaSchemaFolder, update your configuration to explicitly point to the schema folder using the --schema flag or package.json 'prisma.schema' field.
- 2To use the new ESM client, update your generator provider to 'prisma-client', set a required 'output' path, and add that path to .gitignore.
- 3Update driver adapter code to use the new direct instantiation pattern (e.g., new PrismaLibSQL({ url, authToken })).
- 4For D1/Turso migrations, configure the 'migrate.adapter' in a prisma.config.ts file and enable 'earlyAccess: true'.
Release Summary
Prisma 6.6.0 introduces a new ESM-ready client generator, native migration support for Cloudflare D1 and Turso, and an MCP server for AI-driven database management.
Need More Details?
View the full release notes and all changes for Prisma 6.6.0.
View Full Changelog