Migrating to Prisma 6.14.0
Version 6.14.0 introduces 1 breaking change. This guide details how to update your code.
Released: 8/12/2025
1
Breaking Changes
3
Migration Steps
6
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
prisma.$use@uniqueprisma-clientqueryCompilermetricsUserPostStatsBreaking Changes
●Issue #1
Removed middleware from Prisma Client (the prisma.$use method). You must now use Prisma Client extensions instead.
Migration Steps
- 1Replace any usage of prisma.$use (middleware) with Prisma Client extensions.
- 2If using the metrics Preview feature, plan for its removal in Prisma 7.
- 3Update Prisma schema to use @unique on views if relationships or cursor-based pagination are required for those views.
Release Summary
Prisma 6.14.0 re-introduces @unique attributes for SQL views in Preview and removes the long-deprecated prisma.$use middleware method. The release also focuses on type performance improvements and stability fixes for the upcoming Prisma 7 engine changes.
Need More Details?
View the full release notes and all changes for Prisma 6.14.0.
View Full Changelog