Packages

tailwind-merge

3.7.1 · 19 Nov 2026MIT118.2M / weekRepositorynpmAtom feed

Upgrading tailwind-merge From 2.4.0 to 3.7.1

22 releases in betweenevery note read

Other targets from 2.4.0Newest 2.x2.6.2
  1. 2.4.0yours
  2. 9 releases
  3. 3.0.0major
  4. 11 releases
  5. 3.7.1target
  6. 48 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Release by release

  1. 3.7.1

    19 Nov 202613 fixes
    • Fixed

      Fix font sizes without a line-height modifier removing earlier leading-* classes

    • Fixed

      Fix arbitrary values using --spacing() being classified as colors instead of lengths

    • Fixed

      Fix mask-circle and mask-ellipse not merging

    • Fixed

      Fix flex-(--var) not merging with other flex classes

  2. 3.7.0

    12 Sep 20261 new · 8 fixes
    • New

      Prepare some upcoming changes

    • Fixed

      Fix arbitrary values using color() or light-dark() being classified as lengths instead of colors

    • Fixed

      Fix bare bg-conic not merging with other background image classes

    • Fixed

      Fix columns-auto not conflicting with other columns classes

  3. 3.6.0

    10 May 20262 new
    • New

      Add support for Tailwind CSS v4.3

    • New

      Add support for readonly array values

  4. 3.5.0

    18 Feb 20261 new
    • New

      Add support for Tailwind CSS v4.2

  5. 3.4.1

    15 Feb 20261 fix
    • Fixed

      Prevent arbitrary font-family and font-weight from merging

  6. 3.4.0

    9 Nov 20251 new
    • New

      Performance optimizations which make tailwind-merge >10% faster

  7. 3.3.1

    10 Jun 20251 fix
    • Fixed

      Fix arbitrary value using color-mix() not being detected as color

  8. 3.3.0

    11 May 20251 new
    • New

      Add support for tailwind CSS v4.1.5

6 other lines we could not sort, mostly version bumps
  • Switch package manager from yarn to pnpm

    3.7.0
  • Harden CI security

    3.7.0
  • Harden internal CI pipeline security by omitting git checkout

    3.6.0
  • Improve benchmarking suite

    3.4.0
  • Publish 2.x releases with provenance

    2.6.2
  • Switch test suite to vitest

    2.5.3

15 internal lines (docs, tests, tooling) left out.

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.