Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 26, 2025

This PR contains the following updates:

Package Change Age Confidence
tailwind-merge ^1.14.0 -> ^3.0.0 age confidence

Release Notes

dcastil/tailwind-merge (tailwind-merge)

v3.3.1

Compare Source

Bug Fixes
  • Fix arbitrary value using color-mix() not being detected as color by @​dcastil in #​591

Full Changelog: dcastil/tailwind-merge@v3.3.0...v3.3.1

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph, a private sponsor, @​block and @​shawt3000 for sponsoring tailwind-merge! ❤️

v3.3.0

Compare Source

New Features

Full Changelog: dcastil/tailwind-merge@v3.2.0...v3.3.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph, a private sponsor and @​block for sponsoring tailwind-merge! ❤️

v3.2.0

Compare Source

New Features

Full Changelog: dcastil/tailwind-merge@v3.1.0...v3.2.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️

v3.1.0

Compare Source

New Features
Bug Fixes
  • Fix length variable in via-(length:*) class being merged with via-<color> classes accidentally by @​dcastil in #​559
Documentation
Other

Full Changelog: dcastil/tailwind-merge@v3.0.2...v3.1.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️

v3.0.2

Compare Source

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v3.0.1...v3.0.2

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️

v3.0.1

Compare Source

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v3.0.0...v3.0.1

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️

v3.0.0

Compare Source

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
  • Dropping support for Tailwind CSS v3 in favor of support for Tailwind CSS v4 by @​dcastil in #​518
  • Theme scales keys changed and now match Tailwind CSS v4 theme variable namespace exactly by @​dcastil in #​518
  • isLength validator was removed and split into separate validators isNumber and isFraction by @​dcastil in #​518
  • Prefix defined in config shouldn't include combining - character anymore by @​dcastil in #​518
  • Tailwind CSS v3 prefix position in class not supported anymore in favor of Tailwind CSS v4 position by @​dcastil in #​518
  • Custom separators are no longer supported by @​dcastil in #​518
  • New mandatory orderSensitiveModifiers property in config when using createTailwindMerge by @​dcastil in #​518
  • DefaultThemeGroupIds type union consists of different string literals than before by @​dcastil in #​518
  • Classes removed in Tailwind CSS v4 are not supported by tailwind-merge anymore by @​dcastil in #​518
New Features
  • Support for new important modifier position at the end of class by @​dcastil in #​518
  • Support for arbitrary CSS variable syntax by @​dcastil in #​518
  • There are a bunch of new validators used by tailwind-merge, primarily for new Tailwind CSS v4 features like arbitrary CSS variables by @​dcastil in #​518
Bug Fixes
  • Previously some order-sensitive modifiers like before: were treated as not order-sensitive. This is now fixed by @​dcastil in #​518
Documentation

Full Changelog: dcastil/tailwind-merge@v2.6.0...v3.0.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph and a private sponsor for sponsoring tailwind-merge! ❤️

v2.6.0

Compare Source

New Features

Full Changelog: dcastil/tailwind-merge@v2.5.5...v2.6.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov, @​sourcegraph, a private sponsor and more via @​thnxdev for sponsoring tailwind-merge! ❤️

v2.5.5

Compare Source

Bug Fixes
Documentation

Full Changelog: dcastil/tailwind-merge@v2.5.4...v2.5.5

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​syntaxfm, @​getsentry, @​codecov and more via @​thnxdev for sponsoring tailwind-merge! ❤️

v2.5.4

Compare Source

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v2.5.3...v2.5.4

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow and @​codecov for sponsoring tailwind-merge! ❤️

v2.5.3

Compare Source

Bug Fixes
Documentation
Other

Full Changelog: dcastil/tailwind-merge@v2.5.2...v2.5.3

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco, @​roboflow, @​xeger and @​MrDeatHHH for sponsoring tailwind-merge! ❤️

v2.5.2

Compare Source

Sorry for all the bugs today!

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v2.5.1...v2.5.2

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco and @​jamaluddinrumi for sponsoring tailwind-merge! ❤️

v2.5.1

Compare Source

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v2.5.0...v2.5.1

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco and @​jamaluddinrumi for sponsoring tailwind-merge! ❤️

v2.5.0

Compare Source

New Features
Bug Fixes
  • Fix bg-opacity arbitrary percentages not being recognized properly by @​dcastil in #​451

Full Changelog: dcastil/tailwind-merge@v2.4.0...v2.5.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy and @​jamesreaco for sponsoring tailwind-merge! ❤️

v2.4.0

Compare Source

New Features
  • Allow hooking into class parsing logic (experimental) by @​dcastil in #​444
    • There is no info to this in the docs because this is experimental, but there is a new experimentalParseClassName property in the config that allows you to customize how tailwind-merge recognizes classes. If you're interested, you can read how to use it in the inline JSDocs and subscribe to #​385 for upcoming more powerful low-level functionality.
  • Create security policy by @​dcastil in #​439
    • Added documentation on how to report potential vulnerabilities
  • Avoid @babel/runtime dependency by @​dcastil in #​431
    • 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.
Documentation
Other

Full Changelog: dcastil/tailwind-merge@v2.3.0...v2.4.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, @​jamesreaco and @​microsoft for sponsoring tailwind-merge! ❤️

v2.3.0

Compare Source

New Features
Documentation

Full Changelog: dcastil/tailwind-merge@v2.2.2...v2.3.0

Thanks to @​brandonmcconnell, @​manavm1990, @​langy and @​jamesreaco for sponsoring tailwind-merge! ❤️

v2.2.2

Compare Source

Bug Fixes
Documentation

Full Changelog: dcastil/tailwind-merge@v2.2.1...v2.2.2

Thanks to @​brandonmcconnell, @​manavm1990, @​langy, a private sponsor and @​jamesreaco for sponsoring tailwind-merge! ❤️

v2.2.1

Compare Source

Bug Fixes

Full Changelog: dcastil/tailwind-merge@v2.2.0...v2.2.1

Thanks to @​brandonmcconnell, @​manavm1990 and @​langy for sponsoring tailwind-merge! ❤️

v2.2.0

Compare Source

New Features

Full Changelog: dcastil/tailwind-merge@v2.1.0...v2.2.0

Thanks to @​brandonmcconnell, @​manavm1990, @​ErwinAI and @​langy for sponsoring tailwind-merge! ❤️

v2.1.0

Compare Source

New Features
Bug Fixes
  • Fix display class not removed when it precedes line-clamp class by @​dcastil in #​347
Documentation

Full Changelog: dcastil/tailwind-merge@v2.0.0...v2.1.0

Thanks to @​brandonmcconnell, @​manavm1990, @​ErwinAI and @​langy for sponsoring tailwind-merge! ❤️

v2.0.0

Compare Source

The tailwind-merge v2 release has been sitting here almost finished for 2 months already. But the timing was never quite right, especially thinking about the increased support needed after the release. In the meantime, the product of the company I work at launched in public beta and I married. Thank you for your patience.

This release focuses on making it easier to configure the library for new users. Check out the migration guide and if you have any questions, feel free to create an issue.

Breaking Changes
  • Fix background-image and background-position being merged incorrectly by @​dcastil in #​300
    • Values for background-position and background-size can look very similar and Tailwind CSS uses the same bg- prefix for both groups. This results in some limitations for tailwind-merge. If you use background position or background size with arbitrary values, please read this section about how to use them.
  • Make types of available keys more strict and configurable through generics by @​kachkaev in #​279
  • Make it possible to override elements with extendTailwindMerge by @​dcastil in #​294
  • Separate validators better by @​dcastil in #​292
  • Make conflictingClassGroupModifiers in config non-optional by @​dcastil in #​291
  • Move separator to config by @​dcastil in #​290
  • Remove module field from package.json by @​dcastil in #​289
  • Remove deprecated exports by @​dcastil in #​288
  • Transpile lib to more modern JS by @​dcastil in #​287
New Features
Bug Fixes
Documentation
  • Explain limitations of arbitrary values in bg-size and bg-position class groups in docs by @​dcastil in #​328

Full Changelog: dcastil/tailwind-merge@v1.14.0...v2.0.0

Thanks to @​quezlatch, @​brandonmcconnell, @​manavm1990 and @​ErwinAI for sponsoring tailwind-merge! ❤️


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/tailwind-merge-3.x branch from fcaa5e1 to 018e92a Compare May 3, 2025 03:57
@renovate renovate bot force-pushed the renovate/tailwind-merge-3.x branch from 018e92a to 9254478 Compare August 16, 2025 23:39
@renovate renovate bot force-pushed the renovate/tailwind-merge-3.x branch from 9254478 to f814e5d Compare September 27, 2025 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants