Releases: tailwindlabs/tailwindcss
Releases · tailwindlabs/tailwindcss
v4.0.0-beta.9
Added
- Add
@tailwindcss/browserpackage to run Tailwind CSS in the browser (#15558) - Add
@reference "…"API as a replacement for the previous@import "…" referenceoption (#15565) - Add support for defining functional utilities in CSS (#15455)
- Add new
--spacing(…),--alpha(…), and--theme(…)CSS functions (#15572) - Add musl-based Linux builds of the standalone CLI (#15567)
- Improve performance of internal AST manipulations (#15529)
Fixed
- Use the correct property value for
place-content-between,place-content-around, andplace-content-evenlyutilities (#15440) - Don’t detect arbitrary properties when preceded by an escape (#15456)
- Fix incorrectly named
bg-roundandbg-spaceutilities tobg-repeat-roundtobg-repeat-space(#15462) - Fix
inset-shadow-*suggestions in IntelliSense (#15471) - Only compile arbitrary values ending in
](#15503) - Ensure
@applyrules are processed in the correct order (#15542) - Allow negative utility names in
@utility(#15573) - Remove all
@keyframescontributed by JavaScript plugins when using@referenceimports (#15581) - Upgrade (experimental): Do not extract class names from functions (e.g.
shadowinfilter: 'drop-shadow(…)') (#15566) - Upgrade (experimental): Migrate
theme(spacing.2)to--spacing(2)(#15579) - Upgrade (experimental): Migrate
theme(…)to--theme(…)(#15579)
Changed
v4.0.0-beta.8
Fixed
- Ensure
Symbol.disposeandSymbol.asyncDisposeare polyfilled (#15404)
v3.4.17
v4.0.0-beta.7
Added
- Export
tailwindcss/lib/util/flattenColorPalettefor backward compatibility (#15318) - Improve debug logs to get better insights (#15303)
Fixed
- Fix dependency related warnings when using
@tailwindcss/postcsson Windows (#15321) - Skip creating a compiler for CSS files that should not be processed (#15340)
- Fix missing
shadow-nonesuggestion in IntelliSense (#15342) - Optimize AST before printing for IntelliSense (#15347)
- Generate vendor prefixes for Chrome 111+ (e.g.
-webkit-background-clip: text) (#15389)
Changed
v4.0.0-beta.6
Fixed
- Ensure
@import "…" referencenever generates utilities (#15307)
v4.0.0-beta.5
Added
- Parallelize parsing of individual source files (#15270)
- Add new
@import "…" referenceoption for importing Tailwind CSS configuration details into another CSS entry point without duplicating CSS (#15228) - Improve performance of
@tailwindcss/postcssby translating between internal data structures and PostCSS nodes directly without additional parsing or stringification (#15297)
Fixed
- Ensure absolute URLs inside imported CSS files are not rebased when using
@tailwindcss/vite(#15275) - Fix issues with dev servers using Svelte 5 with
@tailwindcss/vite(#15274) - Support installing
@tailwindcss/vitein Vite 6 projects (#15274) - Fix resolution of imported CSS files in SSR builds with
@tailwindcss/vite(#15279) - Ensure other plugins can run after
@tailwindcss/postcss(#15273) - Rebase URLs inside imported CSS files when using Vite with the
@tailwindcss/postcssextension (#15273) - Fix missing font family suggestions in IntelliSense (#15288)
- Fix missing
@containersuggestion in IntelliSense (#15288)
v3.4.16
v4.0.0-beta.4
Fixed
- Don't scan source files for utilities unless
@tailwind utilitiesis present in the CSS in@tailwindcss/postcssand@tailwindcss/vite(#15226) - Skip reserializing CSS files that don't use Tailwind features in
@tailwindcss/postcssand@tailwindcss/vite(#15226) - Upgrade (experimental): Do not migrate the
overflow-cliputility (#15244) - Upgrade (experimental): Rename
backdrop-blurtobackdrop-blur-smandbackdrop-blur-smtobackdrop-blur-xs(#15242)
v4.0.0-beta.3
Fixed
- Ensure any necessary vendor prefixes are generated for iOS Safari, Firefox, and Chrome (#15166)
- Ensure
.groupand.peerare prefixed when using theprefix(…)option (#15174) - Ensure 3D transforms render correctly in Safari (#15179)
- Ensure
--spacing-*variables take precedence over--container-*variables (#15180) - Fix scanning classes delimited by tab characters (#15169)
- Ensure opacity modifiers and semi-transparent gradients render correctly by default in Safari (#15201)
- Fix element size thrashing when transitioning gradients on elements with a defined font-size in Safari (#15216)
- Ensure
translate-*utilities work with arbitrary values that usecalc(…)(#15215) - Ensure gradient stop position utilities work with arbitrary values that use
calc(…)(#15215) - Ensure Node addons are packaged correctly with Windows ARM builds (#15171)
- Ensure the Vite plugin resolves CSS and JS files according to the configured resolver conditions ([#15173])(#15173)
- Upgrade (experimental): Migrate prefixes for
.groupand.peerclasses (#15208)
Changed
- Interpolate gradients using OKLAB instead of OKLCH by default (#15201)
- Error when
layer(…)in@importis not first in the list of functions/conditions (#15109) - Use unitless line-height values for font-size variables in default theme (#15216)
- Don't register custom properties with explicit types unless those custom properties need to be animateable (#15215)
v4.0.0-beta.2
Fixed
- Use configured
--letter-spacingvalues for custom font size utilities (#15099) - Ensure
space-x/y-*anddivide-x/y-*with variants can undospace-x/y-reverseanddivide-x/y-reverse(#15094) - Don't print minified code when the build fails in the CLI (#15106)
- Generate the correct CSS for the
break-keeputility (#15108) - Detect single word utilities that include numbers (e.g.
h1) when scanning files (#15110) - Upgrade (experimental): Always add
layer(…)as the first param to@import(#15102)
Changed
- Revert the new base styles for buttons and form controls (#15100)