Sourced from tailwind-merge's releases.
v3.1.0
New Features
- Add support for Tailwind CSS v4.0.10 by
@dcastilin dcastil/tailwind-merge#546Bug Fixes
- Fix length variable in
via-(length:*)class being merged withvia-<color>classes accidentally by@dcastilin dcastil/tailwind-merge#559Documentation
- Fix typo in comment in types.ts by
@roottoolin dcastil/tailwind-merge#549- Update shadow scale recipe to tailwind merge v3 API by
@dcastilin dcastil/tailwind-merge#545Other
- Fix metrics report action erroring on PRs from forks by
@dcastilin dcastil/tailwind-merge#551Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v3.0.2...v3.1.0
Thanks to
@brandonmcconnell,@manavm1990,@langy,@jamesreaco,@roboflow,@syntaxfm,@getsentry,@codecov,@sourcegraphand a private sponsor for sponsoring tailwind-merge! ❤️v3.0.2
Bug Fixes
- Fix
pxvalue not being recognized for some class groups by@dcastilin dcastil/tailwind-merge#538- Fix doc comment being in incorrect place in default config by
@gjtorikianin dcastil/tailwind-merge#526Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v3.0.1...v3.0.2
Thanks to
@brandonmcconnell,@manavm1990,@langy,@jamesreaco,@roboflow,@syntaxfm,@getsentry,@codecov,@sourcegraphand a private sponsor for sponsoring tailwind-merge! ❤️v3.0.1
Bug Fixes
- Update info about supported Tailwind CSS version in README by
@dcastilin b9c136d- Update incorrect link in v3 changelog by
@dcastilin e22885eFull Changelog: https://github.com/dcastil/tailwind-merge/compare/v3.0.0...v3.0.1
Thanks to
@brandonmcconnell,@manavm1990,@langy,@jamesreaco,@roboflow,@syntaxfm,@getsentry,@codecov,@sourcegraphand a private sponsor for sponsoring tailwind-merge! ❤️v3.0.0
Tailwind CSS v4 is here and it's time to upgrade tailwind-merge to support it. tailwind-merge v3.0.0 is more accurate than ever and follows the Tailwind CSS spec more closely than in v2. That is thanks to Tailwind CSS v4 being more consistent than ever.
This release drops support for Tailwind CSS v3 and in turn adds support for Tailwind CSS v4. That means you should upgrade to Tailwind CSS v4 and tailwind-merge v3 together. All breaking changes are related to the Tailwind CSS v4 support.
Check out the migration guide and if you have any questions, feel free to create an issue.
Breaking Changes
... (truncated)
a3f14e5
v3.1.01806ac9
add packageManager field to package.json0f3ecff
Merge pull request #559
from dcastil/bugfix/557/fix-length-variable-in-via-cl...7fd49e7
fix length variable not being detected in via classes7ee600f
make variable length via test case more specific13b6a20
add test case for length variable in via classb7721dc
Merge pull request #558
from dcastil/dependabot/npm_and_yarn/vite-6.2.4f547c7f
Bump vite from 6.2.3 to 6.2.42e63b23
Merge pull request #554
from dcastil/dependabot/npm_and_yarn/vite-6.2.35c6f8c0
Bump vite from 6.0.11 to 6.2.3