Change8

v4.1.9

📦 tailwind-cssView on GitHub →
🐛 6 fixes🔧 4 symbols

Summary

This release focuses on refining the upgrade migration logic and fixing CSS parsing issues, specifically regarding custom properties, arbitrary values, and math expression formatting.

Migration Steps

  1. Run the upgrade tool to automatically convert arbitrary modifiers without percentage signs to bare values
  2. Run the upgrade tool to convert negative arbitrary values to negative bare values

🐛 Bug Fixes

  • Correctly parse custom properties with strings containing semicolons
  • Upgrade: Migrate arbitrary modifiers without percentage signs to bare values (e.g. /[0.16] to /16)
  • Upgrade: Migrate CSS variable shorthands where fallback value contains function call
  • Upgrade: Migrate negative arbitrary values to negative bare values (e.g. mb-[-32rem] to -mb-128)
  • Upgrade: Prevent incorrect migration of 'blur' in 'wire:model.blur' attributes
  • Prevent adding spaces around CSS dashed idents when formatting math expressions

🔧 Affected Symbols

wire:model.blurblurmb-[-32rem]/[0.16]