Avatar for the dcastil user
dcastil
tailwind-merge
BlogDocsChangelog

Breaking: Tailwind CSS v4 support

#518Merged
Comparing
breaking-feature/513/tailwind-css-v4-support
(
7f043a6
) with
main
(
47c87d8
)
CodSpeed Performance Gauge
-12%
Improvements
1
Regressions
1
Untouched
3
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

init
tests/tw-merge.benchmark.ts::twMerge::init
CodSpeed Performance Gauge
+37%
6.4 ms
4.7 ms

Passed

collection with cache
tests/tw-merge.benchmark.ts::twMerge::collection with cache
CodSpeed Performance Gauge
-8%
16.8 ms
18.1 ms
simple
tests/tw-merge.benchmark.ts::twMerge::simple
CodSpeed Performance Gauge
-9%
3.5 ms
3.9 ms
heavy
tests/tw-merge.benchmark.ts::twMerge::heavy
CodSpeed Performance Gauge
-10%
3.7 ms
4.1 ms
collection without cacheRegression
tests/tw-merge.benchmark.ts::twMerge::collection without cache
CodSpeed Performance Gauge
-12%
187.8 ms
214.1 ms

Commits

Click on a commit to change the comparison range
Base
main
47c87d8
-2%
add inset-shadow and inset-ring utilities
0c46ce9
2 months ago
by dcastil
0%
add field-sizing utilities
1134b3e
2 months ago
by dcastil
0%
add color-scheme utilities
0dba016
2 months ago
by dcastil
-1%
add font-stretch utilities
bfc7a42
2 months ago
by dcastil
+1%
remove deprecated opacity utilities
465b1a7
2 months ago
by dcastil
0%
add renamed utilities and mark deprecated but still supported classes
8992454
2 months ago
by dcastil
-10%
add support for arbitrary custom properties (CSS variables) and re-architect tailwind-merge config
ddc6ae8
2 months ago
by dcastil
-1%
attempt: group theme getters and scale helpers into objects
3238708
2 months ago
by dcastil
+1%
Revert "attempt: group theme getters and scale helpers into objects" Bundle size of twMerge increased from +5.6% to +9.4% due to this. This reverts commit 323870803145faaae85fd6ce2b2b4ba17a7a9608.
1f1f572
2 months ago
by dcastil
0%
use better naming for variables inside getDefaultConfig
e7e5a08
2 months ago
by dcastil
+1%
move arbitrary validators out of theme scales to class groups directly
bd2e7b3
2 months ago
by dcastil
-1%
add support for important modifier at the end of base class name
94e9e26
2 months ago
by dcastil
0%
add support for new prefix syntax
380c977
2 months ago
by dcastil
0%
add test case for arbitrary variant without `&` symbol
bc46153
2 months ago
by dcastil
0%
adjust configuration documentation to new theme scales
be17bc6
2 months ago
by dcastil
0%
update documentation to new validators and theme scale
9b63e89
1 month ago
by dcastil
0%
adjust default config based on https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757
4072d8a
1 month ago
by dcastil
0%
test: add hardcoded list of position-sensitive modifiers to test perf of that
3fe7d3e
1 month ago
by dcastil
0%
change `positionSensitiveModifiers` to array
5a0a737
1 month ago
by dcastil
0%
change to object
16de04e
1 month ago
by dcastil
+51%
remove modifier sorting to check perf
6ed3bed
1 month ago
by dcastil
-50%
add configurable orderSensitiveModifiers to tailwind-merge
74b8951
1 month ago
by dcastil
0%
fix tests and add test for modifiers order
0ce3055
1 month ago
by dcastil
0%
add test for modifiers order of twMerge
8e32663
1 month ago
by dcastil
0%
add `orderSensitiveModifiers` and Tailwind CSS v4 features to docs
e7f9b59
1 month ago
by dcastil
0%
add v3.0.0 changelog
93a018f
1 month ago
by dcastil
+1%
remove separator from docs
752b103
1 month ago
by dcastil
0%
add migration doc for tailwind-merge v3
1950ab6
1 month ago
by dcastil
0%
small tweaks
7f043a6
1 month ago
by dcastil
Home Terms PrivacyDocs