v4.1.5
📦 tailwind-cssView on GitHub →
✨ 3 features🐛 8 fixes🔧 8 symbols
Summary
This release introduces new line-height utilities, improves @starting-style transitions, and enhances the @tailwindcss/upgrade tool for v4 maintenance. It also includes several bug fixes for file scanning, PostCSS error recovery, and theme suggestions.
Migration Steps
- Use @tailwindcss/upgrade to automate updates between v4.* versions
✨ New Features
- Support using @tailwindcss/upgrade to upgrade between versions of v4.*
- Add h-lh, min-h-lh, and max-h-lh utilities for line-height based sizing
- Transition display, visibility, content-visibility, overlay, and pointer-events when using transition to simplify @starting-style usage
🐛 Bug Fixes
- Don't scan .geojson or .db files for classes by default
- Hide default shadow suggestions when missing default shadow theme keys
- Replace _ with . in theme suggestions for @utility if surrounded by digits
- Skip color-mix(…) when opacity is 100%
- PostCSS: Ensure that errors in imported stylesheets are recoverable
- Upgrade: Bump all Tailwind CSS related dependencies during upgrade
- Upgrade: Don't add - to variants starting with @
- Upgrade: Don't format stylesheets that didn't change when upgrading
🔧 Affected Symbols
@tailwindcss/upgradeh-lhmin-h-lhmax-h-lhtransition@starting-style@utilitycolor-mix