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.5.2
->^3.0.0
3.4.17
->4.0.12
5.4.14
->6.2.1
Release Notes
dcastil/tailwind-merge (tailwind-merge)
v3.0.2
Compare Source
Bug Fixes
px
value not being recognized for some class groups by @dcastil in https://github.com/dcastil/tailwind-merge/pull/538Full Changelog: dcastil/tailwind-merge@v3.0.1...v3.0.2
Thanks to @brandonmcconnell, @manavm1990, @langy, @jamesreaco, @roboflow, @syntaxfm, @getsentry, @codecov and a private sponsor for sponsoring 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.12
Compare Source
Fixed
url(…)
rebasing in transitively imported CSS files (#16965)url(…)
s in imported CSS files (#16965)}
and{
are properly extracted (#17001)razor
/cshtml
pre processing (#17027)v4.0.11
Compare Source
Fixed
--
are extracted correctly (#16972)[
are extracted in Slim templating language (#16985)v4.0.10
Compare Source
Added
col-<number>
androw-<number>
utilities forgrid-column
andgrid-row
(#15183)Fixed
not-*
does not remove:is(…)
from variants (#16825)@keyframes
are correctly emitted when using a prefix (#16850)@utility
declarations when@apply
is used in nested rules (#16940)outline-hidden
behaves likeoutline-none
outside of forced colors mode (#16943)!important
on CSS variables again (#16873).svg
file with#
or?
in the filename (#16957)Changed
max-w-auto
andmax-h-auto
utilities as they generate invalid CSS (#16917)v4.0.9
Compare Source
Fixed
.css
(#16780)@reference "…"
would sometimes omit keyframe animations (#16774)z-*!
utilities are properly marked as!important
(#16795)Changed
@reference "…"
instead of duplicate CSS variable declarations (#16774)v4.0.8
Compare Source
Added
@import
withtheme(…)
options for stylesheets that contain more than just@theme
rules (#16514)Fixed
!important
to CSS variable declarations when using the important modifier (#16668).gitignore
file when using automatic source detection(#16631)translate-z-px
utilities once in compiled CSS (#16718)Changed
v4.0.7
Compare Source
Fixed
tailwindcss/lib/util/flattenColorPalette.js
for backward compatibility (#16411)_
in suggested theme keys (#16433)--default-outline-width
can be used to change theoutline-width
value of theoutline
utility (#16469)tailwindcss/plugin
for backward compatibility (#16505)@tailwindcss/oxide
Windows builds (#16602)tailwindcss
in@tailwindcss/*
packages (#16623)darkMode
JS config setting with block syntax converts to use@slot
(#16507)tailwindcss
and@tailwindcss/postcss
are installed when upgrading (#16620)v4.0.6
Compare Source
Fixed
blur
toblur-sm
when used with Next.js<Image placeholder="blur" />
(#16405)v4.0.5
Compare Source
Added
@theme static
option for always including theme variables in compiled CSS (#16211)Fixed
console.log
from@tailwindcss/vite
(#16307)Changed
v4.0.4
Compare Source
Fixed
null
(#16210)containers
JS theme key is added to the--container-*
namespace (#16169)@keyframes
are generated even if an--animation-*
variable spans multiple lines (#16237)?commonjs-proxy
flag (#16238)order-first
andorder-last
for Firefox (#16266)NODE_PATH
is respected when resolving JavaScript and CSS files (#16274)@variant
inside a referenced stylesheet could cause a stack overflow (#16300)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.
vitejs/vite (vite)
v6.2.1
Compare Source
isBuild
check from preAliasPlugin (#19587) (c9e086d), closes #19587applyToEnvironment
in internal plugins (#19588) (f678442), closes #19588*?url&no-inline
type and warning for.json?inline
/.json?no-inline
(#19566) (c0d3667), closes #19566v6.2.0
Compare Source
v6.1.1
Compare Source
.[cm]?[tj]sx?
static assets are JS mime (#19453) (e7ba55e), closes #19453*.ipv4
address in cert (#19416) (973283b), closes #19416v6.1.0
Compare Source
Features
port
in the logged error message after failed WS connection withEADDRINUSE
(#19212) (14027b0), closes #19212.jxl
(#18855) (57b397c), closes #18855builtins
environmentresolve
(#18584) (2c2d521), closes #18584defaultAllowedOrigins
for user-land config and 3rd party plugins (#19259) (dc8946b), closes #19259wasm
to the compressible assets regex (#19085) (ce84142), closes #19085Fixes
resolveLibCssFilename
(#19324) (f183bdf), closes #19324vite optimize
(#19347) (19ffad0), closes #19347server.preTransformRequests
(#19272) (12aaa58), closes #19272nodeLikeBuiltins
forssr.target: 'webworker'
withoutnoExternal: true
(#19313) (9fc31b6), closes #19313@plugin
imports of JS files treated as CSS and rebased (fix #19268) (#19269) (602b373), closes #19268 #19269resolve.builtin
is empty (#19312) (b7aba0b), closes #19312ssrLoadModule
(#19290) (353c467), closes #19290--force
work for all environments (#18901) (51a42c6), closes #18901RegExp
values withnew RegExp
instead ofstructuredClone
(fix #19245, fix #1 (56ad2be), closes #19245 #18875 #19247Chore
vite optimize
command (#19348) (6e0e3c0), closes #19348build.manifest
jsdocs (#19332) (4583781), closes #19332scanImports
not being used in ssr (#19285) (fbbc6da), closes #19285Configuration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.