Packages

drizzle-kit

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

Upgrading drizzle-kit From 0.24.2 to 0.25.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 0.24.2Newest 0.x, Latest0.31.11
  1. 0.24.2yours
  2. 0.25.0target
2
changes to make
0
advisories fixed
3
new
0
fixes

Before you upgrade

Tick each one off as you go
  • Breaking0.25.0
  • Breaking0.25.0

Release by release

  1. 0.25.0

    Migration needed7 Oct 20243 new
    • 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.

    • New

      Set and Drop Default Values: Add or remove default values for existing columns.

    • New

      Set and Drop NOT NULL: Add or remove the NOT NULL constraint on existing columns.

    • New

      Add References to Existing Columns: Add foreign key references to existing columns

7 other lines we could not sort, mostly version bumps
  • Change Data Type: Set a new data type for existing columns.

    0.25.0
  • Dropping foreign key will cause table recreation.

    0.25.0
  • If the table has indexes, altering columns will cause index recreation: Drizzle-Kit will drop the indexes, modify the columns, and then create the indexes.

    0.25.0
  • Adding or dropping composite foreign keys is not supported and will cause table recreation.

    0.25.0
  • Primary key columns can not be altered and will cause table recreation.

    0.25.0
  • Altering columns that are part of foreign key will cause table recreation.

    0.25.0
  • You can create a reference on any column type, but if you want to insert values, the referenced column must have a unique index or primary key.

    0.25.0

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.