Migrating to Drizzle ORM v1.0.0-rc.2
Version v1.0.0-rc.2 introduces 1 breaking change. This guide details how to update your code.
Released: 5/5/2026
1
Breaking Changes
2
Migration Steps
8
Affected Symbols
⚠️ Check Your Code
If you use any of these symbols, you need to read this guide:
pg custom columns codecsPG transactionsAWS Data Api codecsprepared query typingsCastParamCastArrayParamDrizzleQueryErrorTransactionRollbackErrorBreaking Changes
●Issue #1
PG transactions switched from class properties back to class methods. Code relying on transaction methods being accessible as properties must be updated to call them as methods (e.g., `tx.method()` instead of `tx.property`).
Migration Steps
- 1If you were accessing PG transaction methods as properties, update the calls to use them as methods.
- 2When generating SQLite migrations, if you encounter conflict detection errors and wish to proceed, use the `--ignore-conflicts` flag with `drizzle-kit generate` or `drizzle-kit check`.
Release Summary
This release introduces significant improvements to SQLite migration handling, including conflict detection and better tree merging, alongside fixes for custom column codecs and PG transaction implementation details.
Need More Details?
View the full release notes and all changes for Drizzle ORM v1.0.0-rc.2.
View Full Changelog