New Features
- Allow hooking into class parsing logic (experimental) by dcastil in https://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://github.com/dcastil/tailwind-merge/pull/444/files#diff-b8b77f5be18cf56dca425b3a5b8e9d2e754dd37fe0e3612b95cd4e9bccda08a5) and subscribe to https://github.com/dcastil/tailwind-merge/issues/385 for upcoming more powerful low-level functionality.
- Create security policy by dcastil in https://github.com/dcastil/tailwind-merge/pull/439
- Added documentation on how to report potential vulnerabilities
- Avoid `babel/runtime` dependency by dcastil in https://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 in https://github.com/dcastil/tailwind-merge/pull/443
- Fix typo in doc/recipes.md by dsernst in https://github.com/dcastil/tailwind-merge/pull/428
- Add tailwind-merge-dotnet to similar packages by desmondinho in https://github.com/dcastil/tailwind-merge/pull/415
Other
- Added GitHub Action that adds context-v2 label to every issue, discussion and PR by Pritam1211 in https://github.com/dcastil/tailwind-merge/pull/434
- Replace size-limit action with own metrics-report action by dcastil in https://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, manavm1990, langy, jamesreaco and microsoft for sponsoring tailwind-merge! ❤️