We just released Tailwind CSS v3.2! Read the announcement post for more details about the most exciting new features.
Added
- Add new
@config
directive (#9405) - Add new
relative: true
option to resolve content paths relative to the config file (#9396) - Add new
supports-*
variant (#9453) - Add new
min-*
andmax-*
variants (#9558) - Add new
aria-*
variants (#9557, #9588) - Add new
data-*
variants (#9559, #9588) - Add new
break-keep
utility forword-break: keep-all
(#9393) - Add new
collapse
utility forvisibility: collapse
(#9181) - Add new
fill-none
utility forfill: none
(#9403) - Add new
stroke-none
utility forstroke: none
(#9403) - Add new
place-content-baseline
utility forplace-content: baseline
(#9498) - Add new
place-items-baseline
utility forplace-items: baseline
(#9507) - Add new
content-baseline
utility foralign-content: baseline
(#9507) - Add support for configuring default
font-feature-settings
for a font family (#9039) - Add standalone CLI build for 32-bit Linux on ARM (
node16-linux-armv7
) (#9084) - Add future flag to disable color opacity utility plugins (#9088)
- Add negative value support for
outline-offset
(#9136) - Add support for modifiers to
matchUtilities
(#9541) - Allow negating utilities using
min
/max
/clamp
(#9237) - Implement fallback plugins when there is ambiguity between plugins when using arbitrary values (#9376)
- Support
sort
function inmatchVariant
(#9423) - Upgrade to
postcss-nested
v6.0 (#9546)
Fixed
- Use absolute paths when resolving changed files for resilience against working directory changes (#9032)
- Fix ring color utility generation when using
respectDefaultRingColorOpacity
(#9070) - Sort tags before classes when
@apply
-ing a selector with joined classes (#9107) - Remove invalid
outline-hidden
utility (#9147) - Honor the
hidden
attribute on elements in preflight (#9174) - Don't stop watching atomically renamed files (#9173, #9215)
- Fix duplicate utilities issue causing memory leaks (#9208)
- Fix
fontFamily
config TypeScript types (#9214) - Handle variants on complex selector utilities (#9262)
- Fix shared config mutation issue (#9294)
- Fix ordering of parallel variants (#9282)
- Handle variants in utility selectors using
:where()
and:has()
(#9309) - Improve data type analysis for arbitrary values (#9320)
- Don't emit generated utilities with invalid uses of theme functions (#9319)
- Revert change that only listened for stdin close on TTYs (#9331)
- Ignore unset values (like
null
orundefined
) when resolving the classList for intellisense (#9385) - Improve type checking for formal syntax (#9349, #9448)
- Fix incorrect required
content
key in custom plugin configs (#9502, #9545) - Fix content path detection on Windows (#9569)
- Ensure
--content
is used in the CLI when passed (#9587)