Releases: tailwindlabs/tailwindcss
Releases · tailwindlabs/tailwindcss
v4.1.18
Fixed
- Ensure validation of
source(…)happens relative to the file it is in (#19274) - Include filename and line numbers in CSS parse errors (#19282)
- Skip comments in Ruby files when checking for class names (#19243)
- Skip over arbitrary property utilities with a top-level
!in the value (#19243) - Support environment API in
@tailwindcss/vite(#18970) - Preserve case of theme keys from JS configs and plugins (#19337)
- Write source maps correctly on the CLI when using
--watch(#19373) - Handle special defaults (like
ringColor.DEFAULT) in JS configs (#19348) - Improve backwards compatibility for
contenttheme key from JS configs (#19381) - Upgrade: Handle
futureandexperimentalconfig keys (#19344) - Try to canonicalize any arbitrary utility to a bare value (#19379)
- Validate candidates similarly to Oxide (#19397)
- Canonicalization: combine
text-*andleading-*classes (#19396) - Correctly handle duplicate CLI arguments (#19416)
- Don’t emit color-mix fallback rules inside
@keyframes(#19419) - CLI: Don't hang when output is
/dev/stdout(#19421)
v3.4.19
v4.1.17
v4.1.16
v4.1.15
Fixed
- Fix Safari devtools rendering issue due to
color-mixfallback (#19069) - Suppress Lightning CSS warnings about
:deep,:slotted, and:global(#19094) - Fix resolving theme keys when starting with the name of another theme key in JS configs and plugins (#19097)
- Allow named groups in combination with
not-*,has-*, andin-*(#19100) - Prevent important utilities from affecting other utilities (#19110)
- Don’t index into strings with the
theme(…)function (#19111) - Fix parsing issue when
\tis used in at-rules (#19130) - Upgrade: Canonicalize utilities containing
0values (#19095) - Upgrade: Migrate deprecated
break-wordstowrap-break-word(#19157)
Changed
- Remove the
postinstallscript from oxide (#19149)
v4.1.14
Fixed
- Handle
'syntax in ClojureScript when extracting classes (#18888) - Handle
@variantinside@custom-variant(#18885) - Merge suggestions when using
@utility(#18900) - Ensure that file system watchers created when using the CLI are always cleaned up (#18905)
- Do not generate
grid-columnutilities when configuringgrid-column-startorgrid-column-end(#18907) - Do not generate
grid-rowutilities when configuringgrid-row-startorgrid-row-end(#18907) - Prevent duplicate CSS when overwriting a static utility with a theme key (#18056)
- Show Lightning CSS warnings (if any) when optimizing/minifying (#18918)
- Use
defaultexport condition for@tailwindcss/vite(#18948) - Re-throw errors from PostCSS nodes (#18373)
- Detect classes in markdown inline directives (#18967)
- Ensure files with only
@themeproduce no output when built (#18979) - Support Maud templates when extracting classes (#18988)
- Upgrade: Do not migrate
variant = 'outline'during upgrades (#18922) - Upgrade: Show version mismatch (if any) when running upgrade tool (#19028)
- Upgrade: Ensure first class inside
classNameis migrated (#19031) - Upgrade: Migrate classes inside
*ClassNameand*Classattributes (#19031)
v3.4.18
Fixed
- Improve support for raw
supports-[…]queries in arbitrary values (#13605) - Fix
require.cacheerror when loaded through a TypeScript file in Node 22.18+ (#18665) - Support
import.meta.resolve(…)in configs for new enough Node.js versions (#18938) - Allow using newer versions of
postcss-load-configfor better ESM and TypeScript PostCSS config support with the CLI (#18938) - Remove irrelevant utility rules when matching important classes (#19030)
v4.1.13
Changed
- Drop warning from browser build (#18731)
- Drop exact duplicate declarations when emitting CSS (#18809)
Fixed
- Don't transition
visibilitywhen usingtransition(#18795) - Discard matched variants with unknown named values (#18799)
- Discard matched variants with non-string values (#18799)
- Show suggestions for known
matchVariantvalues (#18798) - Replace deprecated
clipwithclip-pathinsr-only(#18769) - Hide internal fields from completions in
matchUtilities(#18820) - Ignore
.vercelfolders by default (can be overridden by@source …rules) (#18855) - Consider variants starting with
@-to be invalid (e.g.@-2xl:flex) (#18869) - Do not allow custom variants to start or end with a
-or_(#18867, #18872) - Upgrade: Migrate
ariatheme keys to@custom-variant(#18815) - Upgrade: Migrate
datatheme keys to@custom-variant(#18816) - Upgrade: Migrate
supportstheme keys to@custom-variant(#18817)
v4.1.12
Fixed
- Don't consider the global important state in
@apply(#18404) - Add missing suggestions for
flex-<number>utilities (#18642) - Fix trailing
)from interfering with extraction in Clojure keywords (#18345) - Detect classes inside Elixir charlist, word list, and string sigils (#18432)
- Track source locations through
@pluginand@config(#18345) - Allow boolean values of
process.env.DEBUGin@tailwindcss/node(#18485) - Ignore consecutive semicolons in the CSS parser (#18532)
- Center the dropdown icon added to an input with a paired datalist by default (#18511)
- Extract candidates in Slang templates (#18565)
- Improve error messages when encountering invalid functional utility names (#18568)
- Discard CSS AST objects with
falseorundefinedproperties (#18571) - Allow users to disable URL rebasing in
@tailwindcss/postcssviatransformAssetUrls: false(#18321) - Fix false-positive migrations in
addEventListenerand JavaScript variable names (#18718) - Fix Standalone CLI showing default Bun help when run via symlink on Windows (#18723)
- Read from
--border-color-*theme keys individe-*utilities for backwards compatibility (#18704) - Don't scan
.hdrand.exrfiles for classes by default (#18734)