v4.0.0-alpha.35
Pre-release
Pre-release
github-actions
released this
21 Nov 13:50
·
71 commits
to next
since this release
Added
- Reintroduce
max-w-screen-*
utilities that read from the--breakpoint
namespace as deprecated utilities (#15013) - Support using CSS variables as arbitrary values without
var(…)
by using parentheses instead of square brackets (e.g.bg-(--my-color)
) (#15020) - Add new
in-*
variant (#15025) - Bundle
@tailwindcss/forms
,@tailwindcss/typography
, and@tailwindcss/aspect-ratio
with the standalone CLI (#15028) - Allow
addUtilities()
andaddComponents()
to work with child combinators and other complex selectors (#15029) - Support colors that use
<alpha-value>
in JS configs and plugins (#15033) - Add new
transition-discrete
andtransition-normal
utilities fortransition-behavior
(#15051) - Upgrade (experimental): Migrate
[&>*]
to the*
variant (#15022) - Upgrade (experimental): Migrate
[&_*]
to the**
variant (#15022) - Upgrade (experimental): Warn when trying to migrating a project that is not on Tailwind CSS v3 (#15015)
- Upgrade (experimental): Migrate colors that use
<alpha-value>
in JS configs (#15033)
Fixed
- Ensure
flex
is suggested (#15014) - Improve module resolution for
cjs
-only andesm
-only plugins (#15041) - Perform
calc(…)
on just values for negative-rotate-*
utilities, not on therotateX/Y/Z(…)
functions themselves (#15044) - Upgrade (experimental): Resolve imports when specifying a CSS entry point on the command-line (#15010)
- Upgrade (experimental): Resolve nearest Tailwind config file when CSS file does not contain
@config
(#15001) - Upgrade (experimental): Improve output when CSS imports can not be found (#15038)
- Upgrade (experimental): Ignore analyzing imports with external URLs (e.g.:
@import "https://fonts.google.com"
) (#15040) - Upgrade (experimental): Ignore analyzing imports with
url(…)
(e.g.:@import url("https://fonts.google.com")
) (#15040) - Upgrade (experimental): Use
resolveJsId
when resolvingtailwindcss/package.json
(#15041) - Upgrade (experimental): Ensure children of Tailwind root file are not considered Tailwind root files (#15048)
Changed
- Bring back support for color opacity modifiers to read from
--opacity-*
theme values (#14278)