π¦ (deps-dev) tailwind π¬οΈ [skip ci] (major) #3173
+45
β175
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.6.0
->3.0.1
^2.2.1
->^2.2.1 || ^3.0.0
3.4.17
->4.0.3
Release Notes
dcastil/tailwind-merge (tailwind-merge)
v3.0.1
Compare Source
Bug Fixes
b9c136d
e22885e
Full Changelog: dcastil/tailwind-merge@v3.0.0...v3.0.1
Thanks to @βbrandonmcconnell, @βmanavm1990, @βlangy, @βjamesreaco, @βroboflow, @βsyntaxfm, @βgetsentry, @βcodecov and a private sponsor for sponsoring tailwind-merge! β€οΈ
v3.0.0
Compare Source
Tailwind CSS v4 is here and it's time to upgrade tailwind-merge to support it. tailwind-merge v3.0.0 is more accurate than ever and follows the Tailwind CSS spec more closely than in v2. That is thanks to Tailwind CSS v4 being more consistent than ever.
This release drops support for Tailwind CSS v3 and in turn adds support for Tailwind CSS v4. That means you should upgrade to Tailwind CSS v4 and tailwind-merge v3 together. All breaking changes are related to the Tailwind CSS v4 support.
Check out the migration guide and if you have any questions, feel free to create an issue.
Breaking Changes
isLength
validator was removed and split into separate validatorsisNumber
andisFraction
by @βdcastil in https://github.com/dcastil/tailwind-merge/pull/518-
character anymore by @βdcastil in https://github.com/dcastil/tailwind-merge/pull/518orderSensitiveModifiers
property in config when usingcreateTailwindMerge
by @βdcastil in https://github.com/dcastil/tailwind-merge/pull/518DefaultThemeGroupIds
type union consists of different string literals than before by @βdcastil in https://github.com/dcastil/tailwind-merge/pull/518New Features
Bug Fixes
before:
were treated as not order-sensitive. This is now fixed by @βdcastil in https://github.com/dcastil/tailwind-merge/pull/518Documentation
Full Changelog: dcastil/tailwind-merge@v2.6.0...v3.0.0
Thanks to @βbrandonmcconnell, @βmanavm1990, @βlangy, @βjamesreaco, @βroboflow, @βsyntaxfm, @βgetsentry, @βcodecov and a private sponsor for sponsoring tailwind-merge! β€οΈ
tailwindlabs/tailwindcss (tailwindcss)
v4.0.3
Compare Source
Fixed
@import url();
(#β16144)v4.0.2
Compare Source
Fixed
grid-cols-*
andgrid-rows-*
utilities (#β16020)@reference
or@variant
(#β16057)<style>
blocks in HTML files (#β16069)@keyframes
in@theme reference
(#β16120)@variant
when at the top-level of a stylesheet (#β16129)v4.0.1
Compare Source
Added
:open
pseudo-class in existingopen
variant (#β15349)Fixed
min-w/h-none
utilities (#β15845)none
modifier have a line-height set e.g.text-sm/none
(#β15921)--spacing
variable (#β15857)@tailwindcss/browser
does not pollute the global namespace (#β15978)tailwind-merge
is not scanned when using the Vite plugin (#β16005)/
directory (#β15988)leading-[1]
toleading-none
(#β16004)v4.0.0
Compare Source
Added
@property
, andcolor-mix()
.color-scheme
,field-sizing
, complex shadows,inert
, and more.Start using Tailwind CSS v4.0 today by installing it in a new project, or playing with it directly in the browser on Tailwind Play.
For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.
For a deep-dive into everything that's new, check out the announcement post.
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.