v4.3.2
📦 tailwind-cssView on GitHub →
🐛 13 fixes🔧 10 symbols
Summary
This release focuses heavily on bug fixes across CLI, Vite plugin, and core processing logic, improving stability, watch mode behavior, and class extraction robustness.
🐛 Bug Fixes
- Support bare spacing values for auto-rows-* and auto-cols-* utilities (e.g. auto-rows-12 and auto-cols-16).
- Prevent @tailwindcss/cli in --watch mode from crashing on Windows when @source points to a directory that doesn't exist.
- Prevent @tailwindcss/vite from crashing in Deno v2.8.x when context.parentURL is not a valid URL.
- Ensure @tailwindcss/cli in --watch mode rebuilds when the input CSS file changes in an ignored directory.
- Allow @variant rules used in addBase(…) to use custom variants defined later.
- Prevent @tailwindcss/vite from crashing during HMR when scanned files or directories are deleted.
- Generate font-size instead of color declarations for text-[--spacing(…)].
- Prevent @source patterns from scanning unrelated sibling files and folders.
- Extract class candidates adjacent to Template Toolkit delimiters like %]...[% in .tt, .tt2, and .tx files.
- Extract class candidates from conditional Maud syntax like p.text-black[condition].
- Prevent @position-try rules from triggering unknown at-rule warnings when optimizing CSS.
- Support class suggestions for named opacity modifiers from --opacity theme values.
- Prevent type errors in @tailwindcss/postcss when used with newer PostCSS patch releases.