Migrating to Prisma 6.10.0
Version 6.10.0 introduces 1 breaking change. This guide details how to update your code.
Released: 6/17/2025
1
Breaking Changes
4
Migration Steps
9
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
prisma-client@prisma/pg-worker@shardKey@@shardKeyqueryCompilershardKeysdriverAdapters@prisma/adapter-mssql@prisma/adapter-planetscaleBreaking Changes
●Issue #1
The entrypoint for the new 'prisma-client' generator has changed. You must update your application imports to match the new structure defined in the documentation.
Migration Steps
- 1If using the 'prisma-client' generator, update your application imports according to the new entrypoint specification.
- 2If using '@prisma/pg-worker', migrate your Cloudflare Workers implementation to use the 'pg' package.
- 3To use shard keys on PlanetScale, add 'shardKeys' to the 'previewFeatures' list in your Prisma schema.
- 4To remove Rust engines on MS SQL Server or PlanetScale, add 'queryCompiler' and 'driverAdapters' to 'previewFeatures' and use the respective driver adapter.
Release Summary
Prisma 6.10.0 introduces Preview support for shard keys on PlanetScale and No-Rust engines for MS SQL Server, alongside significant performance boosts for Prisma Migrate and enhanced local Prisma Postgres management in VS Code.
Need More Details?
View the full release notes and all changes for Prisma 6.10.0.
View Full Changelog