tailwind-merge
3.7.1 · 19 Nov 2026MIT118.2M / weekRepositorynpmAtom feed
Upgrading tailwind-merge From 2.5.2 to 3.7.1
19 releases in betweenevery note read
- 10
- changes to make
- 0
- advisories fixed
- 13
- new
- 32
- fixes
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
- 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-circleandmask-ellipsenot merging - Fixed
Fix
flex-(--var)not merging with other flex classes
- Fixed
- New
Prepare some upcoming changes
- Fixed
Fix arbitrary values using
color()orlight-dark()being classified as lengths instead of colors - Fixed
Fix bare
bg-conicnot merging with other background image classes - Fixed
Fix
columns-autonot conflicting with othercolumnsclasses
- New
- New
Add support for Tailwind CSS v4.3
- New
Add support for readonly array values
- New
- New
Add support for Tailwind CSS v4.2
- New
- Fixed
Prevent arbitrary font-family and font-weight from merging
- Fixed
- New
Performance optimizations which make tailwind-merge >10% faster
- New
- Fixed
Fix arbitrary value using
color-mix()not being detected as color
- Fixed
- New
Add support for tailwind CSS v4.1.5
- New
6 other lines we could not sort, mostly version bumps
- 3.7.0
Switch package manager from yarn to pnpm
- 3.7.0
Harden CI security
- 3.6.0
Harden internal CI pipeline security by omitting git checkout
- 3.4.0
Improve benchmarking suite
- 2.6.2
Publish 2.x releases with provenance
- 2.5.3
Switch test suite to vitest
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.