Drizzle ORM is a headless TypeScript ORM for Node.js and JavaScript that provides a lightweight, dependency-free typed SQL layer. It’s useful for declaring SQL schemas and building relational and SQL-like queries for PostgreSQL, MySQL, and SQLite, including serverless options like Turso, Neon, Cloudflare D1, and Supabase.
Project status
- Actively maintained: GitHub upstream activity is current (last upstream push on 2026-08-11), and recent tags show continued work toward v1.0.0-rc.x rather than a long freeze.
- Apparent update cadence: Several update tags within 2026, including rc.1 (2026-04-30), rc.3 (2026-05-18), rc.4 (2026-06-27), plus an upstream push today, suggesting an ongoing, moderately frequent development cadence (not a multi-month or year-long lull).
AI summary generated
Recent updates
v1.0.0-rc.4
v1.0.0-rc.4 is a release-candidate that focuses heavily on Drizzle ORM fixes (codecs and mapper behavior, sqlite session changes, mysql float/timestamp corrections, and improvements to typed SQL operators and insert/select semantics), plus significant Drizzle Kit enhancements. The Drizzle Kit changes add a machine-readable output mode, a new programmatic SDK surface, an MCP server, and bundled agent skills.
BreakingFeaturesv1.0.0-rc.3
Release v1.0.0-rc.3 is presented as a port of PostgreSQL changes to other SQL dialects, specifically focusing on MySQL. The release notes describe multiple MySQL dialect execution-path changes (query preparation/session refactors, streaming compatibility behavior, and updated RQBv2 query shaping).
Breakingv1.0.0-rc.2
v1.0.0-rc.2 focuses on Drizzle ORM typing and migration improvements, including codec selection changes, PostgreSQL transaction API adjustments, and removal of prepared query typings from builders. It also updates drizzle-kit SQLite migration generation with conflict detection and improved branch merging, plus fixes around error names and aws-data-api error reporting.
BreakingFeaturesv1.0.0-rc.1
Release v1.0.0-rc.1 release notes claim major Drizzle ORM changes: a breaking casing API redesign, removal of Postgres RQB v1 `db._query`, plus performance improvements via a new JIT mapper system and codec-based internals. They also document new ecosystem support such as Netlify DB driver and Effect v4 integration.
BreakingFeaturesv1.0.0-beta.22
v1.0.0-beta.22 contains multiple drizzle-kit bug fixes (including Windows generation and several migration/SQL edge cases) plus a substantial update to PostgreSQL and MySQL commutativity checks. The release notes also mention marking mssql and @types/mssql as optional peer dependencies.
v1.0.0-beta.21
drizzle-kit v1.0.0-beta.21 focuses on improving PostgreSQL enum migration commutativity handling and how enum values are merged across branches. In the code, the commutativity/merge logic for `alter_enum` statements was changed to merge added enum values incrementally rather than replacing the enum wholesale.
BreakingFeaturesv1.0.0-beta.20
The release notes for v1.0.0-beta.20 claim a security fix for improper escaping in `sql.identifier()` and `sql.as()`, addressing a potential SQL Injection (CWE-89). However, the provided code diff shows a large addition of new package/CLI functionality under `attw-fork/` (new exports, an entrypoint/type resolution analysis engine, and multiple new “checks”), and does not include any visible changes related to `sql.identifier()` or `sql.as()`.
SecurityFeatures0.45.2
Version 0.45.2 fixes incorrect escaping for `sql.identifier()` and `sql.as()` that could allow SQL injection (CWE-89). The code change enforces proper escaping of identifier quoting characters across multiple SQL dialects (notably for names containing quote characters).
Securityv1.0.0-beta.19
v1.0.0-beta.19 adds `sqlcommenter` support for PostgreSQL and MySQL, letting you attach custom tags that are appended as SQL comments. The release notes also list multiple drizzle-kit bug fixes, plus two updates: a MySQL `migrate()` behavior adjustment and stricter schema file discovery (only specific script extensions are processed). The code diff shows a larger drizzle-kit internal refactor around how schema files and SQLite/LibSQL batching are handled, with several behavior changes that are not documented.
BreakingFeaturesv1.0.0-beta.18
v1.0.0-beta.18 adds support for the `node:sqlite` driver, auto-detected at runtime for running migrations and using Drizzle Studio. The release notes also document multiple fixes around `tsconfig` path alias resolution in `drizzle-kit`, plus a `hanji` dependency update.
BreakingFeatures