Releases: tailwindlabs/tailwindcss
Releases · tailwindlabs/tailwindcss
v3.4.14
v4.0.0-alpha.26
Added
- Add support for prefixes (#14501)
- Expose timing information in debug mode (#14553)
- Add support for
blocklistin JS config files (#14556) - Add
color-schemeutilities (#14567) - Add support for
importantoption in JS config files (#14448) - Upgrade (experimental): Convert
@import "tailwindcss/tailwind.css"to@import "tailwindcss"in CSS files (#14514) - Upgrade (experimental): Apply all utility upgrades to
@applyin CSS files (#14574) - Upgrade (experimental): Update variant order in template files (#14524)
- Upgrade (experimental): Convert
bg-gradient-*utilities tobg-linear-*in template files (#14537) - Upgrade (experimental): Convert legacy prefixes to variant prefixes in template files (#14557)
- Upgrade (experimental): Convert bare CSS variables in arbitrary values to
var(…)in template files (#14526) - Upgrade (experimental): Convert legacy important modifier syntax to trailing syntax (#14502)
Fixed
- Use the right import base path when using the CLI to reading files from stdin (#14522)
- Ensure that
@utilityis top-level and cannot be nested (#14525) - Only setup a single compiler in
@tailwindcss/postcssfor initial builds (#14565) - Ensure editing imported CSS files triggers a rebuild (#14561)
- Ensure
@applyand CSS functions work inside imported stylesheets (#14576) - Upgrade (experimental): Don't wrap custom CSS after utilities in a layer (#14512)
- Upgrade (experimental): Don't add empty
layer()to@importat-rules when the styles do not need to be imported into a layer (#14513) - Upgrade (experimental): Don't wrap comment nodes in
@layerwhen running codemods (#14517) - Upgrade (experimental): Fix scenario where selectors can be lost in multi-selector rules (#14518)
- Upgrade (experimental): Ensure custom CSS before
@tailwindrules is wrapped with@layer basewhen prepending@import "tailwindcss"to the top of the file (#14536)
Changed
- Disallow bare values with decimal places (#14562)
v4.0.0-alpha.25
Added
- Add support for
aria,supports, anddatavariants defined in JS config files (#14407) - Add
@tailwindcss/upgradetooling (#14434) - Support
screensin JS config files (#14415) - Add
bg-radial-*andbg-conic-*utilities for radial and conic gradients (#14467) - Add new
shadow-initialandinset-shadow-initialutilities for resetting shadow colors (#14468) - Add
field-sizing-*utilities (#14469) - Include gradient color properties in color transitions (#14489)
- Experimental: Add CSS codemods for
@apply(#14411) - Experimental: Add CSS codemods for migrating
@tailwinddirectives (#14411, #14504) - Experimental: Add CSS codemods for migrating
@layer utilitiesand@layer components(#14455)
Fixed
- Support
borderRadius.*as an alias for--radius-*when using dot notation inside thetheme()function (#14436) - Ensure individual variants from groups are always sorted earlier than stacked variants from the same groups (#14431)
- Allow
anchor-size(…)in arbitrary values (#14394) - Skip candidates with invalid
theme()calls (#14437) - Don't generate
inset-*utilities for--inset-shadow-*and--inset-ring-*theme values (#14447) - Include
--default-transition-*variables intransition-*utility output (#14482) - Ensure
rtlandltrvariants work with[dir=auto](#14306)
Changed
- Preserve explicit
leading-*,tracking-*, andfont-{weight}value when overriding font-size (#14403) - Disallow negative bare values in core utilities and variants (#14453)
- Preserve explicit shadow color when overriding shadow size (#14458)
- Preserve explicit transition duration and timing function when overriding transition property (#14490)
- Change the implementation for
@importresolution to speed up initial builds (#14446) - Remove automatic
var(…)injection (#13657) - Only apply
:hoverstates on devices that support@media (hover: hover)(#14500)
v3.4.13
v3.4.12
v4.0.0-alpha.24
Added
- Support CSS
theme()functions inside other@custom-media,@container, and@supportsrules (#14358) - Export
Configtype fromtailwindcssfor JS config files (#14360) - Add support for
matchVariantplugins using the@plugindirective (#14371) - Warn if the
tailwindcsspackage is used as a PostCSS plugin (#14378)
Fixed
- Ensure there is always CLI feedback on save even when no new classes were found (#14351)
- Properly resolve
theme('someKey.DEFAULT')when all--some-key-*keys have a suffix (#14354) - Make sure tuple theme values in JS configs take precedence over
@theme defaultvalues (#14359) - Improve IntelliSense completions for
borderutilities (#14370)
v3.4.11
v4.0.0-alpha.23
Added
- Add opacity modifier support to the
theme()function in plugins (#14348)
v3.4.10
v3.4.9
Fixed
- No longer warns when broad glob patterns are detecting
vendorfolders