Skip to content

Releases: dcastil/tailwind-merge

v1.9.0

29 Jan 15:59
170e2ce

Choose a tag to compare

New Features

  • Support decimals in T-shirt sizes by @farreldarian in #189

Documentation

Other

Full Changelog: v1.8.1...v1.9.0

v1.8.1

23 Dec 14:24
12b82c0

Choose a tag to compare

Bug Fixes

  • Fix incorrect class group conflicts in grid-related classes by @dcastil in #177

Full Changelog: v1.8.0...v1.8.1

Thanks to @aniravi24 for sponsoring tailwind-merge! ❤️

v1.8.0

05 Nov 16:15
d1a7f27

Choose a tag to compare

New Features

  • Add support for custom separator by @dcastil in #168
  • Add support for dynamic viewport units in arbitrary lengths by @dcastil in #166
  • Rename join to twJoin by @dcastil in #161
    • I deprecated the join function and renamed it to twJoin to make replacing it via search and replace easier since join is a common function name. You don't need to change anything right now, but if you have some spare time, rename join → twJoin in your code since the join function will be removed in the next major release.

Full Changelog: v1.7.0...v1.8.0

Thanks to @gjtorikian for sponsoring tailwind-merge! ❤️

v1.7.0

20 Oct 06:44
67954c6

Choose a tag to compare

New Features

Full Changelog: v1.6.2...v1.7.0

v1.6.2

13 Oct 19:36
cad2db2

Choose a tag to compare

Bug Fixes

  • Fix arbitrary numbers not working in stroke-width by @dcastil in #153
    • Now tailwind-merge handles classes like stroke-[3] correctly.
    • I deprecated the validator isArbitraryWeight and renamed it to isArbitraryNumber to reflect its broader use case. You don't need to change anything right now, but if you have some spare time, rename isArbitraryWeightisArbitraryNumber in your code since isArbitraryWeight will be removed in the next major release.

Other

  • Add package version number to dev releases by @dcastil in #154
    • Now dev releases don't start with 0.0.0-dev anymore and instead have the version number of the last release, like 1.6.1-dev. That makes it easier for tools like Renovate to understand which package version you're using in case you use dev releases.

Full Changelog: v1.6.1...v1.6.2

v1.6.1

30 Sep 10:42
80d7e7a

Choose a tag to compare

Bug Fixes

Full Changelog: v1.6.0...v1.6.1

v1.6.0

20 Aug 20:17
b32c973

Choose a tag to compare

New Features

Bug Fixes

  • Replace matchAll with exec by @dcastil in #133
    • This makes tailwind-merge work in older browsers which don't support String.prototype.matchAll()

Other

  • Add recipes section to docs by @dcastil in #134
  • Split docs into multiple files by @dcastil in #131
  • Add comments to released PRs and their related issues by @dcastil in #130
  • Add tests to check actual CJS and ESM package exports by @dcastil in #129
  • Remove ts files from npm package by @dcastil in #128

Full Changelog: v1.5.1...v1.6.0

Thanks to @charkour for sponsoring tailwind-merge! ❤️

v1.5.1

21 Jul 07:29
b1b0c3d

Choose a tag to compare

Bug Fixes

  • Fix arbitrary z-index value not being recognized by @dcastil in #116

Full Changelog: v1.5.0...v1.5.1

Thanks to @charkour for sponsoring tailwind-merge! ❤️

v1.5.0

19 Jul 12:12
d34fea9

Choose a tag to compare

New Features

Full Changelog: v1.4.0...v1.5.0

Thanks to @charkour for sponsoring tailwind-merge! ❤️

v1.4.0

11 Jul 08:20
47ed804

Choose a tag to compare

New Features

  • Optimize runtime performance by using Map by @dcastil in #105

Bug Fixes

  • Fix overriding w-full with w-fit not working by @dcastil in #112

Other

  • Publish dev releases of every commit on main branch by @dcastil in #104

Full Changelog: v1.3.0...v1.4.0

Thanks to @charkour for sponsoring tailwind-merge! ❤️