Change8

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-clientqueryCompilermetricsUserPostStats

Breaking Changes

Issue #1

Removed middleware from Prisma Client (the prisma.$use method). You must now use Prisma Client extensions instead.

Migration Steps

  1. 1
    Replace any usage of prisma.$use (middleware) with Prisma Client extensions.
  2. 2
    If using the metrics Preview feature, plan for its removal in Prisma 7.
  3. 3
    Update 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