Change8

Drizzle ORM

Backend & Infra

ORM

Latest: drizzle-kit@0.31.949 releases15 breaking changes5 common errorsView on GitHub

Release History

drizzle-kit@0.31.9
Feb 9, 2026
v1.0.0-beta.151 fix3 features
Feb 5, 2026

This release consolidates all validator packages into the main `drizzle-orm` package, simplifying dependency management. A new integration with Effect Schema is also introduced, alongside a bug fix for SQLite ordering/grouping.

v1.0.0-beta.14Breaking9 fixes1 feature
Feb 4, 2026

This release updates the migrator to apply all missing database changes and includes numerous bug fixes across SQL generation, introspection, and driver transactions. A key change restricts async function usage within sync driver transactions.

v1.0.0-beta.13Breaking2 fixes3 features
Feb 2, 2026

Drizzle Kit now supports top-level await in configuration and schema files, resolving module import errors. The Effect Postgres integration received major API updates to better align with Effect patterns, including configurable logging and caching layers.

v1.0.0-beta.12Breaking11 fixes2 features
Jan 22, 2026

This release introduces detailed schema error reporting for PostgreSQL and SQLite dialects during schema generation and push operations. It also resolves several critical bugs related to crypto module resolution, SQL generation, and configuration handling.

v1.0.0-beta.11Breaking10 fixes2 features
Jan 15, 2026

This release standardizes timezone handling for PostgreSQL timestamps and significantly improves the stability and correctness of `drizzle-kit` introspection and schema generation, especially for MySQL and complex indexing scenarios. Caching behavior in Pg has also been made explicit.

v1.0.0-beta.9Breaking1 fix6 features
Jan 15, 2026

This release introduces native Effect SQL driver support and significant type system improvements for PostgreSQL columns. It also updates the `drizzle-kit` loader to `tsx` and switches the default MySQL2 client pool.

v1.0.0-beta.8Breaking4 fixes5 features
Dec 31, 2025

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.

v.1.0.0-beta.76 fixes1 feature
Dec 31, 2025

This release focuses on bug fixes for drizzle-kit, specifically improving schema/table recognition in the push/pull commands and fixing a TypeError in findFirst.

v1.0.0-beta.66 fixes
Dec 25, 2025

This release focuses on bug fixes for drizzle-kit, specifically addressing false positive change detections in schema pushing, JSON key ordering, and Cloudflare D1 compatibility.

v1.0.0-beta.5Breaking5 fixes2 features
Dec 23, 2025

This release fixes several critical bugs across PostgreSQL, MSSQL, and MySQL, while introducing significant changes to how SQLite unique constraints and foreign keys are handled in drizzle-kit.

v1.0.0-beta.43 fixes
Dec 23, 2025

This release focuses on critical bug fixes for drizzle-kit and the migrator, resolving issues with migration ordering on Linux and silent failures during code generation.

v1.0.0-beta.3Breaking8 fixes1 feature
Dec 16, 2025

This release introduces a mandatory MSSQL snapshot upgrade to version 2 to support SQL expressions in indexes, adds unique constraint support for MySQL index hints, and resolves several critical migration and introspection bugs.

0.45.11 fix
Dec 10, 2025

This release fixes a bug in node-postgres transaction handling where pg-native Pool detection would fail in environments that restrict the use of require().

0.45.04 fixes1 feature
Dec 4, 2025

This release introduces support for subqueries in select fields and fixes several driver-specific issues, including pg-native Pool detection and Bun SQL date mapping.

drizzle-kit@0.31.82 fixes
Dec 4, 2025

This release focuses on minor bug fixes, including a typo correction and improvements to the build configuration's external dependency handling.

v1.0.0-beta.2Breaking9 fixes9 features
Dec 2, 2025

This release introduces MSSQL and CockroachDB support, a complete rewrite of drizzle-kit with a new v3 migration folder structure, and the transition to Relational Query Builder (RQB) v2.

v0.31.71 fix
Nov 17, 2025

This release fixes a bug in Drizzle Kit where unnecessary DROP SQL commands were generated during schema pushes to PostgreSQL 18.

drizzle-kit@0.31.61 fix
Oct 28, 2025

This release fixes a bug that prevented drizzle-kit/api from being imported correctly within ESM modules.

0.44.71 fix
Oct 23, 2025

This release fixes a bug regarding the return value of durable SQLite transactions.

0.44.61 feature
Oct 2, 2025

This release introduces the ability to use the $replicas reference within the system configuration.

drizzle-kit@0.31.51 feature
Sep 26, 2025

This release introduces casing support for studio configuration and its associated functions.

0.44.52 fixes2 features
Aug 25, 2025

This release focuses on stability and compatibility improvements for SQLite, specifically fixing crashes related to blob columns and correcting session method usage.

0.44.41 fix
Jul 29, 2025

This release fixes a bug where DrizzleQueryError was not being exported correctly.

0.44.31 fix1 feature
Jul 14, 2025

This release improves TypeScript type safety for database clients and updates the Neon Auth schema definition to include an updated_at column.

drizzle-kit@0.31.41 fix
Jun 27, 2025

This release fixes a bug in drizzle-kit related to the generation of halfvec, bit, and sparsevec types.

drizzle-kit@0.31.32 features
Jun 26, 2025

This release introduces internal updates to the Studio context, specifically adding databaseName and packageName properties.

drizzle-kit@0.31.21 fix
Jun 23, 2025

This release includes a bug fix for relations extraction to ensure compatibility with Drizzle Studio.

0.44.21 fix
Jun 4, 2025

This release addresses TypeScript type errors encountered when performing joins under certain tsconfig settings.

0.44.11 fix
May 30, 2025

This release addresses a critical bug that prevented Drizzle ORM from executing within Cloudflare Durable Objects environments.

0.44.0Breaking4 features
May 28, 2025

This release introduces a robust error-handling wrapper called DrizzleQueryError and a new extensible caching module with a native Upstash integration.

drizzle-kit@0.31.11 fix1 feature
May 3, 2025

This release fixes a bug in drizzle-kit pull that prevented Gel extensions with double-colon schema names from being processed correctly. Users can now include these extensions by updating their schemaFilter configuration.

0.43.11 fix
Apr 25, 2025

This release addresses a bug in PostgreSQL schema generation where enum types were being incorrectly typed.

0.43.0Breaking4 fixes3 features
Apr 24, 2025

This release introduces lateral join support for multiple dialects and cross joins, while fixing type inference issues and removing unsupported MySQL features.

0.42.01 fix4 features
Apr 15, 2025

This release introduces first-class support for TypeScript native enums in PostgreSQL and MySQL, and resolves critical export duplication issues that caused SyntaxErrors in certain environments.

drizzle-kit@0.31.03 fixes2 features
Apr 15, 2025

This release improves PostgreSQL Enum DDL migrations by ensuring column default expressions are correctly updated and upgrades esbuild to 0.25.2 to fix security vulnerabilities and bugs.

drizzle-kit@0.30.62 fixes
Mar 27, 2025

This release focuses on fixing critical bugs related to Cloudflare D1, specifically addressing local push failures and SQLITE_AUTH errors during migrations.

0.41.0Breaking7 fixes2 features
Mar 21, 2025

This release introduces bigint/number modes for decimal types and refactors sql-js query preparation. It includes several data type mismatch fixes for MySQL and Postgres, and resolves issues with AWS Data API and RQBv1.

0.40.11 feature
Mar 17, 2025

This update ensures drizzle-orm's neon-http driver is compatible with @neondatabase/serverless version 1.0.0 while maintaining backward compatibility with older versions.

0.40.05 features
Feb 25, 2025

This release introduces support for the Gel dialect, allowing users to query Gel databases using Drizzle ORM and pull schemas via Drizzle Kit while relying on the Gel CLI for migrations.

drizzle-kit@0.30.54 features
Feb 25, 2025

This release introduces the Gel dialect to Drizzle, allowing users to pull schemas from Gel databases and perform queries using drizzle-orm and gel-js.

0.39.3Breaking
Feb 10, 2025

This release removes the peer dependency on React to provide more flexibility in package management.

0.39.2Breaking1 feature
Feb 5, 2025

This release renames the internal 'neon_identity' schema to 'neon_auth' to ensure compatibility with the latest Neon Auth features.

0.39.12 fixes1 feature
Jan 29, 2025

This release fixes SQLite onConflict clause stacking and schema prefixing for aliased entities, while adding view support to aliasedTable().

drizzle-kit@0.30.42 fixes
Jan 29, 2025

This release addresses two bugs related to MySQL introspection, specifically fixing syntax errors generated during the process and when handling unsigned columns.

0.39.05 fixes5 features
Jan 27, 2025

This release introduces support for the Bun SQL driver and expands CTE capabilities to include write operations and raw SQL. It also adds Neon Identity schema helpers and resolves several type-related bugs in drizzle-zod.

drizzle-kit@0.30.3Breaking1 fix2 features
Jan 27, 2025

This release improves SingleStore support by implementing table recreation for unsupported DDL statements and fixes a bug related to index naming conflicts.

0.38.42 fixes1 feature
Jan 16, 2025

This release introduces support for the SingleStore vector type and fixes a bug related to SQL generation for dropping indexes.

drizzle-kit@0.30.21 fix
Jan 16, 2025

This release fixes a permission error in the drizzle-kit dependency related to certificate generation for Drizzle Studio.

Common Errors

DrizzleQueryError5 reports

DrizzleQueryError often arises from database connection issues, incorrect query syntax specific to your database driver (like PostgreSQL or MySQL), or mismatches between your schema definition and the actual database schema. To resolve this, carefully examine your database connection configuration, meticulously review your Drizzle schema and query syntax for compatibility with your database, and ensure your database migrations have been applied correctly to reflect your schema. Consider inspecting the query Drizzle is generating and running it directly against your database to isolate the problem.

FunctionCallException1 report

FunctionCallException in drizzle-orm often arises from incorrect `generatedAlwaysAs` usage or incompatibilities between your schema definition and database constraints, especially with SQLite and Expo SQLite. Ensure that the `generatedAlwaysAs` value matches your database column's generation expression precisely, and that the generation expression is valid SQL for your target database dialect. Review your migration files and schema definitions, paying close attention to any expressions used with `generatedAlwaysAs` for potential syntax errors or inconsistencies.

DrizzleTypeError1 report

DrizzleTypeError often arises from a mismatch between the generic type defined for your table schema (e.g., `PgTableWithColumns<T>`) and the type expected by Drizzle's methods like `select().from()`. Ensure the generic type `T` accurately reflects the column schema of your table, or explicitly cast the table to `AnyTable` when passing it to `from()` if the exact type isn't crucial for the operation. Update Drizzle ORM if this is indeed a bug in the type definitions themselves.

NotFoundException1 report

NotFoundException in Drizzle ORM usually arises when querying for a single record using `.get()` or similar methods, but no matching record exists in the database based on the provided criteria. To fix this, either ensure your query criteria are correct and a record should exist, or use `.findFirst()`/`.findMany()` with `.limit(1)` and handle the potential absence of a result by checking if the returned array is empty. You can also use `.findFirst()` directly and handle null return.

BadRequestException1 report

BadRequestException in drizzle-orm often arises from type mismatches between your schema definition and the data you're trying to insert or query, especially when using drizzle-zod. Ensure your Zod schemas accurately reflect your database schema and that the types passed during operations like `db.insert(table).values(data)` align with these defined schemas. Carefully check the inferred types and adjust your Zod schemas or data transformations to eliminate type discrepancies that triggers the validation error.

Related Backend & Infra Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed