Change8

v4.1.6

📦 tailwind-cssView on GitHub →
4 features🐛 7 fixes🔧 5 symbols

Summary

This release introduces development source maps, improved logging for file scanning, and performance optimizations for dependency updates, alongside several fixes for arbitrary value handling and HAML extraction.

✨ New Features

  • Automatically convert arbitrary values to named values when possible (e.g. h-[1lh] to h-lh)
  • Update dependencies in parallel for improved performance during upgrades
  • Add detailed logging for @source directives, discovered files, and scanned files when using DEBUG=*
  • Add support for generating source maps in development

🐛 Bug Fixes

  • Ensure negative arbitrary scale values generate negative values
  • Fix HAML extraction with embedded Ruby
  • Prevent scanning files for utilities when using @reference
  • Fix incorrect replacement of underscores with spaces in arbitrary modifier shorthand (e.g., bg-red-500/(--my_opacity))
  • Exclude .log files from default class scanning
  • Ensure custom utilities applying other custom utilities do not swallow nested @apply rules
  • Download platform-specific package if optionalDependencies are skipped

🔧 Affected Symbols

@source@reference@applyscaleDEBUG