Migrating to Drizzle ORM v1.0.0-beta.8
Version v1.0.0-beta.8 introduces 1 breaking change. This guide details how to update your code.
Released: 12/31/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:
seedrefinefuncs.uuidfuncs.timefuncs.timestampfuncs.datetimeBreaking Changes
●Issue #1
The default uuid generator has been upgraded to v4 to ensure compatibility with Zod validation. If you rely on the previous UUID format, you must explicitly set the version to '1' in the seed configuration.
Migration Steps
- 1If using Zod validation for UUIDs, no action is required as the default is now v4.
- 2To maintain legacy UUID generation, update seed calls to: await seed(db, schema, { version: '1' }).
- 3To use new features while keeping old UUIDs, use: await seed(db, schema, { version: '2' }) or { version: '3' }.
Release Summary
This release of drizzle-seed introduces column ignoring in refinements, min/max constraints for date/time generators, and automatic Postgres sequence syncing. It also upgrades the default UUID generator to v4 to fix Zod validation errors.
Need More Details?
View the full release notes and all changes for Drizzle ORM v1.0.0-beta.8.
View Full Changelog