Skip to content

v2.4.0

Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jul 16:29
· 72 commits to refs/heads/main since this release
f745ace

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

  • 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! ❤️