Migrating to Prisma 6.7.0
Version 6.7.0 introduces 1 breaking change. This guide details how to update your code.
Released: 4/29/2025
1
Breaking Changes
5
Migration Steps
7
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
PrismaClientprisma-client-jsprisma-clientPrismaPgPrismaBetterSQLite3prismaSchemaFolderqueryCompilerBreaking Changes
●Issue #1
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
- 1To use the Rust-free Query Compiler, add 'queryCompiler' and 'driverAdapters' to previewFeatures in the generator block.
- 2Install 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.
- 3Update PrismaClient instantiation to pass the new adapter instance.
- 4If using multi-file schemas, ensure your project structure matches the requirements updated in version 6.6.0.
- 5To use output splitting, switch the generator provider to 'prisma-client' (Preview).
Release 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.
Need More Details?
View the full release notes and all changes for Prisma 6.7.0.
View Full Changelog