v2.4.0
github-actions
released this
07 Jul 16:29
·
142 commits
to refs/heads/main
since this release
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.
- There is no info to this in the docs because this is experimental, but there is a new
- 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.
- Now no dependencies in tailwind-merge anymore. This dependency was only used in the
Documentation
- Comment/typo fixes by @barvian in #443
- Fix typo in doc/recipes.md by @dsernst in #428
- Add tailwind-merge-dotnet to similar packages by @desmondinho in #415
Other
- Added GitHub Action that adds context-v2 label to every issue, discussion and PR by @Pritam1211 in #434
- Replace size-limit action with own metrics-report action by @dcastil in #433
Full Changelog: v2.3.0...v2.4.0
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco and @microsoft for sponsoring tailwind-merge! ❤️