Change8

v4.1.15

📦 tailwind-cssView on GitHub →
1 features🐛 8 fixes1 deprecations🔧 10 symbols

Summary

This release focuses on bug fixes for CSS parsing, theme resolution, and browser-specific rendering, while also migrating the deprecated `break-words` utility.

Migration Steps

  1. Update existing instances of `break-words` to `wrap-break-word` to align with the latest utility mapping.

✨ New Features

  • Added support for named groups in combination with `not-*`, `has-*`, and `in-*` variants.

🐛 Bug Fixes

  • Fix Safari devtools rendering issue caused by `color-mix` fallback.
  • Suppress Lightning CSS warnings for Vue/Svelte pseudo-selectors like `:deep`, `:slotted`, and `:global`.
  • Fix theme key resolution in JS configs when keys share a common prefix.
  • Prevent important (!) utilities from incorrectly affecting the styles of other utilities.
  • Fix `theme()` function to prevent incorrect indexing into string values.
  • Fix parsing of at-rules containing tab characters (\t).
  • Canonicalize utilities containing `0` values during upgrade.
  • Remove the `postinstall` script from the oxide package.

🔧 Affected Symbols

color-mix:deep:slotted:globaltheme()not-*has-*in-*break-wordswrap-break-word

⚡ Deprecations

  • The `break-words` utility is deprecated and now migrates to `wrap-break-word` during the upgrade process.