Avatar for the dcastil user
dcastil
tailwind-merge
BlogDocsChangelog

Add support for Tailwind CSS v4.2

#651Merged
Comparing
feature/add-support-for-tailwind-css-v4.2
(
7a4cacf
) with
main
(
d2bbc29
)
CodSpeed Performance Gauge
+13%
Improvement
1
Untouched
6

Benchmarks

7 total
init
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
+13%
4 ms3.5 ms
heavy
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
+1%
3.1 ms3.1 ms
collection without cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
-1%
92.1 ms92.8 ms
collection with cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
-2%
13.7 ms14 ms
ultra long class list with many conflicts without cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
-2%
11.9 ms12.2 ms
ultra long class list with many conflicts with cache
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
-3%
11.3 ms11.6 ms
simple
tests/tw-merge.benchmark.ts::twMerge
CodSpeed Performance Gauge
-8%
2.6 ms2.9 ms

Commits

Click on a commit to change the comparison range
Base
main
d2bbc29
-0.14%
Add support for Tailwind v4.2 logical inset utilities
2f25310
1 day ago
by dcastil
-0.26%
Add Tailwind v4.2 block logical spacing utilities
4cf6ee4
1 day ago
by dcastil
+13.32%
Add Tailwind v4.2 logical sizing utilities
5bd25ec
1 day ago
by dcastil
-0.12%
Add Tailwind v4.2 font-features utilities support
b02a572
1 day ago
by dcastil
0%
fix incorrectly escaped characters
9ef0f79
1 day ago
by dcastil
+0.02%
Add support for decimal fraction values
7a4cacf
1 day ago
by dcastil
© 2026 CodSpeed Technology
Home Terms Privacy Docs