Tailwind CSS v4.3.2 has been released, focusing on stability and cross-platform improvements. This patch addresses several bugs in the CLI, Vite plugin, and CSS processing, while also expanding class extraction to more template engines.
Key changes in v4.3.2:
- Fixed
auto-rows-*andauto-cols-*utilities to accept bare spacing values (e.g.,auto-rows-12,auto-cols-16). Previously, these utilities only worked with keyword values likeminorfr. - Prevented
@tailwindcss/cliin--watchmode from crashing on Windows when@sourcepoints to a non-existent directory. This resolves a common pain point for Windows developers. - Prevented
@tailwindcss/vitefrom crashing in Deno v2.8.x whencontext.parentURLis not a valid URL. Deno users can now rely on HMR without errors. - Ensured
@tailwindcss/cliin--watchmode rebuilds when the input CSS file changes in an ignored directory. The watcher now correctly picks up CSS file edits even inside ignored folders. - Allowed
@variantrules used inaddBase(…)to reference custom variants defined later in the config. This fixes ordering issues when using dynamic bases. - Prevented
@tailwindcss/vitecrash during HMR when scanned files or directories are deleted. Deletions are now handled gracefully. - Generated
font-sizeinstead ofcolordeclarations fortext-[--spacing(…)]. Previously, this would incorrectly produce color values; now it respects the intended spacing dimension. - Prevented
@sourcepatterns from scanning unrelated sibling files and folders, reducing unnecessary file reads and improving build performance. - Added class extraction for Template Toolkit delimiters (
%]…[%) in.tt,.tt2, and.txfiles, and Maud conditional syntax (p.text-black[condition]). This expands Tailwind's utility-first workflow to more template ecosystems. - Prevented
@position-tryrules from triggering unknown at-rule warnings during CSS optimization. This silences false positives when using experimental CSS features. - Added class suggestions for named opacity values (e.g.,
bg-black/50), improving the autocomplete experience.
For developers, v4.3.2 is a maintenance release that improves reliability across different environments (Windows, Deno) and toolchains. The fixes for watch mode crashes and HMR stability are especially critical for teams using Tailwind in CI or with live reload setups. The new template engine support broadens the framework's applicability for projects using Perl and Maud.
Source: https://github.com/tailwindlabs/tailwindcss/releases/tag/v4.3.2