Back to Explore

drizzle-team/drizzle-orm

GitHub
3 updates · last 90 days1 watchersOpen source

Last release:

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, with very recent upstream activity (last GitHub push on 2026-09-23) and multiple updates in September 2026 to both Drizzle ORM and drizzle-kit tooling.
  • Apparent update cadence is high, with at least two related updates on 2026-09-21 (drizzle-kit 0.31.11 plus Drizzle 0.45.3), and no long gap evident up to today (2026-09-24).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • drizzle-kit@0.31.11

    drizzle-kit@0.31.11 includes a change to warn users during `drizzle-kit check` when migration journal entries would be silently skipped due to non-increasing timestamps. The actual code diff also contains several additional, undocumented modifications, including refactors to internal module-loading utilities and expanded support for Cloudflare D1 and Netlify DB.

    Features
  • 0.45.3

    This release introduces a new Netlify DB driver for Drizzle, enabling database access via Netlify DB configuration. It supports initializing the client through environment variables, passing an explicit database URL, or providing a custom Netlify DB client instance.

    Features
  • 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.

    BreakingFeatures
  • v1.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).

    Breaking
  • v1.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.

    BreakingFeatures
  • v1.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.

    BreakingFeatures
  • v1.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.

    BreakingFeatures
  • v1.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()`.

    SecurityFeatures
  • 0.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).

    Security
  • v1.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.

    BreakingFeatures
  • v1.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