Migrating to Prisma 7.2.0
Version 7.2.0 introduces 1 breaking change. This guide details how to update your code.
Released: 12/17/2025
1
Breaking Changes
2
Migration Steps
11
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
DataMapperErrorprisma initprisma generateprisma versiondb pulldb pushmigrate devadapter-pgadapter-neonadapter-pgpsqlcommenter-query-insightsBreaking Changes
●Issue #1
Removal of legacy byte array representation for byte upserts. This may change how raw byte data is handled during upsert operations.
Migration Steps
- 1If using byte upserts, verify that your byte data handling aligns with the removal of the legacy representation.
- 2If using 'prisma version --json' in scripts, ensure they are prepared for clean stdout output.
Release Summary
Prisma 7.2.0 introduces a new SQL commenter plugin, flexible URL configuration for migration commands, and runtime-aware initialization for Bun, alongside critical fixes for byte upserts and error reporting.
Need More Details?
View the full release notes and all changes for Prisma 7.2.0.
View Full Changelog