What’s New

Drizzle ORM v1.0.0-beta.22

v1.0.0-beta.22Pre-release
Changed 2
  • Commutativity checks for PostgreSQL and MySQL were updated to more accurately resolve index/table/schema footprints and preserve all open leaf parents for the next migration
  • Mark mssql and @types/mssql as optional peer dependencies
Fixed 8
  • drizzle-kit generate now generates correct migrations.js file on Windows
  • MSSQL real() column now returns precise values with correct mapFromDriverValue
  • Object key collision issue resolved
  • Migration to Cloudflare D1 now works correctly
  • drizzle-kit migrate now properly displays error messages when migration SQL fails
  • MS SQL Filtered Index generation no longer incorrectly generates fully qualified column names in WHERE clause
  • PostgreSQL UNIQUE constraint alterations now correctly apply generated SQL changes
  • Non-commutative migration false positives for create_index statements targeting different tables are now prevented
Bug fixed
View original

Discussion