Packages

drizzle-kit

0.31.11 · 21 Sep 2026MIT42.7M / weekRepositoryHomepagenpmAtom feed

Your version

187 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.31.x · latest line
  2. 0.31.11

    21 Sep 2026
    • Warn about silent migration skips on drizzle-kit checks

  3. 0.31.10

    17 Mar 2026
    • Updated to hanji@0.0.8 - native bun stringWidth, stripANSI support, errors for non-TTY environments

    • We've migrated away from esbuild-register to tsx loader, it will now allow to use drizzle-kit seamlessly with both ESM and CJS modules

    • We've also added native Bun and Deno launch support, which will not trigger tsx loader and utilise native bun and deno imports capabilities and faster startup times

  4. 0.31.9

    9 Feb 2026
    • drizzle-kit api improvements for D1 connections

  5. 0.31.8

    4 Dec 2025
    • Fixed external dependencies in build configuration.

  6. 0.31.5

    26 Sep 2025
    • Add casing support to studio configuration and related functions

  7. 0.31.4

    27 Jun 2025
    • Fixed halfvec, bit and sparsevec type generation bug in drizzle-kit

  8. 0.31.3

    26 Jun 2025
    • Internal changes to Studio context. Added databaseName and packageName properties for Studio

  9. 0.31.2

    23 Jun 2025
    • Fixed relations extraction to not interfere with Drizzle Studio.

  10. 0.31.1

    3 May 2025
    • Enable extensions schemas in drizzle.config.ts

    • Run drizzle-kit pull

    • Done!

  11. 0.31.0

    15 Apr 2025
  12. 0.30.x
  13. 0.30.5

    25 Feb 2025
    • Use the gel CLI to manage your schema.

    • Use the gel CLI to generate and apply migrations to the database.

    • Use drizzle-kit to pull the Gel database schema into a Drizzle schema.

  14. 0.30.4

    29 Jan 2025
    • Fix bug that generates incorrect syntax when introspect in mysql

    • Fix a bug that caused incorrect syntax output when introspect in unsigned columns

  15. 0.30.3

    27 Jan 2025
  16. 0.30.2

    16 Jan 2025
  17. 0.30.1

    13 Dec 2024

    To make drizzle-kit integration with other migration tools, like Atlas much easier, we've prepared a new command called export. It will translate your drizzle schema in SQL representation(DDL) statements and outputs to the console

  18. 0.30.0

    9 Dec 2024
    • An updated and improved migration workflow featuring commutative migrations, a revised folder structure, and enhanced collaboration capabilities for migrations.

    • Better support for Xata migrations.

    • Compatibility with CockroachDB (achieving full compatibility will only require removing serial fields from the migration folder).

  19. 0.29.x
  20. 0.29.1

    4 Dec 2024
    • Fix SingleStore generate migrations command

  21. 0.29.0

    3 Dec 2024

    Thanks to the SingleStore team for creating a PR with all the necessary changes to support the MySQL-compatible part of SingleStore. You can already start using it with Drizzle. The SingleStore team will also help us iterate through updates and make more SingleStore-specific features available in Drizzle

  22. 0.28.x
  23. 0.28.0

    6 Nov 2024
  24. 0.27.x
  25. 0.27.2

    6 Nov 2024
  26. 0.27.0

    30 Oct 2024
  27. 0.26.x
  28. 0.26.2

    16 Oct 2024
    • Updated internal versions for the drizzle-kit and drizzle-orm packages. Changes were introduced in the last minor release, and you are required to upgrade both packages to ensure they work as expected

  29. 0.26.1

    15 Oct 2024
    • Fix data is malformed for views

  30. 0.26.0

    15 Oct 2024
    • generate will work as expected for all check constraint changes.

    • push will detect only check renames and will recreate the constraint. All other changes to SQL won't be detected and will be ignored.

    • generate will work as expected for all view changes

  31. 0.25.x
  32. 0.25.0

    7 Oct 2024
    • Breaking

      This version of drizzle-orm will only work with @libsql/client@0.10.0 or higher if you are using the migrate function. For other use cases, you can continue using previous versions(But the suggestion is to upgrade)
      To install the latest version, use the command:

    • Breaking

      Previously, we had a common drizzle.config for SQLite and Turso users, which allowed a shared strategy for both dialects. Starting with this release, we are introducing the turso dialect in drizzle-kit. We will evolve and improve Turso as a separate dialect with its own migration strategies.

    • Change Data Type: Set a new data type for existing columns.

  33. 0.24.x
  34. 0.24.2

    26 Aug 2024
    • mysql-kit: Fix GENERATED ALWAYS AS ... NOT NULL - #2824

  35. 0.24.1

    22 Aug 2024
    • The Drizzle Kit CLI was not working properly for the introspect command.

    • Added the ability to use column names with special characters for all dialects.

    • Included PostgreSQL sequences in the introspection process.

  36. 0.24.0

    8 Aug 2024
    • If you are using push, you MAY be prompted to update your table with a new order of columns in the composite primary key. You will need to either change it manually in the database or push the changes, but this may lead to data loss, etc.

    • If you are using generate, you MAY also be prompted to update your table with a new order of columns in the composite primary key. You can either keep that migration or skip it by emptying the SQL migration file.

  37. 0.23.x
  38. 0.23.2

    5 Aug 2024
    • Fixed a bug in PostgreSQL with push and introspect where the schemaFilter object was passed. It was detecting enums even in schemas that were not defined in the schemaFilter.

    • Fixed the drizzle-kit up command to work as expected, starting from the sequences release.

  39. 0.23.1

    30 Jul 2024
    • 🐛 Re-export InferModel from drizzle-orm

  40. 0.23.0

    10 Jul 2024
    • 🎉 Added Knex and Kysely adapters! They allow you to manage the schemas and migrations with Drizzle and query the data with your favorite query builder. See documentation for more details:

    • 🎉 Added "type maps" to all entities. You can access them via the special _ property. For example:

      const users = mysqlTable('users', {
        id: int('id').primaryKey(),
        name: text('name').notNull(),
      });
      
      type UserFields = typeof users['_']['columns'];
      type InsertUser = typeof users['_']['model']['insert'];

      Full documentation on the type maps is coming soon.

    • 🎉 Added .$type() method to all column builders to allow overriding the data type. It also replaces the optional generics on columns.

      // Before
      const test = mysqlTable('test', {
        jsonField: json<Data>('json_field'),
      });
      
      // After
      const test = mysqlTable('test', {
        jsonField: json('json_field').$type<Data>(),
      });
  41. 0.22.x
  42. 0.22.1 – 0.22.88 releases without a noteShow each
  43. 0.22.0

    31 May 2024
    • 🎉 Introduced a standalone query builder that can be used without a DB connection:

      import { queryBuilder as qb } from 'drizzle-orm/pg-core';
      
      const query = qb.select().from(users).where(eq(users.name, 'Dan'));
      const { sql, params } = query.toSQL();
    • 🎉 Improved WITH ... SELECT subquery creation syntax to more resemble SQL:

      Before:

      const regionalSales = db
        .select({
          region: orders.region,
          totalSales: sql`sum(${orders.amount})`.as<number>('total_sales'),
      })
      .from(orders)
      .groupBy(orders.region)
      .prepareWithSubquery('regional_sales');
      
      await db.with(regionalSales).select(...).from(...);

      After:

      const regionalSales = db
        .$with('regional_sales')
        .as(
          db
            .select({
              region: orders.region,
              totalSales: sql<number>`sum(${orders.amount})`.as('total_sales'),
            })
            .from(orders)
            .groupBy(orders.region),
        );
      
      await db.with(regionalSales).select(...).from(...);
  44. 0.21.x
  45. 0.21.2 – 0.21.43 releases without a noteShow each
  46. 0.21.1

    10 May 2024
    • 🎉 Added support for HAVING clause

    • 🎉 Added support for referencing selected fields in .where(), .having(), .groupBy() and .orderBy() using an optional callback:

      await db
        .select({
          id: citiesTable.id,
          name: sql<string>`upper(${citiesTable.name})`.as('upper_name'),
          usersCount: sql<number>`count(${users2Table.id})::int`.as('users_count'),
        })
        .from(citiesTable)
        .leftJoin(users2Table, eq(users2Table.cityId, citiesTable.id))
        .where(({ name }) => sql`length(${name}) >= 3`)
        .groupBy(citiesTable.id)
        .having(({ usersCount }) => sql`${usersCount} > 0`)
        .orderBy(({ name }) => name);
  47. 0.21.0

    9 May 2024
    • Added support for new migration folder structure and breakpoints feature, described in drizzle-kit release section

    • Fix onUpdateNow() expression generation for default migration statement

    • Char is undefined during introspection #9

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.