Change8

v4.1.14

📦 tailwind-css
5 features🐛 10 fixes🔧 8 symbols

Summary

This release focuses on bug fixes for CSS generation, improved class extraction for ClojureScript and Maud, and enhancements to the automated upgrade tool.

Migration Steps

  1. Run the upgrade tool to benefit from improved class detection in *ClassName and *Class attributes

✨ New Features

  • Added support for extracting classes from ClojureScript quote syntax
  • Added support for extracting classes from Maud templates
  • Added support for detecting classes in markdown inline directives
  • Lightning CSS warnings are now displayed during optimization/minification
  • Improved upgrade tool to migrate classes in *ClassName and *Class attributes

🐛 Bug Fixes

  • Fixed handling of @variant inside @custom-variant
  • Fixed merge suggestions when using @utility
  • Ensured CLI file system watchers are properly cleaned up
  • Prevented generation of grid-column/row utilities when only start or end is configured
  • Prevented duplicate CSS when overwriting static utilities with theme keys
  • Fixed Vite export condition to use 'default'
  • Ensured errors from PostCSS nodes are re-thrown
  • Ensured files containing only @theme produce no output
  • Fixed upgrade tool to prevent migration of variant='outline'
  • Fixed upgrade tool to ensure the first class inside className is migrated

🔧 Affected Symbols

@variant@custom-variant@utilitygrid-columngrid-row@theme@tailwindcss/viteclassName