Skip to content

Releases: dcastil/tailwind-merge

v0.7.0

17 Sep 09:09
0946561
Compare
Choose a tag to compare

New Features

Full Changelog: v0.6.0...v0.7.0

v0.6.0

28 Aug 17:54
aa167ff
Compare
Choose a tag to compare

New Features

  • Allow passing null as argument to twMerge #20 by @dcastil

Bug Fixes

  • Fix merges with important modifier not working when using prefixed classes by @dcastil in #22

Full Changelog: v0.5.2...v0.6.0

v0.5.2

23 Aug 19:32
a95c589
Compare
Choose a tag to compare

Bug Fixes

  • Add support for custom classes like cursor-[grab] by @dcastil in #19
  • Fix incorrect conflicts in Font Variant Numeric classes by @dcastil in #18

Full Changelog: v0.5.1...v0.5.2

v0.5.1

17 Aug 19:28
16a5008
Compare
Choose a tag to compare

Bug Fixes

  • Fix incorrect conflict between ring and shadow by @dcastil in #15
  • Fix not all JIT-enabled pseudo variants working by @dcastil in #14

Other

  • Add CodeQL security analysis to repo by @dcastil in #10

Full Changelog: v0.5.0...v0.5.1

v0.5.0

22 Jul 22:21
72e93f8
Compare
Choose a tag to compare

New Features

  • Add support for Tailwind CSS v2.2.6 by @dcastil in #8
  • Delay twMerge initialization until first call by @dcastil in #7

Other

  • Make logo in README version-specific by @dcastil in #6

Full Changelog: v0.4.0...v0.5.0

v0.4.0

22 Jul 10:20
3940a99
Compare
Choose a tag to compare

Breaking Changes

  • createTailwindMerge
    • Config type changed and returned object from getDefaultConfig changed. (#3)
      • dynamicClasses and standaloneClasses were merged into classGroups
      • conflictingGroups were renamed to conflictingClassGroups
      • Class group IDs are keys of classGroups object instead of full path to class group. E.g. dynamicClasses.foo.0foo.

New Features

  • (Breaking change) Simplify config by @dcastil in #3
  • Add support for Tailwind v2.2.5 by @dcastil in #2

Bug Fixes

  • Fix non-conflicting border classes being merged incorrectly by @dcastil in #5

Full Changelog: v0.3.0...v0.4.0

v0.3.0

20 Jul 12:13
65e0e54
Compare
Choose a tag to compare

New Features

  • Enable named class group collections by @dcastil in 16a3175
    • Class group collections in config can be an object, so you can use group references like dynamicClasses.flex.direction instead of just index-based ones like dynamicClasses.flex.0. More info on this in the createTailwindMerge() API reference.

Bug Fixes

Other

Full Changelog: v0.2.0...v0.3.0

v0.2.0

18 Jul 20:22
7d4c8f5
Compare
Choose a tag to compare

New Features

Bug Fixes

  • Fix classes like bottom-auto not being detected as Tailwind classesby @dcastil in ec65b84

Full Changelog: v0.1.2...v0.2.0

v0.1.2

18 Jul 12:46
b3c8694
Compare
Choose a tag to compare

Bug Fixes

  • Fix errors when importing tailwind-merge as third party dependency. by @dcastil in 3335956

Full Changelog: v0.1.1...v0.1.2

v0.1.1

18 Jul 11:08
98c33ed
Compare
Choose a tag to compare

No changes here. Just testing automated npm publish.

Full Changelog: v0.1.0...v0.1.1