Migrating to Prisma 6.16.0
Version 6.16.0 introduces 1 breaking change. This guide details how to update your code.
Released: 9/10/2025
1
Breaking Changes
5
Migration Steps
8
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
PrismaClientPrisma.validatorprisma-clientprisma-client-jsPrismaPg@prisma/adapter-pgengineTypepostgresqlExtensionsBreaking Changes
●Issue #1
The 'Prisma.validator' utility has been removed from the new 'prisma-client' generator. Use the native TypeScript 'satisfies' keyword instead.
Migration Steps
- 1To opt-into the Rust-free ORM: Update the generator block in your schema with 'engineType = "client"' and 'provider = "prisma-client"'.
- 2Remove 'queryCompiler', 'driverAdapter' feature flags, and 'binaryTargets' from the Prisma schema if previously used.
- 3Install the appropriate driver adapter for your database (e.g., 'npm install @prisma/adapter-pg').
- 4Update PrismaClient instantiation to pass the driver adapter instance (e.g., 'new PrismaClient({ adapter })').
- 5For PostgreSQL extensions: Stop using the 'postgresqlExtensions' preview feature and switch to manual SQL migrations using 'prisma migrate dev --create-only'.
Release Summary
Prisma 6.16.0 marks the General Availability of the Rust-free ORM architecture and the new ESM-first 'prisma-client' generator, significantly reducing bundle sizes and improving type-checking performance.
Need More Details?
View the full release notes and all changes for Prisma 6.16.0.
View Full Changelog