chore(deps-dev): bump tailwindcss from 3.4.19 to 4.3.5
Bumps tailwindcss from 3.4.19 to 4.3.5.
Release notes
Sourced from tailwindcss's releases.
v4.3.5
Fixed
- Canonicalization: improve performance in projects with many functional variant values (e.g. a
matchVariantplugin with thousands of values) (#20663)- Don't crash or create a fallback with the wrong color for a
color-mix(…)without a color interpolation method (e.g.color-mix(var(--color-red-500))orcolor-mix(currentcolor 50%, transparent)) (#20658, #20666)- Ensure
@tailwindcss/oxide-wasm32-wasiloads instead of hanging forever (e.g. withNAPI_RS_FORCE_WASI=erroror in WebContainers) (#20667)- Remove
as: '*.css'from the@tailwindcss/turbopacksetup in its README, because it breaks CSS modules (#20660)- Ignore
<!--and-->between top-level rules in CSS instead of throwing or swallowing the next rule (e.g.a { color: red } --> b { color: blue }) (#20665)- Ensure
@tailwindcss/oxide-wasm32-wasidetects changed and new source files after the first scan (e.g. in WebContainers) (#20487)- Prevent type errors with
skipLibCheck: falsecaused by imports of unshipped modules in the@tailwindcss/nodetype declarations (#20632)v4.3.4
Added
- Add
@tailwindcss/turbopack, a Turbopack loader for using Tailwind CSS with Next.js (#20367)Fixed
- Ensure watch mode detects changes to symlinked
@sourcefiles whose real paths aren't otherwise scanned (#20356)- Ensure variants using
@scopewrap generated utilities instead of nesting inside them (#20369)- Ensure nested
@scoperules preserve their scoping semantics when flattened (#20369)- Preserve declarations directly inside
@scopeby wrapping them in:where(:scope)(#20369)- Ensure generated utilities include a space in empty
var()fallbacks (e.g.var(--tw-blur,)→var(--tw-blur, )) (#20373)- Canonicalization: convert arbitrary breakpoint and container query variants to named equivalents (e.g.
max-[64rem]:flex→max-lg:flex) (#20380)- Prevent
@tailwindcss/vitefrom crashing on every edit under Vite's experimentalbundledDevmode (#20379)- Ensure
@tailwindcss/oxidefalls back to WASM on platforms without native bindings (@tailwindcss/oxide-wasm32-wasinow installs on all platforms, but only loads when no native binding is available) (#20383)- Extract class candidates from Ruby
%wand%Wliterals using angle brackets or custom delimiters (e.g.%w<flex>,%w|flex|), including in Slim and Haml templates (#20387)- Preserve whitespace in
--default(…)values in functional@utilitydefinitions (e.g.--default(box alphabetic)no longer becomesboxalphabetic) (#20392)- Ensure automatic source detection respects negation-based
.gitignorefiles (e.g./*followed by!/…patterns) (#20397)- Ensure root
theme('…')namespace lookups in JavaScript plugins and config files return the full namespace object instead of the value of itsDEFAULTkey (#20399)- Skip ignored directories when generating watch globs instead of walking their contents on every rebuild (#20408)
- Drop invalid UTF-8 candidates during class detection (#20389)
- Prevent
@tailwindcss/vitefrom forcing full-page reloads for scanned files that Vite does not handle as modules (e.g..phpfiles) (#20414)- Canonicalization: don't merge utilities that reference different theme variables set to CSS-wide keywords like
unset(#20417)- Don't generate utilities when a modifier is used that would otherwise be silently ignored (e.g.
rounded-sm/[5],shadow-sm/foo,stroke-2/50) (#20419)- Preserve
and,or, andnotinside selectors insupports-[…]variants (e.g.supports-[selector(a:not(.foo))]:flex) (#20420)- Don't warn about Angular's
::ng-deepand:host-context()when optimizing CSS (#20434)- Don't generate CSS for candidates containing an empty additional modifier (e.g.
bg-red-500/50/andgroup-hover/foo//bar:flex) (#20466)- Ensure
min-*,max-*, and container query variants with decimal values are sorted numerically (e.g.min-[40.25rem]beforemin-[40.5rem]) (#20512)- Ensure CSS comments ending with
\*/are closed correctly instead of swallowing the CSS that follows (e.g./* C:\temp\*/) (#20508)- Improve style invalidation performance of
group-*andpeer-*variants (#20513)- Ensure cached compilers release their
loadModuleandloadStylesheetcallbacks after compilation (#20531)- Canonicalization: preserve
&when moving a pseudo-element into*or**(e.g.[&_::before]:flex→**:[&::before]:flex) (#20550)- Ensure the
Set.prototype.intersectionpolyfill incanonicalizeCandidates(…)returns the intersection instead of the first set on Node.js < 22 (#20562)- Canonicalization: ensure inline
theme(…)alphas with more than 2 decimals migrate to a percentage modifier with the same opacity (e.g.theme(colors.red.500/.12345)→text-red-500/[12.345%], nottext-red-500/[12.345]) (#20563)- Canonicalization: preserve inline
theme(…)alphas as an arbitrary percentage when a custom--opacity-*theme value would change the opacity (e.g.theme(colors.red.500/50%)→text-red-500/[50%]with--opacity-50: 10%) (#20563)- Ensure the
@propertyfallback isn't applied in Safari versions that no longer supportmargin-trim: inline(#20569)- Treat viewport units like
dvminandsviand font-relative units likecapandrexas lengths in arbitrary values (e.g.text-[10dvmin]generatesfont-sizeinstead ofcolor) (#20516)- Write plugin logs to stderr in
tailwindcss canonicalizeso they don't end up in the results on stdout (#20561)- Extract class shorthands on later lines when Pug text, comments, or quoted attribute values contain unbalanced brackets, or a quote that doesn't start a string (e.g.
input(pattern=/"/.source)) (#20547, #20572)
... (truncated)
Changelog
Sourced from tailwindcss's changelog.
[4.3.5] - 2026-11-06
Fixed
- Canonicalization: improve performance in projects with many functional variant values (e.g. a
matchVariantplugin with thousands of values) (#20663)- Don't crash or create a fallback with the wrong color for a
color-mix(…)without a color interpolation method (e.g.color-mix(var(--color-red-500))orcolor-mix(currentcolor 50%, transparent)) (#20658, #20666)- Ensure
@tailwindcss/oxide-wasm32-wasiloads instead of hanging forever (e.g. withNAPI_RS_FORCE_WASI=erroror in WebContainers) (#20667)- Remove
as: '*.css'from the@tailwindcss/turbopacksetup in its README, because it breaks CSS modules (#20660)- Ignore
<!--and-->between top-level rules in CSS instead of throwing or swallowing the next rule (e.g.a { color: red } --> b { color: blue }) (#20665)- Ensure
@tailwindcss/oxide-wasm32-wasidetects changed and new source files after the first scan (e.g. in WebContainers) (#20487)- Prevent type errors with
skipLibCheck: falsecaused by imports of unshipped modules in the@tailwindcss/nodetype declarations (#20632)[4.3.4] - 2026-11-02
Added
- Add
@tailwindcss/turbopack, a Turbopack loader for using Tailwind CSS with Next.js (#20367)Fixed
- Ensure watch mode detects changes to symlinked
@sourcefiles whose real paths aren't otherwise scanned (#20356)- Ensure variants using
@scopewrap generated utilities instead of nesting inside them (#20369)- Ensure nested
@scoperules preserve their scoping semantics when flattened (#20369)- Preserve declarations directly inside
@scopeby wrapping them in:where(:scope)(#20369)- Ensure generated utilities include a space in empty
var()fallbacks (e.g.var(--tw-blur,)→var(--tw-blur, )) (#20373)- Canonicalization: convert arbitrary breakpoint and container query variants to named equivalents (e.g.
max-[64rem]:flex→max-lg:flex) (#20380)- Prevent
@tailwindcss/vitefrom crashing on every edit under Vite's experimentalbundledDevmode (#20379)- Ensure
@tailwindcss/oxidefalls back to WASM on platforms without native bindings (@tailwindcss/oxide-wasm32-wasinow installs on all platforms, but only loads when no native binding is available) (#20383)- Extract class candidates from Ruby
%wand%Wliterals using angle brackets or custom delimiters (e.g.%w<flex>,%w|flex|), including in Slim and Haml templates (#20387)- Preserve whitespace in
--default(…)values in functional@utilitydefinitions (e.g.--default(box alphabetic)no longer becomesboxalphabetic) (#20392)- Ensure automatic source detection respects negation-based
.gitignorefiles (e.g./*followed by!/…patterns) (#20397)- Ensure root
theme('…')namespace lookups in JavaScript plugins and config files return the full namespace object instead of the value of itsDEFAULTkey (#20399)- Skip ignored directories when generating watch globs instead of walking their contents on every rebuild (#20408)
- Drop invalid UTF-8 candidates during class detection (#20389)
- Prevent
@tailwindcss/vitefrom forcing full-page reloads for scanned files that Vite does not handle as modules (e.g..phpfiles) (#20414)- Canonicalization: don't merge utilities that reference different theme variables set to CSS-wide keywords like
unset(#20417)- Don't generate utilities when a modifier is used that would otherwise be silently ignored (e.g.
rounded-sm/[5],shadow-sm/foo,stroke-2/50) (#20419)- Preserve
and,or, andnotinside selectors insupports-[…]variants (e.g.supports-[selector(a:not(.foo))]:flex) (#20420)- Don't warn about Angular's
::ng-deepand:host-context()when optimizing CSS (#20434)- Don't generate CSS for candidates containing an empty additional modifier (e.g.
bg-red-500/50/andgroup-hover/foo//bar:flex) (#20466)- Ensure
min-*,max-*, and container query variants with decimal values are sorted numerically (e.g.min-[40.25rem]beforemin-[40.5rem]) (#20512)- Ensure CSS comments ending with
\*/are closed correctly instead of swallowing the CSS that follows (e.g./* C:\temp\*/) (#20508)- Improve style invalidation performance of
group-*andpeer-*variants (#20513)- Ensure cached compilers release their
loadModuleandloadStylesheetcallbacks after compilation (#20531)- Canonicalization: preserve
&when moving a pseudo-element into*or**(e.g.[&_::before]:flex→**:[&::before]:flex) (#20550)- Ensure the
Set.prototype.intersectionpolyfill incanonicalizeCandidates(…)returns the intersection instead of the first set on Node.js < 22 (#20562)- Canonicalization: ensure inline
theme(…)alphas with more than 2 decimals migrate to a percentage modifier with the same opacity (e.g.theme(colors.red.500/.12345)→text-red-500/[12.345%], nottext-red-500/[12.345]) (#20563)- Canonicalization: preserve inline
theme(…)alphas as an arbitrary percentage when a custom--opacity-*theme value would change the opacity (e.g.theme(colors.red.500/50%)→text-red-500/[50%]with--opacity-50: 10%) (#20563)- Ensure the
@propertyfallback isn't applied in Safari versions that no longer supportmargin-trim: inline(#20569)- Treat viewport units like
dvminandsviand font-relative units likecapandrexas lengths in arbitrary values (e.g.text-[10dvmin]generatesfont-sizeinstead ofcolor) (#20516)
... (truncated)
Commits
9b2c9254.3.5 (#20672)e0f76e9Skip thecolor-mix(…)polyfill without a color interpolation method (#20666)8c74689Ignore\<!--and-->between top-level rules in the CSS parser (#20665)669fcc1Don't crash on acolor-mix(…)with a single color and no interpolation meth...7edc50eCanonicalization: don't sort all parsed variants when compiling a single cand...2626ae64.3.4 (#20447)cd5831fKeep a declaration without a;at the end of the CSS input (#20655)2570e00Parse a custom property at the end of the input without a trailing;(#20653)410a465Don't treat!importantinside a declaration value as the important flag (#2...a982d5bDecode single-digit hexadecimal CSS escapes (#20591)- 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
Upgrades tailwindcss from 3.4.19 to 4.3.5. This is a major version bump (v3 → v4) with breaking changes, so the project's Tailwind setup needs migration before merging.
Migration
- Tailwind v4 replaces JavaScript configuration with CSS-first configuration.
- The PostCSS plugin is now
@tailwindcss/postcssinstead oftailwindcss. @tailwinddirectives were replaced with@import "tailwindcss".- Verify existing utilities, variants, and theme overrides for v4 compatibility.
[!NOTE]
Bump tailwindcss from 3.4.19 to 4.3.5
Updates the Tailwind CSS version range in package.json from ^3.4.19 to ^4.3.5 and regenerates bun.lock. The lockfile also downgrades the object-hash resolution from 3.0.0 to 2.2.0 and drops dependency entries no longer in the resolved graph. Risk: Tailwind 4.x is a major release; check custom class usage, config files, and build output for breaking changes.
Macroscope summarized 57f0ed4.