Packages

tailwind-merge

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

Upgrading tailwind-merge From 1.1.0 to 3.7.1

51 releases in betweenevery note read

Other targets from 1.1.0Newest 1.x1.14.0
  1. 1.1.0yours
  2. 17 releases
  3. 1.12.0breaking
  4. 4 releases
  5. 2.0.0major
  6. 5 releases
  7. 2.4.0security
  8. 9 releases
  9. 3.0.0major
  10. 11 releases
  11. 3.7.1target
  12. 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

Security

  • Added documentation on how to report potential vulnerabilities

    2.4.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

12 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
  • Now no dependencies in tailwind-merge anymore. This dependency was only used in the tailwind-merge/es5 bundle anyway which I don't optimize for.

    2.4.0
  • Replace size-limit action with own metrics-report action

    2.4.0
  • I deprecated the join function and renamed it to twJoin to make replacing it via search and replace easier since join is a common function name. You don't need to change anything right now, but if you have some spare time, rename join → twJoin in your code since the join function will be removed in the next major release.

    1.8.0
  • Split docs into multiple files

    1.6.0

33 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.