Packages

tailwind-merge

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

Upgrading tailwind-merge From 0.1.2 to 0.9.0

13 releases in betweenevery note read

Other targets from 0.1.2Latest3.7.1
  1. 0.1.2yours
  2. 0.2.0major
  3. 0.3.0major
  4. 0.4.0major
  5. 0.5.0major
  6. 2 releases
  7. 0.6.0major
  8. 0.7.0major
  9. 1 release
  10. 0.8.0major
  11. 2 releases
  12. 0.9.0target

Before you upgrade

Tick each one off as you go
  • Breaking0.8.0
  • Breaking0.8.0
  • Breaking0.8.0
  • Breaking0.8.0
  • Breaking0.8.0
  • Breaking0.8.0
  • Breaking0.4.0
  • Breaking0.4.0

Release by release

  1. 0.9.0

    24 Nov 20211 new
    • New

      Mimic theme from Tailwind config in tailwind-merge config

  2. 0.8.2

    2 Nov 20211 fix
    • Fixed

      Fix custom values for list-style-type missing in default config

  3. 0.8.1

    25 Oct 20211 fix
    • Fixed

      Fix missing support for custom values in some class groups in default config

  4. 0.8.0

    Migration needed21 Oct 20215 new · 1 fix
    • Breaking

      This is a big release with breaking changes.

    • Breaking

      Previously there was a list of prefixes in the tailwind-merge config which was used to match Tailwind prefixes. I removed those and match all prefixes as valid Tailwind prefixes. This is only a breaking change if you use non-Tailwind classes with : in them which look like Tailwind classes after the prefix. tailwind-merge will treat those as Tailwind classes and resolve conflicts incorrectly. (#50)

    • Breaking

      createTailwindMerge: Doesn't get passed the getDefaultConfig callback anymore. You need to call the exported function getDefaultConfig instead to get the default config. (#42)

    • Breaking

      createTailwindMerge: You probably don't need createTailwindMerge anyway. Use the new and much simpler to use extendTailwindMerge instead. (#49)

  5. 0.7.1

    18 Oct 20211 fix
    • Fixed

      Fix CommonJS imports not working

  6. 0.7.0

    17 Sep 20211 new
    • New

      Allow passing false to twMerge

  7. 0.6.0

    28 Aug 20211 new · 1 fix
    • New

      Allow passing null as argument to twMerge #20

    • Fixed

      Fix merges with important modifier not working when using prefixed classes

  8. 0.5.2

    23 Aug 20211 new · 1 fix
    • New

      Add support for custom classes like cursor-[grab]

    • Fixed

      Fix incorrect conflicts in Font Variant Numeric classes

2 other lines we could not sort, mostly version bumps
  • Make logo in README version-specific

    0.5.0
  • tailwind-merge now has a logo by @dcastil in 9402c8ec1b19714bb8ecb158eb124b89a8c1ba64, b96997942d4e92e045c9b08e7314843305b41fe2, dae2aaabf8c00b0d5086aff744aa2c53513daf33, e9e88060578483a3ed4728430f7b188e51aaef49, 4e2d9f160dae00e18ebcbecf54f4dd33dc4264bb

    0.3.0

1 internal line (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.