Bump tailwindcss from 3.4.19 to 4.3.3
DE
11h ago+12+12+01234567890123456789-655-655-012345678901234567890123456789
Bumps tailwindcss from 3.4.19 to 4.3.3.
Release notes
Sourced from tailwindcss's releases.
v4.3.3
Fixed
- Support
--watch --poll[=ms]in@tailwindcss/cliwhen filesystem events are unreliable or unavailable (#20297)- Canonicalization: match arbitrary hex colors against theme colors case-insensitively (e.g.
bg-[#fff]andbg-[#FFF]→bg-white) (#20298)- Prevent Preflight from overriding Firefox's native
iframe:focus-visibleoutline styles (#20292)- Ensure
theme('colors.foo')in JS plugins resolves correctly when both--color-fooand--color-foo-barexist (#20299)- Ensure fractional opacity modifiers work with named shadow sizes like
shadow-sm/12.5,text-shadow-sm/12.5,drop-shadow-sm/12.5, andinset-shadow-sm/12.5(#20302)- Parse selectors like
[data-foo]divas two selectors instead of one (#20303)- Ensure
@tailwindcss/postcssrebuilds when a preprocessor like Sass changes the input CSS without changing the input file on disk (#20310)- Ensure CSS nesting is handled even when Lightning CSS isn't run, such as in
@tailwindcss/browserand Tailwind Play (#20124)- Prevent achromatic theme colors from shifting hue when mixed in polar color spaces like
oklch(#20314)- Ensure
--spacing(0)is optimized to0pxinstead of0so it remains a<length>when used incalc(…)(#20319)- Load
@parcel/watcheronly when needed in@tailwindcss/cli --watchmode, so one-off builds and--watch --pollwork when@parcel/watchercan't be loaded (#20325)- Use explicit platform fonts instead of
system-uiandui-sans-serifso CJK text respects the page'slangattribute on Windows (#20318)- Prevent
@tailwindcss/upgradefrom rewriting ignored files when run from a subdirectory (#20329)- Ensure earlier
@sourcerules pointing to nested files are scanned when later@sourcerules point to files in parent folders (#20335)- Prevent
@tailwindcss/vitefrom triggering full page reloads when scanned files are processed by Vite but haven't been loaded as modules yet (#20336)v4.3.2
Fixed
- Support bare spacing values for
auto-rows-*andauto-cols-*utilities (e.g.auto-rows-12andauto-cols-16) (#20229)- Prevent
@tailwindcss/cliin--watchmode from crashing on Windows when@sourcepoints to a directory that doesn't exist (#20242)- Prevent
@tailwindcss/vitefrom crashing in Deno v2.8.x whencontext.parentURLis not a valid URL (#20245)- Ensure
@tailwindcss/cliin--watchmode rebuilds when the input CSS file changes in an ignored directory (#20246)- Allow
@variantrules used inaddBase(…)to use custom variants defined later (#20247)- Prevent
@tailwindcss/vitefrom crashing during HMR when scanned files or directories are deleted (#20259)- Generate
font-sizeinstead ofcolordeclarations fortext-[--spacing(…)](#20260)- Prevent
@sourcepatterns from scanning unrelated sibling files and folders (#20263)- Extract class candidates adjacent to Template Toolkit delimiters like
%]…[%in.tt,.tt2, and.txfiles (#20269)- Extract class candidates from conditional Maud syntax like
p.text-black[condition](#20269)- Prevent
@position-tryrules from triggering unknown at-rule warnings when optimizing CSS (#20277)- Support class suggestions for named opacity modifiers from
--opacitytheme values (#20287)- Prevent type errors in
@tailwindcss/postcsswhen used with newer PostCSS patch releases (#20289)v4.3.1
Added
- Add
--silentoption to suppress output in@tailwindcss/cli(#20100)Fixed
- Remove deprecation warnings by using
Module#registerHooksinstead ofModule#registeron Node 26+ (#20028)- Canonicalization: don't crash when plugin utilities throw for unsupported values (#20052)
- Allow
@applyto be used with CSS mixins (#19427)- Ensure
not-*correctly negates@containerqueries, includingstyle(…)queries (#20059)- Ensure
drop-shadow-*color utilities work with custom shadow values containingcalc(…)(#20080)- Fix 'Sourcemap is likely to be incorrect' warnings when using
@tailwindcss/vite(#20103)- Ensure
@tailwindcss/webpackcan be installed in Rspack projects without requiringwebpackas a peer dependency (#20027)
... (truncated)
Changelog
Sourced from tailwindcss's changelog.
[4.3.3] - 2026-07-16
Fixed
- Support
--watch --poll[=ms]in@tailwindcss/cliwhen filesystem events are unreliable or unavailable (#20297)- Canonicalization: match arbitrary hex colors against theme colors case-insensitively (e.g.
bg-[#fff]andbg-[#FFF]→bg-white) (#20298)- Prevent Preflight from overriding Firefox's native
iframe:focus-visibleoutline styles (#20292)- Ensure
theme('colors.foo')in JS plugins resolves correctly when both--color-fooand--color-foo-barexist (#20299)- Ensure fractional opacity modifiers work with named shadow sizes like
shadow-sm/12.5,text-shadow-sm/12.5,drop-shadow-sm/12.5, andinset-shadow-sm/12.5(#20302)- Parse selectors like
[data-foo]divas two selectors instead of one (#20303)- Ensure
@tailwindcss/postcssrebuilds when a preprocessor like Sass changes the input CSS without changing the input file on disk (#20310)- Ensure CSS nesting is handled even when Lightning CSS isn't run, such as in
@tailwindcss/browserand Tailwind Play (#20124)- Prevent achromatic theme colors from shifting hue when mixed in polar color spaces like
oklch(#20314)- Ensure
--spacing(0)is optimized to0pxinstead of0so it remains a<length>when used incalc(…)(#20319)- Load
@parcel/watcheronly when needed in@tailwindcss/cli --watchmode, so one-off builds and--watch --pollwork when@parcel/watchercan't be loaded (#20325)- Use explicit platform fonts instead of
system-uiandui-sans-serifso CJK text respects the page'slangattribute on Windows (#20318)- Prevent
@tailwindcss/upgradefrom rewriting ignored files when run from a subdirectory (#20329)- Ensure earlier
@sourcerules pointing to nested files are scanned when later@sourcerules point to files in parent folders (#20335)- Prevent
@tailwindcss/vitefrom triggering full page reloads when scanned files are processed by Vite but haven't been loaded as modules yet (#20336)[4.3.2] - 2026-06-26
Fixed
- Support bare spacing values for
auto-rows-*andauto-cols-*utilities (e.g.auto-rows-12andauto-cols-16) (#20229)- Prevent
@tailwindcss/cliin--watchmode from crashing on Windows when@sourcepoints to a directory that doesn't exist (#20242)- Prevent
@tailwindcss/vitefrom crashing in Deno v2.8.x whencontext.parentURLis not a valid URL (#20245)- Ensure
@tailwindcss/cliin--watchmode rebuilds when the input CSS file changes in an ignored directory (#20246)- Allow
@variantrules used inaddBase(…)to use custom variants defined later (#20247)- Prevent
@tailwindcss/vitefrom crashing during HMR when scanned files or directories are deleted (#20259)- Generate
font-sizeinstead ofcolordeclarations fortext-[--spacing(…)](#20260)- Prevent
@sourcepatterns from scanning unrelated sibling files and folders (#20263)- Extract class candidates adjacent to Template Toolkit delimiters like
%]…[%in.tt,.tt2, and.txfiles (#20269)- Extract class candidates from conditional Maud syntax like
p.text-black[condition](#20269)- Prevent
@position-tryrules from triggering unknown at-rule warnings when optimizing CSS (#20277)- Support class suggestions for named opacity modifiers from
--opacitytheme values (#20287)- Prevent type errors in
@tailwindcss/postcsswhen used with newer PostCSS patch releases (#20289)[4.3.1] - 2026-06-12
Added
- Add
--silentoption to suppress output in@tailwindcss/cli(#20100)Fixed
- Remove deprecation warnings by using
Module#registerHooksinstead ofModule#registeron Node 26+ (#20028)- Canonicalization: don't crash when plugin utilities throw for unsupported values (#20052)
- Allow
@applyto be used with CSS mixins (#19427)- Ensure
not-*correctly negates@containerqueries, includingstyle(…)queries (#20059)
... (truncated)
Commits
c2b24dd4.3.3 (#20334)e48c5e8Fix weird character rendering on Windows with Japanese locale (#20318)35a3e9cAlways produce\<length>value when optimizing--spacing(0)(#20319)4af47fbFix hues in achromatic theme colors to benone(#20314)5835691Handle CSS nesting natively (#20124)67c745eFix bug in attribute selector parsing (#20303)2683903Support fractional opacity modifiers for named shadow sizes (#20302)04588b1Fix theme() in JS plugins returning unresolved object instead of DEFAULT valu...b53fa09fix: exclude iframes from focus-visible auto outline in Preflight (#20292)ef79119Bump dependencies (#20300)- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for tailwindcss since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Summary by cubic
Bumps tailwindcss from 3.4.19 to 4.3.3, a major version upgrade from Tailwind CSS v3 to v4 with breaking changes to configuration and build setup.
Migration
- Tailwind v4 replaces
tailwind.config.jswith CSS-first configuration via@import "tailwindcss". - The v3 PostCSS setup may need switching to the
@tailwindcss/postcssplugin. @tailwindcss/formsis now resolved againsttailwindcss@4.3.3.jitimoves from 1.x to 2.x as a transitive dependency.