github dcastil/tailwind-merge v2.4.0

latest releases: v3.3.1, v3.3.0, v3.2.0...
14 months ago

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

Don't miss a new tailwind-merge release

NewReleases is sending notifications on new releases.