Tailwind-merge

Latest version: v0.2.0

Safety actively analyzes 724329 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 10

1.9.1

Bug Fixes

- Fix arbitrary floats not supported in opacity, scale, etc. by dcastil in https://github.com/dcastil/tailwind-merge/pull/196
- Up until now classes like `opacity-50 opacity-[.025]` weren't merged correctly. You might not have noticed since classes with arbitrary values are defined after the default ones in the output stylesheet, but merging it the other way around (`opacity-[.025] opacity-50`) would have led to a styling bug.
- This fix led to a new [validator](https://github.com/dcastil/tailwind-merge/blob/v1.9.1/docs/api-reference.md#validators) `isNumber`.
- Fix arbitrary border color value being merged incorrectly by dcastil in https://github.com/dcastil/tailwind-merge/pull/195

**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.9.0...v1.9.1

1.9.0

New Features

- Support decimals in T-shirt sizes by farreldarian in https://github.com/dcastil/tailwind-merge/pull/189

Documentation

- Fixes typo in recipes docs by nicklemmon in https://github.com/dcastil/tailwind-merge/pull/181

Other

- Added test case by chuanyu0201 in https://github.com/dcastil/tailwind-merge/pull/186

**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.8.1...v1.9.0

1.8.1

Bug Fixes

- Fix incorrect class group conflicts in grid-related classes by dcastil in https://github.com/dcastil/tailwind-merge/pull/177

**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.8.0...v1.8.1

Thanks to aniravi24 for sponsoring tailwind-merge! ❤️

1.8.0

New Features

- Add support for custom separator by dcastil in https://github.com/dcastil/tailwind-merge/pull/168
- Add support for dynamic viewport units in arbitrary lengths by dcastil in https://github.com/dcastil/tailwind-merge/pull/166
- Rename `join` to `twJoin` by dcastil in https://github.com/dcastil/tailwind-merge/pull/161
- I deprecated the [`join`](https://github.com/dcastil/tailwind-merge/blob/v1.7.0/docs/api-reference.md#join) function and renamed it to [`twJoin`](https://github.com/dcastil/tailwind-merge/blob/v1.8.0/docs/api-reference.md#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**: https://github.com/dcastil/tailwind-merge/compare/v1.7.0...v1.8.0

Thanks to gjtorikian for sponsoring tailwind-merge! ❤️

1.7.0

New Features

- Add support for Tailwind CSS v3.2 by dcastil and brandonmcconnell in https://github.com/dcastil/tailwind-merge/pull/159

**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.6.2...v1.7.0

1.6.2

Bug Fixes

- Fix arbitrary numbers not working in stroke-width by dcastil in https://github.com/dcastil/tailwind-merge/pull/153
- Now tailwind-merge handles classes like `stroke-[3]` correctly.
- I deprecated the [validator](https://github.com/dcastil/tailwind-merge/blob/v1.6.2/docs/api-reference.md#validators) `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 `isArbitraryWeight` → `isArbitraryNumber` in your code since `isArbitraryWeight` will be removed in the next major release.

Other

- Add package version number to dev releases by dcastil in https://github.com/dcastil/tailwind-merge/pull/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](https://renovatebot.com/) to understand which package version you're using in case you use dev releases.

**Full Changelog**: https://github.com/dcastil/tailwind-merge/compare/v1.6.1...v1.6.2

Page 5 of 10

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.