6.7.0
Breaking Changes📦 prismaView on GitHub →
⚠ 1 breaking✨ 5 features🐛 1 fixes🔧 7 symbols
Summary
Prisma 6.7.0 introduces an Early Access TypeScript-based Query Compiler to replace Rust engines, stabilizes multi-file schemas, and adds support for the better-sqlite3 driver adapter.
⚠️ Breaking Changes
- The prismaSchemaFolder feature has moved to General Availability; users upgrading from versions prior to 6.6.0 must follow the structural changes outlined in the 6.6.0 release notes to avoid schema resolution errors.
Migration Steps
- To use the Rust-free Query Compiler, add 'queryCompiler' and 'driverAdapters' to previewFeatures in the generator block.
- Install a driver adapter (e.g., npm install @prisma/adapter-pg or @prisma/adapter-better-sqlite3) if moving to the Query Compiler or using better-sqlite3.
- Update PrismaClient instantiation to pass the new adapter instance.
- If using multi-file schemas, ensure your project structure matches the requirements updated in version 6.6.0.
- To use output splitting, switch the generator provider to 'prisma-client' (Preview).
✨ New Features
- Early Access to Query Compiler: A new TypeScript-based core that replaces the Rust-based Query Engine for PostgreSQL and SQLite.
- Support for better-sqlite3 driver adapter (Preview), allowing JS-native SQLite interactions.
- Multi-file Prisma schemas (prismaSchemaFolder) are now General Availability and production-ready.
- The new prisma-client generator (Preview) now splits generated output into multiple files (e.g., models.ts, enums.ts) to improve IDE performance and prevent auto-complete lag.
- Generated Prisma Client files are now guaranteed to be free of ESLint and TypeScript errors.
🐛 Bug Fixes
- Fixed issues where large schemas caused slow code editor performance and broken auto-complete by splitting the generated index.d.ts into multiple files.
🔧 Affected Symbols
PrismaClientprisma-client-jsprisma-clientPrismaPgPrismaBetterSQLite3prismaSchemaFolderqueryCompiler