dcastil/tailwind-merge (tailwind-merge)
### [`v2.5.4`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.4)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.3...v2.5.4)
##### Bug Fixes
- Fix incorrect paths within sourcemaps by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/483](https://redirect.github.com/dcastil/tailwind-merge/pull/483)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.3...v2.5.4
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco), [@roboflow](https://redirect.github.com/roboflow) and [@codecov](https://redirect.github.com/codecov) for sponsoring tailwind-merge! ❤️
### [`v2.5.3`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.3)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.2...v2.5.3)
##### Bug Fixes
- Add missing logical border color properties by [@sherlockdoyle](https://redirect.github.com/sherlockdoyle) in [https://github.com/dcastil/tailwind-merge/pull/478](https://redirect.github.com/dcastil/tailwind-merge/pull/478)
##### Documentation
- Add benchmark reporting to PRs and commits by [@XantreDev](https://redirect.github.com/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/455](https://redirect.github.com/dcastil/tailwind-merge/pull/455)
##### Other
- Switch test suite to vitest by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/461](https://redirect.github.com/dcastil/tailwind-merge/pull/461)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.2...v2.5.3
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco), [@roboflow](https://redirect.github.com/roboflow), [@xeger](https://redirect.github.com/xeger) and [@MrDeatHHH](https://redirect.github.com/MrDeatHHH) for sponsoring tailwind-merge! ❤️
### [`v2.5.2`](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.1...a72f2f474fbba41c9940d3c9737cd3ad431d68da)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.1...v2.5.2)
### [`v2.5.1`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.1)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1)
##### Bug Fixes
- Fx space at beginning of input causing infinite loop by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/457](https://redirect.github.com/dcastil/tailwind-merge/pull/457)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco) and [@jamaluddinrumi](https://redirect.github.com/jamaluddinrumi) for sponsoring tailwind-merge! ❤️
### [`v2.5.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0)
##### New Features
- Performance improvements in mergeClassList by [@XantreDev](https://redirect.github.com/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://redirect.github.com/dcastil/tailwind-merge/pull/450) and [@rortan134](https://redirect.github.com/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://redirect.github.com/dcastil/tailwind-merge/pull/445)
- Use arrow functions where possible to help with minification by [@VIKTORVAV99](https://redirect.github.com/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://redirect.github.com/dcastil/tailwind-merge/pull/449)
##### Bug Fixes
- Fix bg-opacity arbitrary percentages not being recognized properly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://redirect.github.com/dcastil/tailwind-merge/pull/451)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy) and [@jamesreaco](https://redirect.github.com/jamesreaco) for sponsoring tailwind-merge! ❤️
### [`v2.4.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.4.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0)
##### New Features
- Allow hooking into class parsing logic (experimental) by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/444](https://redirect.github.com/dcastil/tailwind-merge/pull/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](https://redirect.github.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5) and subscribe to [https://github.com/dcastil/tailwind-merge/issues/385](https://redirect.github.com/dcastil/tailwind-merge/issues/385) for upcoming more powerful low-level functionality.
- Create security policy by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/439](https://redirect.github.com/dcastil/tailwind-merge/pull/439)
- Added documentation on how to report potential vulnerabilities
- Avoid `@babel/runtime` dependency by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/431](https://redirect.github.com/dcastil/tailwind-merge/pull/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
- Comment/typo fixes by [@barvian](https://redirect.github.com/barvian) in [https://github.com/dcastil/tailwind-merge/pull/443](https://redirect.github.com/dcastil/tailwind-merge/pull/443)
- Fix typo in doc/recipes.md by [@dsernst](https://redirect.github.com/dsernst) in [https://github.com/dcastil/tailwind-merge/pull/428](https://redirect.github.com/dcastil/tailwind-merge/pull/428)
- docs: add tailwind-merge-dotnet to similar packages by [@desmondinho](https://redirect.github.com/desmondinho) in [https://github.com/dcastil/tailwind-merge/pull/415](https://redirect.github.com/dcastil/tailwind-merge/pull/415)
##### Other
- Added GitHub Action that adds context-v2 label to every issue, discussion and PR by [@Pritam1211](https://redirect.github.com/Pritam1211) in [https://github.com/dcastil/tailwind-merge/pull/434](https://redirect.github.com/dcastil/tailwind-merge/pull/434)
- Replace size-limit action with own metrics-report action by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/433](https://redirect.github.com/dcastil/tailwind-merge/pull/433)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco) and [@microsoft](https://redirect.github.com/microsoft) for sponsoring tailwind-merge! ❤️
### [`v2.3.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.3.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0)
##### New Features
- Add support for mix-blend-plus-darker utility by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/403](https://redirect.github.com/dcastil/tailwind-merge/pull/403)
- Added support for bigint in ClassNameValue type by [@LarsArtmann](https://redirect.github.com/LarsArtmann) in [https://github.com/dcastil/tailwind-merge/pull/402](https://redirect.github.com/dcastil/tailwind-merge/pull/402)
##### Documentation
- Add tailwind-merge-go to similar packages in docs by [@Oudwins](https://redirect.github.com/Oudwins) in [https://github.com/dcastil/tailwind-merge/pull/396](https://redirect.github.com/dcastil/tailwind-merge/pull/396)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy) and [@jamesreaco](https://redirect.github.com/jamesreaco) for sponsoring tailwind-merge! ❤️
### [`v2.2.2`](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.1...dac08e4973b881d2f36a840ebf787ad4a4548562)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.1...v2.2.2)
### [`v2.2.1`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.2.1)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1)
##### Bug Fixes
- Fix stroke-color being incorrectly detected as stroke-width by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/371](https://redirect.github.com/dcastil/tailwind-merge/pull/371)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️
### [`v2.2.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.2.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0)
##### New Features
- Add support for Tailwind CSS v3.4 by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/360](https://redirect.github.com/dcastil/tailwind-merge/pull/360)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@ErwinAI](https://redirect.github.com/ErwinAI) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️
### [`v2.1.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.1.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0)
##### New Features
- Add `ClassValidator` type to package exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/348](https://redirect.github.com/dcastil/tailwind-merge/pull/348)
##### Bug Fixes
- Fix display class not removed when it precedes line-clamp class by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/347](https://redirect.github.com/dcastil/tailwind-merge/pull/347)
##### Documentation
- Fix curly bracket typo in config docs by [@Kosai106](https://redirect.github.com/Kosai106) in [https://github.com/dcastil/tailwind-merge/pull/349](https://redirect.github.com/dcastil/tailwind-merge/pull/349)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0
Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@ErwinAI](https://redirect.github.com/ErwinAI) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️
### [`v2.0.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.0.0)
[Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0)
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](https://medium.com/@risecal/meet-rise-the-calendar-that-works-for-you-were-launching-the-public-beta-today-bc07555a2191) 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](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/changelog/v1-to-v2-migration.md) and if you have any questions, feel free to [create an issue](https://redirect.github.com/dcastil/tailwind-merge/issues/new/choose).
##### Breaking Changes
- Fix `background-image` and `background-position` being merged incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://redirect.github.com/dcastil/tailwind-merge/pull/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](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md) for tailwind-merge. If you use background position or background size with arbitrary values, please read [this section](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md#you-need-to-use-label-in-arbitrary-background-position-and-background-size-classes) about how to use them.
- Make types of available keys more strict and configurable through generics by [@kachkaev](https://redirect.github.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://redirect.github.com/dcastil/tailwind-merge/pull/279)
- Make it possible to override elements with `extendTailwindMerge` by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://redirect.github.com/dcastil/tailwind-merge/pull/294)
- Separate validators better by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://redirect.github.com/dcastil/tailwind-merge/pull/292)
- Make `conflictingClassGroupModifiers` in config non-optional by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://redirect.github.com/dcastil/tailwind-merge/pull/291)
- Move separator to config by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://redirect.github.com/dcastil/tailwind-merge/pull/290)
- Remove `module` field from package.json by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://redirect.github.com/dcastil/tailwind-merge/pull/289)
- Remove deprecated exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://redirect.github.com/dcastil/tailwind-merge/pull/288)
- Transpile lib to more modern JS by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://redirect.github.com/dcastil/tailwind-merge/pull/287)
##### New Features
- Make types of available keys more strict and configurable through generics by [@kachkaev](https://redirect.github.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://redirect.github.com/dcastil/tailwind-merge/pull/279)
- Make it possible to override elements with `extendTailwindMerge` by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://redirect.github.com/dcastil/tailwind-merge/pull/294)
- Separate validators better by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://redirect.github.com/dcastil/tailwind-merge/pull/292)
- Make `conflictingClassGroupModifiers` in config non-optional by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://redirect.github.com/dcastil/tailwind-merge/pull/291)
- Move separator to config by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://redirect.github.com/dcastil/tailwind-merge/pull/290)
- Remove `module` field from package.json by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://redirect.github.com/dcastil/tailwind-merge/pull/289)
- Remove deprecated exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://redirect.github.com/dcastil/tailwind-merge/pull/288)
- Transpile lib to more modern JS by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://redirect.github.com/dcastil/tailwind-merge/pull/287)
- Add ES5 bundle by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/286](https://redirect.github.com/dcastil/tailwind-merge/pull/286)
##### Bug Fixes
- Fix touch action classes overriding each other incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/313](https://redirect.github.com/dcastil/tailwind-merge/pull/313)
- Fix `background-image` and `background-position` being merged incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://redirect.github.com/dcastil/tailwind-merge/pull/300)
- Fix number validators accidentally returning `true` for empty strings by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/295](https://redirect.github.com/dcastil/tailwind-merge/pull/295)
- Rename lazy-initializaton.test.ts to lazy-initialization.test.ts by [@CrutchTheClutch](https://redirect.github.com/CrutchTheClutch) in [https://github.com/dcastil/tailwind-merge/pull/284](https://redirect.github.com/dcastil/tailwind-merge/pull/284)
##### Documentation
- Explain limitations of arbitrary values in `bg-size` and `bg-position` class groups in docs by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/328](https://redirect.github.com/dcastil/tailwind-merge/pull/328)
**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0
Thanks to [@quezlatch](https://redirect.github.com/quezlatch), [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990) and [@ErwinAI](https://redirect.github.com/ErwinAI) for sponsoring tailwind-merge! ❤️
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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 contains the following updates:
^1.14.0
->^2.0.0
Release Notes
dcastil/tailwind-merge (tailwind-merge)
### [`v2.5.4`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.4) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.3...v2.5.4) ##### Bug Fixes - Fix incorrect paths within sourcemaps by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/483](https://redirect.github.com/dcastil/tailwind-merge/pull/483) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.3...v2.5.4 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco), [@roboflow](https://redirect.github.com/roboflow) and [@codecov](https://redirect.github.com/codecov) for sponsoring tailwind-merge! ❤️ ### [`v2.5.3`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.3) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.2...v2.5.3) ##### Bug Fixes - Add missing logical border color properties by [@sherlockdoyle](https://redirect.github.com/sherlockdoyle) in [https://github.com/dcastil/tailwind-merge/pull/478](https://redirect.github.com/dcastil/tailwind-merge/pull/478) ##### Documentation - Add benchmark reporting to PRs and commits by [@XantreDev](https://redirect.github.com/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/455](https://redirect.github.com/dcastil/tailwind-merge/pull/455) ##### Other - Switch test suite to vitest by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/461](https://redirect.github.com/dcastil/tailwind-merge/pull/461) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.2...v2.5.3 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco), [@roboflow](https://redirect.github.com/roboflow), [@xeger](https://redirect.github.com/xeger) and [@MrDeatHHH](https://redirect.github.com/MrDeatHHH) for sponsoring tailwind-merge! ❤️ ### [`v2.5.2`](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.1...a72f2f474fbba41c9940d3c9737cd3ad431d68da) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.1...v2.5.2) ### [`v2.5.1`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.1) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1) ##### Bug Fixes - Fx space at beginning of input causing infinite loop by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/457](https://redirect.github.com/dcastil/tailwind-merge/pull/457) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.5.0...v2.5.1 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco) and [@jamaluddinrumi](https://redirect.github.com/jamaluddinrumi) for sponsoring tailwind-merge! ❤️ ### [`v2.5.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.5.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0) ##### New Features - Performance improvements in mergeClassList by [@XantreDev](https://redirect.github.com/XantreDev) in [https://github.com/dcastil/tailwind-merge/pull/450](https://redirect.github.com/dcastil/tailwind-merge/pull/450) and [@rortan134](https://redirect.github.com/rortan134) in [https://github.com/dcastil/tailwind-merge/pull/445](https://redirect.github.com/dcastil/tailwind-merge/pull/445) - Use arrow functions where possible to help with minification by [@VIKTORVAV99](https://redirect.github.com/VIKTORVAV99) in [https://github.com/dcastil/tailwind-merge/pull/449](https://redirect.github.com/dcastil/tailwind-merge/pull/449) ##### Bug Fixes - Fix bg-opacity arbitrary percentages not being recognized properly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/451](https://redirect.github.com/dcastil/tailwind-merge/pull/451) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.4.0...v2.5.0 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy) and [@jamesreaco](https://redirect.github.com/jamesreaco) for sponsoring tailwind-merge! ❤️ ### [`v2.4.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.4.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0) ##### New Features - Allow hooking into class parsing logic (experimental) by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/444](https://redirect.github.com/dcastil/tailwind-merge/pull/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](https://redirect.github.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5) and subscribe to [https://github.com/dcastil/tailwind-merge/issues/385](https://redirect.github.com/dcastil/tailwind-merge/issues/385) for upcoming more powerful low-level functionality. - Create security policy by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/439](https://redirect.github.com/dcastil/tailwind-merge/pull/439) - Added documentation on how to report potential vulnerabilities - Avoid `@babel/runtime` dependency by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/431](https://redirect.github.com/dcastil/tailwind-merge/pull/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 - Comment/typo fixes by [@barvian](https://redirect.github.com/barvian) in [https://github.com/dcastil/tailwind-merge/pull/443](https://redirect.github.com/dcastil/tailwind-merge/pull/443) - Fix typo in doc/recipes.md by [@dsernst](https://redirect.github.com/dsernst) in [https://github.com/dcastil/tailwind-merge/pull/428](https://redirect.github.com/dcastil/tailwind-merge/pull/428) - docs: add tailwind-merge-dotnet to similar packages by [@desmondinho](https://redirect.github.com/desmondinho) in [https://github.com/dcastil/tailwind-merge/pull/415](https://redirect.github.com/dcastil/tailwind-merge/pull/415) ##### Other - Added GitHub Action that adds context-v2 label to every issue, discussion and PR by [@Pritam1211](https://redirect.github.com/Pritam1211) in [https://github.com/dcastil/tailwind-merge/pull/434](https://redirect.github.com/dcastil/tailwind-merge/pull/434) - Replace size-limit action with own metrics-report action by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/433](https://redirect.github.com/dcastil/tailwind-merge/pull/433) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.3.0...v2.4.0 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy), [@jamesreaco](https://redirect.github.com/jamesreaco) and [@microsoft](https://redirect.github.com/microsoft) for sponsoring tailwind-merge! ❤️ ### [`v2.3.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.3.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0) ##### New Features - Add support for mix-blend-plus-darker utility by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/403](https://redirect.github.com/dcastil/tailwind-merge/pull/403) - Added support for bigint in ClassNameValue type by [@LarsArtmann](https://redirect.github.com/LarsArtmann) in [https://github.com/dcastil/tailwind-merge/pull/402](https://redirect.github.com/dcastil/tailwind-merge/pull/402) ##### Documentation - Add tailwind-merge-go to similar packages in docs by [@Oudwins](https://redirect.github.com/Oudwins) in [https://github.com/dcastil/tailwind-merge/pull/396](https://redirect.github.com/dcastil/tailwind-merge/pull/396) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.2...v2.3.0 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@langy](https://redirect.github.com/langy) and [@jamesreaco](https://redirect.github.com/jamesreaco) for sponsoring tailwind-merge! ❤️ ### [`v2.2.2`](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.1...dac08e4973b881d2f36a840ebf787ad4a4548562) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.1...v2.2.2) ### [`v2.2.1`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.2.1) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1) ##### Bug Fixes - Fix stroke-color being incorrectly detected as stroke-width by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/371](https://redirect.github.com/dcastil/tailwind-merge/pull/371) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.2.0...v2.2.1 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.2.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.2.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0) ##### New Features - Add support for Tailwind CSS v3.4 by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/360](https://redirect.github.com/dcastil/tailwind-merge/pull/360) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.1.0...v2.2.0 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@ErwinAI](https://redirect.github.com/ErwinAI) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.1.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.1.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0) ##### New Features - Add `ClassValidator` type to package exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/348](https://redirect.github.com/dcastil/tailwind-merge/pull/348) ##### Bug Fixes - Fix display class not removed when it precedes line-clamp class by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/347](https://redirect.github.com/dcastil/tailwind-merge/pull/347) ##### Documentation - Fix curly bracket typo in config docs by [@Kosai106](https://redirect.github.com/Kosai106) in [https://github.com/dcastil/tailwind-merge/pull/349](https://redirect.github.com/dcastil/tailwind-merge/pull/349) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v2.0.0...v2.1.0 Thanks to [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990), [@ErwinAI](https://redirect.github.com/ErwinAI) and [@langy](https://redirect.github.com/langy) for sponsoring tailwind-merge! ❤️ ### [`v2.0.0`](https://redirect.github.com/dcastil/tailwind-merge/releases/tag/v2.0.0) [Compare Source](https://redirect.github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0) 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](https://medium.com/@risecal/meet-rise-the-calendar-that-works-for-you-were-launching-the-public-beta-today-bc07555a2191) 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](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/changelog/v1-to-v2-migration.md) and if you have any questions, feel free to [create an issue](https://redirect.github.com/dcastil/tailwind-merge/issues/new/choose). ##### Breaking Changes - Fix `background-image` and `background-position` being merged incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://redirect.github.com/dcastil/tailwind-merge/pull/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](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md) for tailwind-merge. If you use background position or background size with arbitrary values, please read [this section](https://redirect.github.com/dcastil/tailwind-merge/blob/v2.0.0/docs/limitations.md#you-need-to-use-label-in-arbitrary-background-position-and-background-size-classes) about how to use them. - Make types of available keys more strict and configurable through generics by [@kachkaev](https://redirect.github.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://redirect.github.com/dcastil/tailwind-merge/pull/279) - Make it possible to override elements with `extendTailwindMerge` by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://redirect.github.com/dcastil/tailwind-merge/pull/294) - Separate validators better by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://redirect.github.com/dcastil/tailwind-merge/pull/292) - Make `conflictingClassGroupModifiers` in config non-optional by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://redirect.github.com/dcastil/tailwind-merge/pull/291) - Move separator to config by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://redirect.github.com/dcastil/tailwind-merge/pull/290) - Remove `module` field from package.json by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://redirect.github.com/dcastil/tailwind-merge/pull/289) - Remove deprecated exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://redirect.github.com/dcastil/tailwind-merge/pull/288) - Transpile lib to more modern JS by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://redirect.github.com/dcastil/tailwind-merge/pull/287) ##### New Features - Make types of available keys more strict and configurable through generics by [@kachkaev](https://redirect.github.com/kachkaev) in [https://github.com/dcastil/tailwind-merge/pull/279](https://redirect.github.com/dcastil/tailwind-merge/pull/279) - Make it possible to override elements with `extendTailwindMerge` by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/294](https://redirect.github.com/dcastil/tailwind-merge/pull/294) - Separate validators better by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/292](https://redirect.github.com/dcastil/tailwind-merge/pull/292) - Make `conflictingClassGroupModifiers` in config non-optional by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/291](https://redirect.github.com/dcastil/tailwind-merge/pull/291) - Move separator to config by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/290](https://redirect.github.com/dcastil/tailwind-merge/pull/290) - Remove `module` field from package.json by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/289](https://redirect.github.com/dcastil/tailwind-merge/pull/289) - Remove deprecated exports by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/288](https://redirect.github.com/dcastil/tailwind-merge/pull/288) - Transpile lib to more modern JS by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/287](https://redirect.github.com/dcastil/tailwind-merge/pull/287) - Add ES5 bundle by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/286](https://redirect.github.com/dcastil/tailwind-merge/pull/286) ##### Bug Fixes - Fix touch action classes overriding each other incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/313](https://redirect.github.com/dcastil/tailwind-merge/pull/313) - Fix `background-image` and `background-position` being merged incorrectly by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/300](https://redirect.github.com/dcastil/tailwind-merge/pull/300) - Fix number validators accidentally returning `true` for empty strings by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/295](https://redirect.github.com/dcastil/tailwind-merge/pull/295) - Rename lazy-initializaton.test.ts to lazy-initialization.test.ts by [@CrutchTheClutch](https://redirect.github.com/CrutchTheClutch) in [https://github.com/dcastil/tailwind-merge/pull/284](https://redirect.github.com/dcastil/tailwind-merge/pull/284) ##### Documentation - Explain limitations of arbitrary values in `bg-size` and `bg-position` class groups in docs by [@dcastil](https://redirect.github.com/dcastil) in [https://github.com/dcastil/tailwind-merge/pull/328](https://redirect.github.com/dcastil/tailwind-merge/pull/328) **Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.14.0...v2.0.0 Thanks to [@quezlatch](https://redirect.github.com/quezlatch), [@brandonmcconnell](https://redirect.github.com/brandonmcconnell), [@manavm1990](https://redirect.github.com/manavm1990) and [@ErwinAI](https://redirect.github.com/ErwinAI) for sponsoring tailwind-merge! ❤️Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
This PR was generated by Mend Renovate. View the repository job log.