6.6.0
Breaking Changes📦 prismaView on GitHub →
⚠ 2 breaking✨ 5 features🔧 10 symbols
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.
⚠️ Breaking Changes
- The prismaSchemaFolder Preview feature now requires an explicit path to the schema folder via the --schema CLI option, package.json, or prisma.config.ts.
- The new prisma-client generator (Early Access) no longer supports 'magic' generation into node_modules; an explicit 'output' path is now required.
Migration Steps
- If using prismaSchemaFolder, update your configuration to explicitly point to the schema folder using the --schema flag or package.json 'prisma.schema' field.
- To use the new ESM client, update your generator provider to 'prisma-client', set a required 'output' path, and add that path to .gitignore.
- Update driver adapter code to use the new direct instantiation pattern (e.g., new PrismaLibSQL({ url, authToken })).
- For D1/Turso migrations, configure the 'migrate.adapter' in a prisma.config.ts file and enable 'earlyAccess: true'.
✨ New Features
- New 'prisma-client' generator with native ESM support and configurable moduleFormat (Early Access).
- Native migration support (db push, db pull, migrate diff) for Cloudflare D1 and Turso/LibSQL via driver adapters (Early Access).
- Prisma MCP (Model Context Protocol) server for managing Prisma Postgres via LLMs and AI agents.
- New --prompt (and --vibe alias) option for 'prisma init' to scaffold schemas using AI.
- Simplified driver adapter API allowing direct instantiation with driver options instead of requiring a separate driver instance.
🔧 Affected Symbols
prisma-clientprisma-client-jsPrismaLibSQLPrismaD1HTTPPrismaClientprisma initprisma db pushprisma db pullprisma migrate diffprisma mcp