NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1561 most downloaded on npm
Merge Tailwind CSS classes without style conflicts
Last release 16 days ago
13 Sep 2026
Ships on a steady schedule
a new release about every 3 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
474 releases · first in 2021
One column per quarter.
This is a big release with breaking changes. These were necessary to improve the API before the coming v1.0.0 release and to add better plugin support…
This is a big release with breaking changes. These were necessary to improve the API before the coming v1.0.0 release and to add better plugin support. If you feel like writing a plugin, check out the plugins section in the docs!
: in them which look like Tailwind classes after the prefix. tailwind-merge will treat those as Tailwind classes and resolve conflicts incorrectly. (https://github.com/dcastil/tailwind-merge/pull/50)createTailwindMerge
getDefaultConfig callback anymore. You need to call the exported function getDefaultConfig instead to get the default config. (https://github.com/dcastil/tailwind-merge/pull/42)createTailwindMerge anyway. Use the new and much simpler to use extendTailwindMerge instead. (https://github.com/dcastil/tailwind-merge/pull/49)extendTailwindMerge function by @dcastil in https://github.com/dcastil/tailwind-merge/pull/49mergeConfigs function by @dcastil in https://github.com/dcastil/tailwind-merge/pull/45createConfig functions by @dcastil in https://github.com/dcastil/tailwind-merge/pull/40Config type to the package exportsFull Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.7.1...v0.8.0
Fix CommonJS imports not working by @navin-moorthy and @dcastil in https://github.com/dcastil/tailwind-merge/pull/31
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.7.0...v0.7.1
Allow passing false to twMerge by @dcastil in https://github.com/dcastil/tailwind-merge/pull/25
false to twMerge by @dcastil in https://github.com/dcastil/tailwind-merge/pull/25Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.6.0...v0.7.0
Allow passing null as argument to twMerge #20 by @dcastil
null as argument to twMerge #20 by @dcastilFull Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.5.2...v0.6.0
Add support for custom classes like cursor-[grab] by @dcastil in https://github.com/dcastil/tailwind-merge/pull/19
cursor-[grab] by @dcastil in https://github.com/dcastil/tailwind-merge/pull/19Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.5.1...v0.5.2
Fix incorrect conflict between ring and shadow by @dcastil in https://github.com/dcastil/tailwind-merge/pull/15
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.5.0...v0.5.1
Add support for Tailwind CSS v2.2.6 by @dcastil in https://github.com/dcastil/tailwind-merge/pull/8
twMerge initialization until first call by @dcastil in https://github.com/dcastil/tailwind-merge/pull/7Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.4.0...v0.5.0
(Breaking change) Simplify config by @dcastil in https://github.com/dcastil/tailwind-merge/pull/3
createTailwindMerge
getDefaultConfig changed. (https://github.com/dcastil/tailwind-merge/pull/3)
dynamicClasses and standaloneClasses were merged into classGroupsconflictingGroups were renamed to conflictingClassGroupsclassGroups object instead of full path to class group. E.g. dynamicClasses.foo.0 → foo.Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.3.0...v0.4.0
Enable named class group collections by @dcastil in 16a31751fdfd87c39683fb4506dec6a0bf118772
dynamicClasses.flex.direction instead of just index-based ones like dynamicClasses.flex.0. More info on this in the createTailwindMerge() API reference.Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.2.0...v0.3.0
Add support for important modifier by @dcastil in 17a9e9d9d805ba585372e01a9eefae1dba89368b
bottom-auto not being detected as Tailwind classesby @dcastil in ec65b84f0aab57d1305019e4a143772d675798a2Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.1.2...v0.2.0
Fix errors when importing tailwind-merge as third party dependency. by @dcastil in 3335956da15fdcc484904976864816413fad68f6
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.1.1...v0.1.2
No changes here. Just testing automated npm publish.
No changes here. Just testing automated npm publish.
Full Changelog: https://github.com/dcastil/tailwind-merge/compare/v0.1.0...v0.1.1
First published version of tailwind-merge. 🎉
First published version of tailwind-merge. 🎉
Full Changelog: https://github.com/dcastil/tailwind-merge/commits/v0.1.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →