Releases: tailwindlabs/tailwindcss
Releases · tailwindlabs/tailwindcss
v3.3.6
Fixed
- Don’t add spaces to negative numbers following a comma (#12324)
- Don't emit
@configin CSS when watching via the CLI (#12327) - Improve types for
resolveConfig(#12272) - Ensure configured
font-feature-settingsformonoare included in Preflight (#12342) - Improve candidate detection in minified JS arrays (without spaces) (#12396)
- Don't crash when given applying a variant to a negated version of a simple utility (#12514)
- Fix support for slashes in arbitrary modifiers (#12515)
- Fix source maps of variant utilities that come from an
@layerrule (#12508) - Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI (#12506)
v3.3.5
v3.3.4
Fixed
- Improve normalisation of
calc()-like functions (#11686) - Skip
calc()normalisation in nestedtheme()calls (#11705) - Fix incorrectly generated CSS when using square brackets inside arbitrary properties (#11709)
- Make
contentoptional for presets in TypeScript types (#11730) - Handle variable colors that have variable fallback values (#12049)
- Batch reading content files to prevent
too many open fileserror (#12079) - Skip over classes inside
:not(…)when nested in an at-rule (#12105) - Update types to work with
Node16module resolution (#12097) - Don’t crash when important and parent selectors are equal in
@apply(#12112) - Eliminate irrelevant rules when applying variants (#12113)
- Improve RegEx parser, reduce possibilities as the key for arbitrary properties (#12121)
- Fix sorting of utilities that share multiple candidates (#12173)
- Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser (#12179)
- Fix crash when watching renamed files on FreeBSD (#12193)
- Allow plugins from a parent document to be used in an iframe (#12208)
- Add types for
tailwindcss/nesting(#12269) - Bump
jiti,fast-glob, andbrowserlistdependencies (#11550) - Improve automatic
varinjection for properties that accept a<dashed-ident>(#12236)
v3.3.3
Fixed
- Fix issue where some pseudo-element variants generated the wrong selector (#10943, #10962, #11111)
- Make font settings propagate into buttons, inputs, etc. (#10940)
- Fix parsing of
theme()insidecalc()when there are no spaces around operators (#11157) - Ensure
repeating-conic-gradientis detected as an image (#11180) - Move unknown pseudo-elements outside of
:isby default (#11345) - Escape animation names when prefixes contain special characters (#11470)
- Don't prefix arbitrary classes in
groupandpeervariants (#11454) - Sort classes using position of first matching rule (#11504)
- Allow variant to be an at-rule without a prelude (#11589)
- Make PostCSS plugin async to improve performance (#11548)
- Don’t error when a config file is missing (f97759f)
Added
- Add
aria-busyutility (#10966)
Changed
- Reset padding for
<dialog>elements in preflight (#11069)
v3.3.2
Fixed
- Don’t move unknown pseudo-elements to the end of selectors (#10943, #10962)
- Inherit gradient stop positions when using variants (#11002)
- Honor default
toposition of gradient when using implicit transparent colors (#11002) - Ensure
@tailwindcss/oxidedoesn't leak in the stable engine (#10988) - Ensure multiple
theme(spacing[5])calls with bracket notation in arbitrary properties work (#11039) - Normalize arbitrary modifiers (#11057)
Changed
- Drop support for Node.js v12 (#11089)
v3.3.1
Fixed
- Fix edge case bug when loading a TypeScript config file with webpack (#10898)
- Fix variant,
@apply, andimportantselectors when using:is()or:has()with pseudo-elements (#10903) - Fix
safelistconfig types (#10901) - Fix build errors caused by
@tailwindcss/line-clampwarning (#10915, #10919) - Fix "process is not defined" error (#10919)
v3.3.0
Tailwind CSS v3.3 is here! Check out the announcement post for a deep dive into all of the cool new stuff.
Added
- Support ESM and TypeScript config files (#10785)
- Extend default color palette with new 950 shades (#10879)
- Add
line-heightmodifier support tofont-sizeutilities (#9875) - Add support for using variables as arbitrary values without
var(...)(#9880, #9962) - Add logical properties support for inline direction (#10166)
- Add
hyphensutilities (#10071) - Add
from-{position},via-{position}andto-{position}utilities (#10886) - Add
list-style-imageutilities (#10817) - Add
caption-sideutilities (#10470) - Add
line-clamputilities from@tailwindcss/line-clampto core (#10768, #10876, #10862) - Add
delay-0andduration-0utilities (#10294) - Add
justify-normalandjustify-stretchutilities (#10560) - Add
content-normalandcontent-stretchutilities (#10645) - Add
whitespace-break-spacesutility (#10729) - Add support for configuring default
font-variation-settingsfor afont-family(#10034, #10515)
Fixed
- Disallow using multiple selectors in arbitrary variants (#10655)
- Sort class lists deterministically for Prettier plugin (#10672)
- Ensure CLI builds have a non-zero exit code on failure (#10703)
- Ensure module dependencies for value
null, is an emptySet(#10877) - Fix format assumption when resolving module dependencies (#10878)
Changed
v3.2.7
v3.2.6
v3.2.5
Added
- Add standalone CLI build for 64-bit Windows on ARM (
node16-win-arm64) (#10001)
Fixed
- Cleanup unused
variantOrder(#9829) - Fix
foo-[abc]/[def]not being handled correctly (#9866) - Add container queries plugin to standalone CLI (#9865)
- Support renaming of output files by PostCSS plugins in CLI (#9944)
- Improve return value of
resolveConfig, unwrapResolvableTo(#9972) - Clip unbalanced brackets in arbitrary values (#9973)
- Don’t reorder webkit scrollbar pseudo elements (#9991)
- Deterministic sorting of arbitrary variants (#10016)
- Add
datakey to theme types (#10023) - Prevent invalid arbitrary variant selectors from failing the build (#10059)
- Properly handle subtraction followed by a variable (#10074)
- Fix missing
string[]in thetheme.dropShadowtypes (#10072) - Update list of length units (#10100)
- Fix not matching arbitrary properties when closely followed by square brackets (#10212)
- Allow direct nesting in
rootor@layernodes (#10229) - Don't prefix classes in arbitrary variants (#10214)
- Fix perf regression when checking for changed content (#10234)
- Fix missing
blocklistmember in theConfigtype (#10239) - Escape group names in selectors (#10276)
- Consider earlier variants before sorting functions (#10288)
- Allow variants with slashes (#10336)
- Ensure generated CSS is always sorted in the same order for a given set of templates (#10382)
- Handle variants when the same class appears multiple times in a selector (#10397)
- Handle group/peer variants with quoted strings (#10400)
- Parse alpha value from rgba/hsla colors when using variables (#10429)
- Sort by
layerinsidevariantslayer (#10505) - Add
--watch=alwaysoption to prevent exit when stdin closes (#9966)
