Update dependency tailwindcss to v4 #188
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/tailwindcss-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
3.4.17
->4.1.13
Release Notes
tailwindlabs/tailwindcss (tailwindcss)
v4.1.13
Compare Source
Changed
Fixed
visibility
when usingtransition
(#18795)matchVariant
values (#18798)clip
withclip-path
insr-only
(#18769)matchUtilities
(#18820).vercel
folders by default (can be overridden by@source …
rules) (#18855)@-
to be invalid (e.g.@-2xl:flex
) (#18869)-
or_
(#18867, #18872)aria
theme keys to@custom-variant
(#18815)data
theme keys to@custom-variant
(#18816)supports
theme keys to@custom-variant
(#18817)v4.1.12
Compare Source
Fixed
@apply
(#18404)flex-<number>
utilities (#18642))
from interfering with extraction in Clojure keywords (#18345)@plugin
and@config
(#18345)process.env.DEBUG
in@tailwindcss/node
(#18485)false
orundefined
properties (#18571)@tailwindcss/postcss
viatransformAssetUrls: false
(#18321)addEventListener
and JavaScript variable names (#18718)--border-color-*
theme keys individe-*
utilities for backwards compatibility (#18704).hdr
and.exr
files for classes by default (#18734)v4.1.11
Compare Source
Fixed
emit(…)
(#18330)--watch=always
in the CLI's usage (#18337)@tailwindcss/vite
(#18384)v4.1.10
Compare Source
Fixed
w-[calc(100%-var(--offset))]
) (#18289)v4.1.9
Compare Source
Fixed
/[0.16]
→/16
) (#18184)mb-[-32rem]
→-mb-128
) (#18212)blur
inwire:model.blur
(#18216)v4.1.8
Compare Source
Added
@apply
fails (#18059)Fixed
<style>
blocks (#18057, 18068)tailwindcss
in pnpm monorepos (#18065)order-none
toorder-0
(#18126)class:
attributes when extracting classes (#18093)-mt-[0px]
tomt-[0px]
instead of the other way around (#18154)\n
at the end of the file (#18155).pnpm-store
folders by default (can be overridden by@source …
rules) (#18163)toJSON()
(#18083)v4.1.7
Compare Source
Added
Fixed
_
before numbers during candidate extraction (#17961)@theme
and@utility
together (#17675)::before
and::after
pseudo selectors create valid CSS rules in production builds (#17979)-rotate-*
utilities properly negate arbitrary values (#18014):merge(…)
selectors in legacy JS plugins (#18020).
are properly extracted from Clojure files (#18038)@import … source(…)
(#17963)class
(#18025)v4.1.6
Compare Source
Added
h-[1lh]
toh-lh
) (#17831, #17854)@source
directives, discovered files and scanned files when usingDEBUG=*
(#17906, #17952)Fixed
scale
values generate negative values (#17831)@reference
(#17836)_
withbg-red-500/(--my_opacity)
(#17889).log
files for classes by default (#17906)@apply
rules (#17925)optionalDependencies
are skipped (#17929)v4.1.5
Compare Source
Added
@tailwindcss/upgrade
to upgrade between versions of v4.* (#17717)h-lh
/min-h-lh
/max-h-lh
utilities (#17790)display
,visibility
,content-visibility
,overlay
, andpointer-events
when usingtransition
to simplify@starting-style
usage (#17812)Fixed
.geojson
or.db
files for classes by default (#17700, #17711)_
with.
in theme suggestions for@utility
if surrounded by digits (#17733)color-mix(…)
when opacity is100%
(#17815)-
to variants starting with@
(#17814)Changed
.hg
,.svn
,.venv
,venv
,.yarn
,.next
,.turbo
,.parcel-cache
,__pycache__
, and.svelte-kit
folders by default (can be overridden by@source …
rules) (#17892)@source
rules that point inside.hg
,.svn
,.venv
,venv
,.yarn
,.next
,.turbo
,.parcel-cache
,__pycache__
, and.svelte-kit
folders no longer consider your.gitignore
rules (#17892)v4.1.4
Compare Source
Added
@tailwindcss/oxide-wasm32-wasi
target for running Tailwind in browser environments like StackBlitz (#17558)Fixed
color-mix(…)
polyfills do not cause used CSS variables to be removed (#17555)color-mix(…)
polyfills create fallbacks for theme variables that reference other theme variables (#17562){10..0..5}
and{0..10..-5}
(#17591)skew-*
utilities (#17627)shadow-inherit
,inset-shadow-inherit
,drop-shadow-inherit
, andtext-shadow-inherit
inherit the shadow color (#17647)fontSize
JS theme keys (#17630)fontSize
array tuple syntax to CSS theme variables (#17630)v4.1.3
Compare Source
Fixed
--value(…)
(#17464)%w
syntax in Slim templates (#17557)v4.1.2
Compare Source
Fixed
@layer base
to polyfill@property
(#17506)drop-shadow-*
utilities that are defined with multiple shadows (#17515)@tailwind utilities
are processed (#17514)color-mix(…)
polyfill creates fallbacks even when using colors that cannot be statically analyzed (#17513)@tailwindcss/vite
and@tailwindcss/postscss
(especially on Windows) (#17511)v4.1.1
Compare Source
Changed
Fixed
visibility
when usingtransition
(#18795)matchVariant
values (#18798)clip
withclip-path
insr-only
(#18769)matchUtilities
(#18820).vercel
folders by default (can be overridden by@source …
rules) (#18855)@-
to be invalid (e.g.@-2xl:flex
) (#18869)-
or_
(#18867, #18872)aria
theme keys to@custom-variant
(#18815)data
theme keys to@custom-variant
(#18816)supports
theme keys to@custom-variant
(#18817)v4.1.0
Compare Source
Added
details-content
variant (#15319)inverted-colors
variant (#11693)noscript
variant (#11929, #17431)items-baseline-last
andself-baseline-last
utilities (#13888, #17476)pointer-none
,pointer-coarse
, andpointer-fine
variants (#16946)any-pointer-none
,any-pointer-coarse
, andany-pointer-fine
variants (#16941)user-valid
anduser-invalid
variants (#12370)wrap-anywhere
,wrap-break-word
, andwrap-normal
utilities (#12128)@source inline(…)
and@source not inline(…)
(#17147)@source not "…"
(#17255)text-shadow-*
utilities (#17389)mask-*
utilities (#17134)bg-{position,size}-*
utilities for arbitrary values (#17432)shadow-*/<alpha>
,inset-shadow-*/<alpha>
,drop-shadow-*/<alpha>
, andtext-shadow-*/<alpha>
utilities to control shadow opacity (#17398, #17434)drop-shadow-<color>
utilities (#17434)Fixed
@source
directives (#17391)@tailwindcss/cli
(#17255)content
rules in legacy JavaScript configuration (#17255)@("@​")md:…
as@md:…
in Razor files (#17427)--theme(…)
function still resolves to the CSS variables when using legacy JS plugins (#17458)Changed
node_modules
by default (can be overridden by@source …
rules) (#17255)@source
rules that include file extensions or point insidenode_modules/
folders no longer consider your.gitignore
rules (#17255)bg-{left,right}-{top,bottom}
in favor ofbg-{top,bottom}-{left,right}
utilities (#17378)object-{left,right}-{top,bottom}
in favor ofobject-{top,bottom}-{left,right}
utilities (#17437)v4.0.17
Compare Source
Fixed
v4.0.16
Compare Source
Added
--value('…')
and--modifier('…')
(#17304)Fixed
(
in Pug (#17320)@keyframes
for theme animations are emitted if they are referenced following a comma (#17352)Slim
templates embedded in Ruby files (#17336)--spacing(--value(integer, number))
is used (#17308)::-webkit-details-marker
pseudo tomarker
variant (#17362)v4.0.15
Compare Source
Fixed
-bg-conic-*
utilities (#17174)border-[12px_4px]
being interpreted as aborder-color
instead of aborder-width
(#17248)<template lang="…">
in Vue files (#17252)--value(…)
or--modifier(…)
calls don't delete subsequent declarations (#17273)(
in Slim (#17278)PluginUtils
fromtailwindcss/plugin
for compatibility with v3 (#17299)line-height: initial
from Preflight (#15212)Changed
--theme(…)
function now returns CSS variables from your theme variables unless used inside positions where CSS variables are invalid (e.g. inside@media
queries) (#17036)v4.0.14
Compare Source
Fixed
${
(#17142).
character (#17153)v4.0.13
Compare Source
Fixed
.node
and.wasm
files are not scanned for utilities (#17123)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
Fixed
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 is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
0438f3c40b
to8efccd756a
8efccd756a
toc0fd48b89d
c0fd48b89d
to5c841460de
5c841460de
to6b1333fc31
6b1333fc31
toc2cba31f7b
c2cba31f7b
toea843b99a4
ea843b99a4
toff0aaf4fbf
ff0aaf4fbf
tof4b135d877
f4b135d877
to4c0b627e39
4c0b627e39
to3ddad2d615
3ddad2d615
to050806a47f
050806a47f
toa06fa847f1
a06fa847f1
tocf8db640d3
cf8db640d3
to8d6f4bd112
8d6f4bd112
to3ea3de409f
3ea3de409f
to8ef16e1f07
8ef16e1f07
to2078c0cd6d
2078c0cd6d
toe7b1a6d1fd
e7b1a6d1fd
toce27df14c4
ce27df14c4
tob04524ca81
b04524ca81
tof608b4915d
f608b4915d
tofd8a618c58
fd8a618c58
to072028bd2b
072028bd2b
to8570cd1315
8570cd1315
tobc6be22f02
bc6be22f02
to1483fb6e9c
1483fb6e9c
to02a28ba3d1
02a28ba3d1
to23c1b31d43
23c1b31d43
tocd3e4b8a0b
cd3e4b8a0b
toaffebc72bc
affebc72bc
to2aec3fccaf
2aec3fccaf
tof570fdd326
f570fdd326
to4786604d82
4786604d82
tof05f07b692
f05f07b692
to9445d1df8e
9445d1df8e
to4c9d5d381e
4c9d5d381e
toe345a823e7
e345a823e7
to7636210363
7636210363
to7967ce9377
7967ce9377
to55d355dc52
55d355dc52
tod876c14798
d876c14798
to9f04c199f7
9f04c199f7
to752938d0c0
752938d0c0
tob2f8d7dab4
b2f8d7dab4
tof2e06d31b3
f2e06d31b3
tof93d6279a8
f93d6279a8
to68f762ab2f
68f762ab2f
to92dece76cb
92dece76cb
tob545c3354d
b545c3354d
to9865c7098f
9865c7098f
to9197da26b1
9197da26b1
to02ee752530
02ee752530
tob65fb7131e
b65fb7131e
to68d27ea10a
68d27ea10a
toc68ace2558
c68ace2558
tocb53f075cc
cb53f075cc
to4fdecc499c
4fdecc499c
toc8f38c0843
c8f38c0843
to6e6aa368f8
6e6aa368f8
to78732d6ff0
78732d6ff0
to7dd9d8cf6e
7dd9d8cf6e
tob7d2870b82
b7d2870b82
toc8ef1b11d1
c8ef1b11d1
to1174343617
1174343617
to8e969142e7
8e969142e7
to37f8959155
37f8959155
toae82db9260
ae82db9260
to06d5830aea
06d5830aea
to3c1f3943e3
3c1f3943e3
to193ebc8feb
193ebc8feb
to0d3b6d2e51
0d3b6d2e51
to0f2a756196
0f2a756196
todf1b91f061
df1b91f061
to0a64790b9a
0a64790b9a
to011771e02a
011771e02a
to92b51e1e65
92b51e1e65
to0a4811db54
0a4811db54
to13f7a326e5
13f7a326e5
to58cc78777d
58cc78777d
toa161d30b28
a161d30b28
tob1e07eb275
b1e07eb275
to20579cf612
20579cf612
tocb60fe446c
cb60fe446c
to4f72ef1b4a
4f72ef1b4a
tod0ae3b6f04
d0ae3b6f04
to2bee476d0d
2bee476d0d
to1de93a1fb2
1de93a1fb2
to44545b7f9b
44545b7f9b
tobc59febb0e
bc59febb0e
to2909d5960c
2909d5960c
to6015111fc8
6015111fc8
tod1f32b496e
d1f32b496e
to0f464b8889
0f464b8889
to12ae812edf
12ae812edf
tofce088dfa8
fce088dfa8
to3c203b2d6d
3c203b2d6d
to31f3c78547
31f3c78547
to5e7c7c6c29
5e7c7c6c29
to2c1f4aa8e4
2c1f4aa8e4
to1e60d10123
1e60d10123
tob2e7c84cba
b2e7c84cba
toeb8cee2697
eb8cee2697
to8723fe8010
8723fe8010
to5703244aff
5703244aff
to1cd95c0663
1cd95c0663
todd8f89099d
dd8f89099d
tocc66c4dc2a
cc66c4dc2a
to461f74cac9
461f74cac9
tod38aa794f3
d38aa794f3
to169be1c4f7
169be1c4f7
tod1de2a8760
d1de2a8760
to8a83d4471b
8a83d4471b
tod887e0b376
d887e0b376
to6f80d3d63c
6f80d3d63c
to060d36fb08
060d36fb08
toa1fdcae26f
Checkout
From your project repository, check out a new branch and test the changes.