Update dependency tailwindcss to v4 #12

Open
kjuulh wants to merge 1 commits from renovate/tailwindcss-monorepo into main
Owner

This PR contains the following updates:

Package Type Update Change
tailwindcss (source) devDependencies major ^3.0.7 -> ^4.0.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

tailwindlabs/tailwindcss (tailwindcss)

v4.1.11

Compare Source

Fixed
  • Add heuristic to skip candidate migrations inside emit(…) (#​18330)
  • Extract candidates with variants in Clojure/ClojureScript keywords (#​18338)
  • Document --watch=always in the CLI's usage (#​18337)
  • Add support for Vite 7 to @tailwindcss/vite (#​18384)

v4.1.10

Compare Source

Fixed
  • Fix incorrectly generated CSS when using percentages in arbitrary values with calc (e.g. w-[calc(100%-var(--offset))]) (#​18289)

v4.1.9

Compare Source

Fixed
  • Correctly parse custom properties with strings containing semicolons (#​18251)
  • Upgrade: Migrate arbitrary modifiers without percentage signs to bare values (e.g. /[0.16]/16) (#​18184)
  • Upgrade: Migrate CSS variable shorthands where fallback value contains function call (#​18184)
  • Upgrade: Migrate negative arbitrary values to negative bare values (e.g. mb-[-32rem]-mb-128) (#​18212)
  • Upgrade: Do not migrate blur in wire:model.blur (#​18216)
  • Don't add spaces around CSS dashed idents when formatting math expressions (#​18220)

v4.1.8

Compare Source

Added
  • Improve error messages when @apply fails (#​18059)
Fixed
  • Upgrade: Do not migrate declarations that look like candidates in <style> blocks (#​18057, 18068)
  • Upgrade: Don't error when looking for tailwindcss in pnpm monorepos (#​18065)
  • Upgrade: Don't error when updating dependencies in pnpm monorepos (#​18065)
  • Upgrade: Migrate deprecated order-none to order-0 (#​18126)
  • Support Leptos class: attributes when extracting classes (#​18093)
  • Fix "Cannot read properties of undefined" crash on malformed arbitrary value (#​18133)
  • Upgrade: Migrate -mt-[0px] to mt-[0px] instead of the other way around (#​18154)
  • Fix Haml pre-processing crash when there is no \n at the end of the file (#​18155)
  • Ignore .pnpm-store folders by default (can be overridden by @source … rules) (#​18163)
  • Fix PostCSS crash when calling toJSON() (#​18083)

v4.1.7

Compare Source

Added
  • Upgrade: Migrate bare values to named values (#​18000)
  • Upgrade: Added cache to improve template migration performance (#​18025)
Fixed
  • Allow _ before numbers during candidate extraction (#​17961)
  • Prevent duplicate suggestions when using @theme and @utility together (#​17675)
  • Ensure that media queries within ::before and ::after pseudo selectors create valid CSS rules in production builds (#​17979)
  • Ensure that the standalone CLI does not leave temporary files behind (#​17981)
  • Ensure -rotate-* utilities properly negate arbitrary values (#​18014)
  • Ignore custom variants using :merge(…) selectors in legacy JS plugins (#​18020)
  • Ensure classes containing . are properly extracted from Clojure files (#​18038)
  • Upgrade: Fix error when using @import … source(…) (#​17963)
  • Upgrade: Change casing of utilities with named values to kebab-case to match updated theme variables (#​18017)
  • Upgrade: Don't migrate strings that match utility names in Vue attribute bindings other than class (#​18025)

v4.1.6

Compare Source

Added
  • Upgrade: Automatically convert arbitrary values to named values when possible (e.g. h-[1lh] to h-lh) (#​17831, #​17854)
  • Upgrade: Update dependencies in parallel for improved performance (#​17898)
  • Add detailed logging about @source directives, discovered files and scanned files when using DEBUG=* (#​17906, #​17952)
  • Add support for generating source maps in development (#​17775)
Fixed
  • Ensure negative arbitrary scale values generate negative values (#​17831)
  • Fix HAML extraction with embedded Ruby (#​17846)
  • Don't scan files for utilities when using @reference (#​17836)
  • Fix incorrectly replacing _ with in arbitrary modifier shorthand bg-red-500/(--my_opacity) (#​17889)
  • Don't scan .log files for classes by default (#​17906)
  • Ensure that custom utilities applying other custom utilities don't swallow nested @apply rules (#​17925)
  • Download platform specific package if optionalDependencies are skipped (#​17929)

v4.1.5

Compare Source

Added
  • Support using @tailwindcss/upgrade to upgrade between versions of v4.* (#​17717)
  • Add h-lh / min-h-lh / max-h-lh utilities (#​17790)
  • Transition display, visibility, content-visibility, overlay, and pointer-events when using transition to simplify @starting-style usage (#​17812)
Fixed
  • Don't scan .geojson or .db files for classes by default (#​17700, #​17711)
  • Hide default shadow suggestions when missing default shadow theme keys (#​17743)
  • Replace _ with . in theme suggestions for @utility if surrounded by digits (#​17733)
  • Skip color-mix(…) when opacity is 100% (#​17815)
  • PostCSS: Ensure that errors in imported stylesheets are recoverable (#​17754)
  • Upgrade: Bump all Tailwind CSS related dependencies during upgrade (#​17763)
  • Upgrade: Don't add - to variants starting with @ (#​17814)
  • Upgrade: Don't format stylesheets that didn't change when upgrading (#​17824)
Changed
  • Ignore .hg, .svn, .venv, venv, .yarn, .next, .turbo, .parcel-cache, __pycache__, and .svelte-kit folders by default (can be overridden by @source … rules) (#​17892)
  • @source rules that point inside .hg, .svn, .venv, venv, .yarn, .next, .turbo, .parcel-cache, __pycache__, and .svelte-kit folders no longer consider your .gitignore rules (#​17892)

v4.1.4

Compare Source

Added
  • Add experimental @tailwindcss/oxide-wasm32-wasi target for running Tailwind in browser environments like StackBlitz (#​17558)
Fixed
  • Ensure color-mix(…) polyfills do not cause used CSS variables to be removed (#​17555)
  • Ensure color-mix(…) polyfills create fallbacks for theme variables that reference other theme variables (#​17562)
  • Fix brace expansion in declining ranges like {10..0..5} and {0..10..-5} (#​17591)
  • Work around a Chrome rendering bug when using the skew-* utilities (#​17627)
  • Ensure container query variant names can contain hyphens (#​17628)
  • Ensure shadow-inherit, inset-shadow-inherit, drop-shadow-inherit, and text-shadow-inherit inherit the shadow color (#​17647)
  • Ensure compatibility with array tuples used in fontSize JS theme keys (#​17630)
  • Ensure folders with binary file extensions in their names are scanned for utilities (#​17595)
  • Upgrade: Convert fontSize array tuple syntax to CSS theme variables (#​17630)

v4.1.3

Compare Source

Fixed
  • Show warning when using unsupported bare value data type in --value(…) (#​17464)
  • PostCSS: Ensure changes to the input CSS file don't generate stale output when using Turbopack (#​17554)
  • Ensure classes are detected in Ruby's %w syntax in Slim templates (#​17557)

v4.1.2

Compare Source

Fixed
  • Don't rely on the presence of @layer base to polyfill @property (#​17506)
  • Support setting multiple inset shadows as arbitrary values (#​17523)
  • Fix drop-shadow-* utilities that are defined with multiple shadows (#​17515)
  • PostCSS: Fix race condition when two changes are queued concurrently (#​17514)
  • PostCSS: Ensure files containing @tailwind utilities are processed (#​17514)
  • Ensure the color-mix(…) polyfill creates fallbacks even when using colors that cannot be statically analyzed (#​17513)
  • Fix slow incremental builds with @tailwindcss/vite and @tailwindcss/postscss (especially on Windows) (#​17511)
  • Vite: Fix missing CSS file in Qwik setups (#​17533)

v4.1.1

Compare Source

Fixed
  • Add heuristic to skip candidate migrations inside emit(…) (#​18330)
  • Extract candidates with variants in Clojure/ClojureScript keywords (#​18338)
  • Document --watch=always in the CLI's usage (#​18337)
  • Add support for Vite 7 to @tailwindcss/vite (#​18384)

v4.1.0

Compare Source

Added
  • Add details-content variant (#​15319)
  • Add inverted-colors variant (#​11693)
  • Add noscript variant (#​11929, #​17431)
  • Add items-baseline-last and self-baseline-last utilities (#​13888, #​17476)
  • Add pointer-none, pointer-coarse, and pointer-fine variants (#​16946)
  • Add any-pointer-none, any-pointer-coarse, and any-pointer-fine variants (#​16941)
  • Add safe alignment utilities (#​14607)
  • Add user-valid and user-invalid variants (#​12370)
  • Add wrap-anywhere, wrap-break-word, and wrap-normal utilities (#​12128)
  • Add @source inline(…) and @source not inline(…) (#​17147)
  • Add @source not "…" (#​17255)
  • Add text-shadow-* utilities (#​17389)
  • Add mask-* utilities (#​17134)
  • Add bg-{position,size}-* utilities for arbitrary values (#​17432)
  • Add shadow-*/<alpha>, inset-shadow-*/<alpha>, drop-shadow-*/<alpha>, and text-shadow-*/<alpha> utilities to control shadow opacity (#​17398, #​17434)
  • Add drop-shadow-<color> utilities (#​17434)
  • Improve compatibility with older versions of Safari and Firefox (#​17435)
Fixed
  • Follow symlinks when resolving @source directives (#​17391)
  • Don't scan ignored files for classes when changing an ignored file triggers a rebuild using @tailwindcss/cli (#​17255)
  • Support negated content rules in legacy JavaScript configuration (#​17255)
  • Interpret syntax like @("@&#8203;")md:… as @md:… in Razor files (#​17427)
  • Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values (#​17361)
  • Ensure the --theme(…) function still resolves to the CSS variables when using legacy JS plugins (#​17458)
  • Detect used theme variables in CSS module files (#​17433, #​17467)
Changed
  • Ignore node_modules by default (can be overridden by @source … rules) (#​17255)
  • @source rules that include file extensions or point inside node_modules/ folders no longer consider your .gitignore rules (#​17255)
  • Deprecate bg-{left,right}-{top,bottom} in favor of bg-{top,bottom}-{left,right} utilities (#​17378)
  • Deprecate object-{left,right}-{top,bottom} in favor of object-{top,bottom}-{left,right} utilities (#​17437)

v4.0.17

Compare Source

Fixed
  • Fix an issue causing the CLI to hang when processing Ruby files (#​17383)

v4.0.16

Compare Source

Added
  • Add support for literal values in --value('…') and --modifier('…') (#​17304)
Fixed
  • Fix class extraction followed by ( in Pug (#​17320)
  • Ensure @keyframes for theme animations are emitted if they are referenced following a comma (#​17352)
  • Vite: Ensure that updates to an imported CSS file are properly propagated after updating source files (#​17347)
  • Pre process Slim templates embedded in Ruby files (#​17336)
  • Error when input and output files resolve to the same file when using the CLI (#​17311)
  • Add missing suggestions when --spacing(--value(integer, number)) is used (#​17308)
  • Add ::-webkit-details-marker pseudo to marker variant (#​17362)

v4.0.15

Compare Source

Fixed
  • Fix incorrect angle in -bg-conic-* utilities (#​17174)
  • Fix border-[12px_4px] being interpreted as a border-color instead of a border-width (#​17248)
  • Work around a crash in Safari 16.4 and 16.5 when using the default Preflight styles (#​17306)
  • Pre-process <template lang="…"> in Vue files (#​17252)
  • Ensure that all CSS variables used by Preflight are prefixed (#​17036)
  • Prevent segfault when loaded in a worker thread on Linux (#​17276)
  • Ensure multiple --value(…) or --modifier(…) calls don't delete subsequent declarations (#​17273)
  • Fix class extraction followed by ( in Slim (#​17278)
  • Export PluginUtils from tailwindcss/plugin for compatibility with v3 (#​17299)
  • Remove redundant line-height: initial from Preflight (#​15212)
  • Increase Standalone hardware compatibility on macOS x64 builds (#​17267)
  • Ensure that the CSS file rebuilds if a new CSS variable is used from templates (#​17301)
Changed
  • The --theme(…) function now returns CSS variables from your theme variables unless used inside positions where CSS variables are invalid (e.g. inside @media queries) (#​17036)

v4.0.14

Compare Source

Fixed
  • Do not extract candidates with JS string interpolation ${ (#​17142)
  • Fix extraction of variants containing . character (#​17153)
  • Fix extracting candidates in Clojure/ClojureScript (#​17087)

v4.0.13

Compare Source

Fixed
  • Fix Haml pre-processing (#​17051)
  • Ensure .node and .wasm files are not scanned for utilities (#​17123)
  • Improve performance when scanning JSON files (#​17125)
  • Fix extracting candidates containing dots in Haml, Pug, and Slim pre processors (#​17094, #​17085, #​17113)
  • Don't create invalid CSS when encountering a link wrapped in square brackets (#​17129)

v4.0.12

Compare Source

Fixed
  • Vite: Fix url(…) rebasing in transitively imported CSS files (#​16965)
  • PostCSS: Rebase url(…)s in imported CSS files (#​16965)
  • Ensure utilities are sorted based on their actual property order (#​16995)
  • Ensure strings in Pug and Slim templates are handled correctly (#​17000)
  • Ensure classes between } and { are properly extracted (#​17001)
  • Fix razor/cshtml pre-processing (#​17027)
  • Ensure extracting candidates from JS embedded in a PHP string works as expected (#​17031)

v4.0.11

Compare Source

Fixed
  • Ensure classes containing -- are extracted correctly (#​16972)
  • Ensure classes containing numbers followed by dash or underscore are extracted correctly (#​16980)
  • Ensure arbitrary container queries are extracted correctly (#​16984)
  • Ensure classes ending in [ are extracted in Slim templating language (#​16985)
  • Ensure arbitrary variables with data types are extracted correctly (#​16986)

v4.0.10

Compare Source

Added
  • Add col-<number> and row-<number> utilities for grid-column and grid-row (#​15183)
Fixed
  • Ensure not-* does not remove :is(…) from variants (#​16825)
  • Ensure @keyframes are correctly emitted when using a prefix (#​16850)
  • Don't swallow @utility declarations when @apply is used in nested rules (#​16940)
  • Ensure outline-hidden behaves like outline-none outside of forced colors mode (#​16943)
  • Allow !important on CSS variables again (#​16873)
  • Vite: Do not crash when encountering an .svg file with # or ? in the filename (#​16957)
  • Ensure utilities are properly detected within square brackets (#​16306)
  • Ensure utilities are properly detected using Angular's conditional class binding syntax (#​16306)
  • Ensure utilities starting with numbers are properly extracted from Slim templates (#​16306)
  • Discard arbitrary property candidates that have guaranteed-invalid property names (#​16306)
Changed
  • Removed max-w-auto and max-h-auto utilities as they generate invalid CSS (#​16917)
  • Replaced the existing candidate extractor with a brand new extractor to improve maintainability, correctness, and performance (#​16306)

v4.0.9

Compare Source

Fixed
  • Make JS APIs available to plugins and configs in the Standalone CLI (#​15934)
  • Vite: Don't crash when importing a virtual module from JavaScript that ends in .css (#​16780)
  • Fix an issue where @reference "…" would sometimes omit keyframe animations (#​16774)
  • Ensure z-*! utilities are properly marked as !important (#​16795)
  • Read UTF-8 CSS files that start with a byte-order mark (BOM) (#​16800)
  • Ensure nested functions in selectors used with JavaScript plugins are not truncated (#​16802)
Changed
  • Emit variable fallbacks when using @reference "…" instead of duplicate CSS variable declarations (#​16774)

v4.0.8

Compare Source

Added
  • Allow @import with theme(…) options for stylesheets that contain more than just @theme rules (#​16514)
Fixed
  • Don't add !important to CSS variable declarations when using the important modifier (#​16668)
  • Vite: Ignore files and directories specified in your .gitignore file when using automatic source detection(#​16631)
  • Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected (#​16631)
  • Vite: Ensure Astro production builds always contain classes used in client-only components (#​16631)
  • Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping (#​16631)
  • Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables (#​16715)
  • Only include translate-z-px utilities once in compiled CSS (#​16718)
Changed

v4.0.7

Compare Source

Fixed
  • Export tailwindcss/lib/util/flattenColorPalette.js for backward compatibility (#​16411)
  • Fix sorting of numeric utility suggestions when they have different magnitudes (#​16414)
  • Show suggestions for fractions in IntelliSense (#​16353)
  • Don’t replace _ in suggested theme keys (#​16433)
  • Ensure --default-outline-width can be used to change the outline-width value of the outline utility (#​16469)
  • Ensure drop shadow utilities don't inherit unexpectedly (#​16471)
  • Export config and plugin types from tailwindcss/plugin for backward compatibility (#​16505)
  • Ensure JavaScript plugins that emit nested rules referencing the utility name work as expected (#​16539)
  • Statically link Visual Studio redistributables in @tailwindcss/oxide Windows builds (#​16602)
  • Ensure that Next.js splat routes are scanned for classes (#​16457)
  • Pin exact version of tailwindcss in @tailwindcss/* packages (#​16623)
  • Upgrade: Report errors when updating dependencies (#​16504)
  • Upgrade: Ensure a darkMode JS config setting with block syntax converts to use @slot (#​16507)
  • Upgrade: Ensure the latest version of tailwindcss and @tailwindcss/postcss are installed when upgrading (#​16620)

v4.0.6

Compare Source

Fixed
  • Revert change to no longer include theme variables that aren't used in compiled CSS (#​16403)
  • Upgrade: Don't migrate blur to blur-sm when used with Next.js <Image placeholder="blur" /> (#​16405)

v4.0.5

Compare Source

Added
  • Add @theme static option for always including theme variables in compiled CSS (#​16211)
Fixed
  • Remove rogue console.log from @tailwindcss/vite (#​16307)
Changed
  • Don't include theme variables that aren't used in compiled CSS (#​16211)

v4.0.4

Compare Source

Fixed
  • Fix a crash when setting JS theme values to null (#​16210)
  • Ensure escaped underscores in CSS variables in arbitrary values are properly unescaped (#​16206)
  • Ensure that the containers JS theme key is added to the --container-* namespace (#​16169)
  • Ensure theme @keyframes are generated even if an --animation-* variable spans multiple lines (#​16237)
  • Vite: Skip parsing stylesheets with the ?commonjs-proxy flag (#​16238)
  • Fix order-first and order-last for Firefox (#​16266)
  • Fix support for older instruction sets on Linux x64 builds of the standalone CLI (#​16244)
  • Ensure NODE_PATH is respected when resolving JavaScript and CSS files (#​16274)
  • Ensure Node addons are packaged correctly with FreeBSD builds (#​16277)
  • Fix an issue where @variant inside a referenced stylesheet could cause a stack overflow (#​16300)

v4.0.3

Compare Source

Fixed
  • Fix incorrect removal of @import url(); (#​16144)

v4.0.2

Compare Source

Fixed
  • Only generate positive grid-cols-* and grid-rows-* utilities (#​16020)
  • Ensure escaped theme variables are handled correctly (#​16064)
  • Ensure we process Tailwind CSS features when only using @reference or @variant (#​16057)
  • Refactor gradient implementation to work around prettier/prettier#17058 (#​16072)
  • Vite: Ensure hot-reloading works with SolidStart setups (#​16052)
  • Vite: Fix a crash when starting the development server in SolidStart setups (#​16052)
  • Vite: Don't rebase URLs that appear to be aliases (#​16078)
  • Vite: Transform <style> blocks in HTML files (#​16069)
  • Prevent camel-casing CSS custom properties added by JavaScript plugins (#​16103)
  • Do not emit @keyframes in @theme reference (#​16120)
  • Discard invalid declarations when parsing CSS (#​16093)
  • Do not emit empty CSS rules and at-rules (#​16121)
  • Handle @variant when at the top-level of a stylesheet (#​16129)

v4.0.1

Compare Source

Fixed
  • Fix an issue causing the CLI to hang when processing Ruby files (#​17383)

v4.0.0

Compare Source

Added

Start using Tailwind CSS v4.0 today by installing it in a new project, or playing with it directly in the browser on Tailwind Play.

For existing projects, we've published a comprehensive upgrade guide and built an automated upgrade tool to get you on the latest version as quickly and painlessly as possible.

For a deep-dive into everything that's new, check out the announcement post.

v3.4.17

Compare Source

Fixed

v3.4.16

Compare Source

Fixed
  • Ensure the TypeScript types for PluginsConfig allow undefined values (#​14668)

v3.4.15

Compare Source

  • Bump versions for security vulnerabilities (#​14697)
  • Ensure the TypeScript types for the boxShadow theme configuration allows arrays (#​14856)
  • Set fallback for opacity variables to ensure setting colors with the selection:* variant works in Chrome 131 (#​15003)

v3.4.14

Compare Source

Fixed
  • Don't set display: none on elements that use hidden="until-found" (#​14625)

v3.4.13

Compare Source

Fixed
  • Improve source glob verification performance (#​14481)

v3.4.12

Compare Source

Fixed
  • Ensure using @apply with utilities that use @defaults works with rules defined in the base layer when using optimizeUniversalDefaults (#​14427)

v3.4.11

Compare Source

Fixed
  • Allow anchor-size(…) in arbitrary values (#​14393)

v3.4.10

Compare Source

Fixed
  • Bump versions of plugins in the Standalone CLI (#​14185)

v3.4.9

Compare Source

Fixed
  • No longer warns when broad glob patterns are detecting vendor folders

v3.4.8

Compare Source

Fixed
  • Fix minification when using nested CSS (#​14105)
  • Warn when broad glob patterns are used in the content configuration (#​14140)

v3.4.7

Compare Source

Fixed
  • Fix class detection in Slim templates with attached attributes and ID (#​14019)
  • Ensure attribute values in data-* and aria-* modifiers are always quoted in the generated CSS (#​14037)

v3.4.6

Compare Source

Fixed
  • Fix detection of some utilities in Slim/Pug templates (#​14006)
Changed
  • Loosen :is() wrapping rules when using an important selector (#​13900)

v3.4.5

Compare Source

Fixed
  • Disable automatic var() injection for anchor properties (#​13826)
  • Use no value instead of blur(0px) for backdrop-blur-none and blur-none utilities (#​13830)
  • Add .mts and .cts config file detection (#​13940)
  • Don't generate utilities like px-1 unnecessarily when using utilities like px-1.5 (#​13959)
  • Always generate -webkit-backdrop-filter for backdrop-* utilities (#​13997)

v3.4.4

Compare Source

Fixed
  • Make it possible to use multiple <alpha-value> placeholders in a single color definition (#​13740)
  • Don't prefix classes in arbitrary values of has-*, group-has-*, and peer-has-* variants (#​13770)
  • Support negative values for {col,row}-{start,end} utilities (#​13781)
  • Update embedded browserslist database (#​13792)

v3.4.3

Compare Source

Fixed
  • Revert changes to glob handling (#​13384)

v3.4.2

Compare Source

Fixed
  • Ensure max specificity of 0,0,1 for button and input Preflight rules (#​12735)
  • Improve glob handling for folders with (, ), [ or ] in the file path (#​12715)
  • Split :has rules when using experimental.optimizeUniversalDefaults (#​12736)
  • Sort arbitrary properties alphabetically across multiple class lists (#​12911)
  • Add mix-blend-plus-darker utility (#​12923)
  • Ensure dashes are allowed in variant modifiers (#​13303)
  • Fix crash showing completions in Intellisense when using a custom separator (#​13306)
  • Transpile import.meta.url in config files (#​13322)
  • Reset letter spacing for form elements (#​13150)
  • Fix missing xx-large and remove double x-large absolute size (#​13324)
  • Don't error when encountering nested CSS unless trying to @apply a class that uses nesting (#​13325)
  • Ensure that arbitrary properties respect important configuration (#​13353)
  • Change dark mode selector so @apply works correctly with pseudo elements (#​13379)

v3.4.1

Compare Source

Fixed

v3.4.0

Compare Source

Added
  • Add svh, lvh, and dvh values to default height/min-height/max-height theme (#​11317)
  • Add has-* variants for :has(...) pseudo-class (#​11318)
  • Add text-wrap utilities including text-balance and text-pretty (#​11320, #​12031)
  • Extend default opacity scale to include all steps of 5 (#​11832)
  • Update Preflight html styles to include shadow DOM :host pseudo-class (#​11200)
  • Increase default values for grid-rows-* utilities from 1–6 to 1–12 (#​12180)
  • Add size-* utilities (#​12287)
  • Add utilities for CSS subgrid (#​12298)
  • Add spacing scale to min-w-*, min-h-*, and max-w-* utilities (#​12300)
  • Add forced-color-adjust utilities (#​11931)
  • Add forced-colors variant (#​11694, #​12582)
  • Add appearance-auto utility (#​12404)
  • Add logical property values for float and clear utilities (#​12480)
  • Add * variant for targeting direct children (#​12551)
Changed
  • Simplify the sans font-family stack (#​11748)
  • Disable the tap highlight overlay on iOS (#​12299)
  • Improve relative precedence of rtl, ltr, forced-colors, and dark variants (#​12584)

v3.3.7

Compare Source

Fixed
  • Fix support for container query utilities with arbitrary values (#​12534)
  • Fix custom config loading in Standalone CLI (#​12616)

v3.3.6

Compare Source

Fixed
  • Don’t add spaces to negative numbers following a comma (#​12324)
  • Don't emit @config in CSS when watching via the CLI (#​12327)
  • Improve types for resolveConfig (#​12272)
  • Ensure configured font-feature-settings for mono are 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 @layer rule (#​12508)
  • Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI (#​12506)

v3.3.5

Compare Source

Fixed
  • Fix incorrect spaces around - in calc() expression (#​12283)

v3.3.4

Compare Source

Fixed
  • Improve normalisation of calc()-like functions (#​11686)
  • Skip calc() normalisation in nested theme() calls (#​11705)
  • Fix incorrectly generated CSS when using square brackets inside arbitrary properties (#​11709)
  • Make content optional for presets in TypeScript types (#​11730)
  • Handle variable colors that have variable fallback values (#​12049)
  • Batch reading content files to prevent too many open files error (#​12079)
  • Skip over classes inside :not(…) when nested in an at-rule (#​12105)
  • Update types to work with Node16 module 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, and browserlist dependencies (#​11550)
  • Improve automatic var injection for properties that accept a <dashed-ident> (#​12236)

v3.3.3

Compare Source

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() inside calc() when there are no spaces around operators (#​11157)
  • Ensure repeating-conic-gradient is detected as an image (#​11180)
  • Move unknown pseudo-elements outside of :is by default (#​11345)
  • Escape animation names when prefixes contain special characters (#​11470)
  • Don't prefix arbitrary classes in group and peer variants (#​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
Changed
  • Reset padding for <dialog> elements in preflight (#​11069)

v3.3.2

Compare Source

Fixed
  • Don’t move unknown pseudo-elements to the end of selectors (#​10943, #​10962)
  • Inherit gradient stop positions when using variants (#​11002)
  • Honor default to position of gradient when using implicit transparent colors (#​11002)
  • Ensure @tailwindcss/oxide doesn'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

v3.3.1

Compare Source

Fixed
  • Fix edge case bug when loading a TypeScript config file with webpack (#​10898)
  • Fix variant, @apply, and important selectors when using :is() or :has() with pseudo-elements (#​10903)
  • Fix safelist config types (#​10901)
  • Fix build errors caused by @tailwindcss/line-clamp warning (#​10915, #​10919)
  • Fix "process is not defined" error (#​10919)

v3.3.0

Compare Source

Added
  • Support ESM and TypeScript config files (#​10785)
  • Extend default color palette with new 950 shades (#​10879)
  • Add line-height modifier support to font-size utilities (#​9875)
  • Add support for using variables as arbitrary values without var(...) (#​9880, #​9962)
  • Add logical properties support for inline direction (#​10166)
  • Add hyphens utilities (#​10071)
  • Add from-{position}, via-{position} and to-{position} utilities (#​10886)
  • Add list-style-image utilities (#​10817)
  • Add caption-side utilities (#​10470)
  • Add line-clamp utilities from @tailwindcss/line-clamp to core (#​10768, #​10876, #​10862)
  • Add delay-0 and duration-0 utilities (#​10294)
  • Add justify-normal and justify-stretch utilities (#​10560)
  • Add content-normal and content-stretch utilities (#​10645)
  • Add whitespace-break-spaces utility (#​10729)
  • Add support for configuring default font-variation-settings for a font-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 empty Set (#​10877)
  • Fix format assumption when resolving module dependencies (#​10878)
Changed
  • Mark rtl and ltr variants as stable and remove warnings (#​10764)
  • Use inset instead of top, right, bottom, and left properties (#​10765)
  • Make dark and rtl/ltr variants insensitive to DOM order (#​10766)
  • Use :is to make important selector option insensitive to DOM order (#​10835)

v3.2.7

Compare Source

Fixed
  • Fix use of :where(.btn) when matching !btn (#​10601)
  • Revert including outline-color in transition and transition-colors by default (#​10604)

v3.2.6

Compare Source

Fixed
  • Fix installation failing with yarn and pnpm by dropping oxide-api-shim (add1636)

v3.2.5

Compare Source

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, unwrap ResolvableTo (#​9972)
  • Clip unbalanced brackets in arbitrary values (#​9973)
  • Don’t reorder webkit scrollbar pseudo elements (#​9991)
  • Deterministic sorting of arbitrary variants (#​10016)
  • Add data key 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 the theme.dropShadow types (#​10072)
  • Update list of length units (#​10100)
  • Fix not matching arbitrary properties when closely followed by square brackets (#​10212)
  • Allow direct nesting in root or @layer nodes (#​10229)
  • Don't prefix classes in arbitrary variants (#​10214)
  • Fix perf regression when checking for changed content (#​10234)
  • Fix missing blocklist member in the Config type (#​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 layer inside variants layer (#​10505)
  • Add --watch=always option to prevent exit when stdin closes (#​9966)
Changed
  • Alphabetize theme keys in default config (#​9953)
  • Update esbuild to v17 (#​10368)
  • Include outline-color in transition and transition-colors utilities (#​10385)

v3.2.4

Compare Source

Added
  • Add blocklist option to prevent generating unwanted CSS (#​9812)
Fixed
  • Fix watching of files on Linux when renames are involved (#​9796)
  • Make sure errors are always displayed when watching for changes (#​9810)

v3.2.3

Compare Source

Fixed
  • Fixed use of raw content in the CLI (#​9773)
  • Pick up changes from files that are both context and content deps (#​9787)
  • Sort pseudo-elements ONLY after classes when using variants and @apply (#​9765)
  • Support important utilities in the safelist (pattern must include a !) (#​9791)

v3.2.2

Compare Source

Fixed
  • Escape special characters in resolved content base paths (#​9650)
  • Don't reuse container for array returning variant functions (#​9644)
  • Exclude non-relevant selectors when generating rules with the important modifier (#​9677)
  • Fix merging of arrays during config resolution (#​9706)
  • Ensure configured font-feature-settings are included in Preflight (#​9707)
  • Fix fractional values not being parsed properly inside arbitrary properties (#​9705)
  • Fix incorrect selectors when using @apply in selectors with combinators and pseudos (#​9722)
  • Fix cannot read properties of undefined (reading 'modifier') (#​9656, aa979d6)

v3.2.1

Compare Source

Fixed
  • Fix missing supports in types (#​9616)
  • Fix missing PostCSS dependencies in the CLI (#​9617)
  • Ensure micromatch is a proper CLI dependency (#​9620)
  • Ensure modifier values exist when using a modifiers object for matchVariant (ba6551d)

v3.2.0

Compare Source

Added
  • Add new @config directive (#​9405)
  • Add new relative: true option to resolve content paths relative to the config file (#​9396)
  • Add new supports-* variant (#​9453)
  • Add new min-* and max-* variants (#​9558)
  • Add new aria-* variants (#​9557, #​9588)
  • Add new data-* variants (#​9559, #​9588)
  • Add new break-keep utility for word-break: keep-all (#​9393)
  • Add new collapse utility for visibility: collapse (#​9181)
  • Add new fill-none utility for fill: none (#​9403)
  • Add new stroke-none utility for stroke: none (#​9403)
  • Add new place-content-baseline utility for place-content: baseline (#​9498)
  • Add new place-items-baseline utility for place-items: baseline (#​9507)
  • Add new content-baseline utility for align-content: baseline (#​9507)
  • Add support for configuring default font-feature-settings for a font family (#​9039)
  • Add standalone CLI build for 32-bit Linux on ARM (node16-linux-armv7) (#​9084)
  • Add future flag to disable color opacity utility plugins (#​9088)
  • Add negative value support for outline-offset (#​9136)
  • Add support for modifiers to matchUtilities (#​9541)
  • Allow negating utilities using min/max/clamp (#​9237)
  • Implement fallback plugins when there is ambiguity between plugins when using arbitrary values (#​9376)
  • Support sort function in matchVariant (#​9423)
  • Upgrade to postcss-nested v6.0 (#​9546)
Fixed
  • Use absolute paths when resolving changed files for resilience against working directory changes (#​9032)
  • Fix ring color utility generation when using respectDefaultRingColorOpacity (#​9070)
  • Sort tags before classes when @apply-ing a selector with joined classes (#​9107)
  • Remove invalid outline-hidden utility (#​9147)
  • Honor the hidden attribute on elements in preflight (#​9174)
  • Don't stop watching atomically renamed files (#​9173, #​9215)
  • Fix duplicate utilities issue causing memory leaks (#​9208)
  • Fix fontFamily config TypeScript types (#​9214)
  • Handle variants on complex selector utilities (#​9262)
  • Fix shared config mutation issue (#​9294)
  • Fix ordering of parallel variants (#​9282)
  • Handle variants in utility selectors using :where() and :has() (#​9309)
  • Improve data type analysis for arbitrary values (#​9320)
  • Don't emit generated utilities with invalid uses of theme functions (#​9319)
  • Revert change that only listened for stdin close on TTYs (#​9331)
  • Ignore unset values (like null or undefined) when resolving the classList for intellisense (#​9385)
  • Improve type checking for formal syntax (#​9349, #​9448)
  • Fix incorrect required content key in custom plugin configs (#​9502, #​9545)
  • Fix content path detection on Windows (#​9569)
  • Ensure --content is used in the CLI when passed (#​9587)

v3.1.8

Compare Source

Fixed
  • Don’t prefix classes within reused arbitrary variants (#​8992)
  • Fix usage of alpha values inside single-named colors that are functions (#​9008)
  • Fix @apply of user utilities when negative and non-negative versions both exist (#​9027)

v3.1.7

Compare Source

Fixed
  • Don't rewrite source maps for @layer rules (#​8971)
Added
  • Added types for resolveConfig (#​8924)

v3.1.6

Compare Source

Fixed
  • Fix usage on Node 12.x (b4e637e)
  • Handle theme keys with slashes when using theme() in CSS (#​8831)

v3.1.5

Compare Source

Added
  • Support configuring a default font-weight for each font size utility (#​8763)
  • Add support for alpha values in safe list (#​8774)
Fixed
  • Improve types to support fallback values in the CSS-in-JS syntax used in plugin APIs (#​8762)
  • Support including tailwindcss and autoprefixer in postcss.config.js in standalone CLI (#​8769)
  • Fix using special-characters as prefixes (#​8772)
  • Don’t prefix classes used within arbitrary variants (#​8773)
  • Add more explicit types for the default theme (#​8780)

v3.1.4

Compare Source

Fixed
  • Provide default to <alpha-value> when using theme() (#​8652)
  • Detect arbitrary variants with quotes (#​8687)
  • Don’t add spaces around raw / that are preceded by numbers (#​8688)

v3.1.3

Compare Source

Fixed
  • Fix extraction of multi-word utilities with arbitrary values and quotes (#​8604)
  • Fix casing of import of corePluginList type definition (#​8587)
  • Ignore PostCSS nodes returned by addVariant (#​8608)
  • Fix missing spaces around arithmetic operators (#​8615)
  • Detect alpha value in CSS theme() function when using quotes (#​8625)
  • Fix "Maximum call stack size exceeded" bug (#​8636)
  • Allow functions returning parallel variants to mutate the container (#​8622)
  • Remove text opacity CSS variables from ::marker (#​8622)

v3.1.2

Compare Source

Fixed
  • Ensure \ is a valid arbitrary variant token (#​8576)
  • Enable postcss-import in the CLI by default in watch mode (#​8574, #​8580)

v3.1.1

Compare Source

Fixed
  • Fix candidate extractor regression (#​8558)
  • Split ::backdrop into separate defaults group (#​8567)
  • Fix postcss plugin type (#​8564)
  • Fix class detection in markdown code fences and slim templates (#​8569)

v3.1.0

Compare Source

Fixed
  • Types: allow for arbitrary theme values (for 3rd party plugins) (#​7926)
  • Don’t split vars with numbers in them inside arbitrary values (#​8091)
  • Require matching prefix when detecting negatives (#​8121)
  • Handle duplicate At Rules without children (#​8122)
  • Allow arbitrary values with commas in @apply (#​8125)
  • Fix intellisense for plugins with multiple @apply rules (#​8213)
  • Improve type detection for arbitrary color values (#​8201)
  • Support PostCSS config options in config file in CLI (#​8226)
  • Remove default [hidden] style in preflight (#​8248)
  • Only check selectors containing base apply candidates for circular dependencies (#​8222)
  • Rewrite default class extractor (#​8204)
  • Move important selector to the front when @apply-ing selector-modifying variants in custom utilities (#​8313)
  • Error when registering an invalid custom variant (#​8345)
  • Create tailwind.config.cjs file in ESM package when running init (#​8363)
  • Fix matchVariant that use at-rules and placeholders (#​8392)
  • Improve types of the tailwindcss/plugin (#​8400)
  • Allow returning parallel variants from addVariant or matchVariant callback functions (#​8455)
  • Try using local postcss installation first in the CLI (#​8270)
  • Allow default ring color to be a function (#​7587)
  • Don't inherit to value from parent gradients (#​8489)
  • Remove process dependency from log functions (#​8530)
  • Ensure we can use @import 'tailwindcss/...' without node_modules (#​8537)
Changed
  • Only apply hover styles when supported (future) (#​8394)
  • Respect default ring color opacity (future) (#​8448, 3f4005e)
Added
  • Support PostCSS Document nodes (#​7291)
  • Add text-start and text-end utilities (#​6656)
  • Support customizing class name when using darkMode: 'class' (#​5800)
  • Add --poll option to the CLI (#​7725)
  • Add new border-spacing utilities (#​7102)
  • Add enabled variant (#​7905)
  • Add TypeScript types for the tailwind.config.js file (#​7891)
  • Add backdrop variant (#​7924, #​8526)
  • Add grid-flow-dense utility (#​8193)
  • Add mix-blend-plus-lighter utility (#​8288)
  • Add arbitrary variants (#​8299)
  • Add experimental matchVariant API (#​8310, 34fd0fb8)
  • Add prefers-contrast media query variants (#​8410)
  • Add opacity support when referencing colors with theme function (#​8416)
  • Add postcss-import support to the CLI (#​8437)
  • Add optional variant (#​8486)
  • Add <alpha-value> placeholder support for custom colors (#​8501)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tailwindcss](https://tailwindcss.com) ([source](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss)) | devDependencies | major | [`^3.0.7` -> `^4.0.0`](https://renovatebot.com/diffs/npm/tailwindcss/3.0.24/4.1.11) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>tailwindlabs/tailwindcss (tailwindcss)</summary> ### [`v4.1.11`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4111---2025-06-26) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.10...v4.1.11) ##### Fixed - Add heuristic to skip candidate migrations inside `emit(…)` ([#&#8203;18330](https://github.com/tailwindlabs/tailwindcss/pull/18330)) - Extract candidates with variants in Clojure/ClojureScript keywords ([#&#8203;18338](https://github.com/tailwindlabs/tailwindcss/pull/18338)) - Document `--watch=always` in the CLI's usage ([#&#8203;18337](https://github.com/tailwindlabs/tailwindcss/pull/18337)) - Add support for Vite 7 to `@tailwindcss/vite` ([#&#8203;18384](https://github.com/tailwindlabs/tailwindcss/pull/18384)) ### [`v4.1.10`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4110---2025-06-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.9...v4.1.10) ##### Fixed - Fix incorrectly generated CSS when using percentages in arbitrary values with calc (e.g. `w-[calc(100%-var(--offset))]`) ([#&#8203;18289](https://github.com/tailwindlabs/tailwindcss/pull/18289)) ### [`v4.1.9`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#419---2025-06-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.8...v4.1.9) ##### Fixed - Correctly parse custom properties with strings containing semicolons ([#&#8203;18251](https://github.com/tailwindlabs/tailwindcss/pull/18251)) - Upgrade: Migrate arbitrary modifiers without percentage signs to bare values (e.g. `/[0.16]` → `/16`) ([#&#8203;18184](https://github.com/tailwindlabs/tailwindcss/pull/18184)) - Upgrade: Migrate CSS variable shorthands where fallback value contains function call ([#&#8203;18184](https://github.com/tailwindlabs/tailwindcss/pull/18184)) - Upgrade: Migrate negative arbitrary values to negative bare values (e.g. `mb-[-32rem]` → `-mb-128`) ([#&#8203;18212](https://github.com/tailwindlabs/tailwindcss/pull/18212)) - Upgrade: Do not migrate `blur` in `wire:model.blur` ([#&#8203;18216](https://github.com/tailwindlabs/tailwindcss/pull/18216)) - Don't add spaces around CSS dashed idents when formatting math expressions ([#&#8203;18220](https://github.com/tailwindlabs/tailwindcss/pull/18220)) ### [`v4.1.8`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#418---2025-05-27) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.7...v4.1.8) ##### Added - Improve error messages when `@apply` fails ([#&#8203;18059](https://github.com/tailwindlabs/tailwindcss/pull/18059)) ##### Fixed - Upgrade: Do not migrate declarations that look like candidates in `<style>` blocks ([#&#8203;18057](https://github.com/tailwindlabs/tailwindcss/pull/18057), [18068](https://github.com/tailwindlabs/tailwindcss/pull/18068)) - Upgrade: Don't error when looking for `tailwindcss` in pnpm monorepos ([#&#8203;18065](https://github.com/tailwindlabs/tailwindcss/pull/18065)) - Upgrade: Don't error when updating dependencies in pnpm monorepos ([#&#8203;18065](https://github.com/tailwindlabs/tailwindcss/pull/18065)) - Upgrade: Migrate deprecated `order-none` to `order-0` ([#&#8203;18126](https://github.com/tailwindlabs/tailwindcss/pull/18126)) - Support Leptos `class:` attributes when extracting classes ([#&#8203;18093](https://github.com/tailwindlabs/tailwindcss/pull/18093)) - Fix "Cannot read properties of undefined" crash on malformed arbitrary value ([#&#8203;18133](https://github.com/tailwindlabs/tailwindcss/pull/18133)) - Upgrade: Migrate `-mt-[0px]` to `mt-[0px]` instead of the other way around ([#&#8203;18154](https://github.com/tailwindlabs/tailwindcss/pull/18154)) - Fix Haml pre-processing crash when there is no `\n` at the end of the file ([#&#8203;18155](https://github.com/tailwindlabs/tailwindcss/pull/18155)) - Ignore `.pnpm-store` folders by default (can be overridden by `@source …` rules) ([#&#8203;18163](https://github.com/tailwindlabs/tailwindcss/pull/18163)) - Fix PostCSS crash when calling `toJSON()` ([#&#8203;18083](https://github.com/tailwindlabs/tailwindcss/pull/18083)) ### [`v4.1.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#417---2025-05-15) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.6...v4.1.7) ##### Added - Upgrade: Migrate bare values to named values ([#&#8203;18000](https://github.com/tailwindlabs/tailwindcss/pull/18000)) - Upgrade: Added cache to improve template migration performance ([#&#8203;18025](https://github.com/tailwindlabs/tailwindcss/pull/18025)) ##### Fixed - Allow `_` before numbers during candidate extraction ([#&#8203;17961](https://github.com/tailwindlabs/tailwindcss/pull/17961)) - Prevent duplicate suggestions when using `@theme` and `@utility` together ([#&#8203;17675](https://github.com/tailwindlabs/tailwindcss/pull/17675)) - Ensure that media queries within `::before` and `::after` pseudo selectors create valid CSS rules in production builds ([#&#8203;17979](https://github.com/tailwindlabs/tailwindcss/pull/17979)) - Ensure that the standalone CLI does not leave temporary files behind ([#&#8203;17981](https://github.com/tailwindlabs/tailwindcss/pull/17981)) - Ensure `-rotate-*` utilities properly negate arbitrary values ([#&#8203;18014](https://github.com/tailwindlabs/tailwindcss/pull/18014)) - Ignore custom variants using `:merge(…)` selectors in legacy JS plugins ([#&#8203;18020](https://github.com/tailwindlabs/tailwindcss/pull/18020)) - Ensure classes containing `.` are properly extracted from Clojure files ([#&#8203;18038](https://github.com/tailwindlabs/tailwindcss/pull/18038)) - Upgrade: Fix error when using `@import … source(…)` ([#&#8203;17963](https://github.com/tailwindlabs/tailwindcss/pull/17963)) - Upgrade: Change casing of utilities with named values to kebab-case to match updated theme variables ([#&#8203;18017](https://github.com/tailwindlabs/tailwindcss/pull/18017)) - Upgrade: Don't migrate strings that match utility names in Vue attribute bindings other than `class` ([#&#8203;18025](https://github.com/tailwindlabs/tailwindcss/pull/18025)) ### [`v4.1.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#416---2025-05-09) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.5...v4.1.6) ##### Added - Upgrade: Automatically convert arbitrary values to named values when possible (e.g. `h-[1lh]` to `h-lh`) ([#&#8203;17831](https://github.com/tailwindlabs/tailwindcss/pull/17831), [#&#8203;17854](https://github.com/tailwindlabs/tailwindcss/pull/17854)) - Upgrade: Update dependencies in parallel for improved performance ([#&#8203;17898](https://github.com/tailwindlabs/tailwindcss/pull/17898)) - Add detailed logging about `@source` directives, discovered files and scanned files when using `DEBUG=*` ([#&#8203;17906](https://github.com/tailwindlabs/tailwindcss/pull/17906), [#&#8203;17952](https://github.com/tailwindlabs/tailwindcss/pull/17952)) - Add support for generating source maps in development ([#&#8203;17775](https://github.com/tailwindlabs/tailwindcss/pull/17775)) ##### Fixed - Ensure negative arbitrary `scale` values generate negative values ([#&#8203;17831](https://github.com/tailwindlabs/tailwindcss/pull/17831)) - Fix HAML extraction with embedded Ruby ([#&#8203;17846](https://github.com/tailwindlabs/tailwindcss/pull/17846)) - Don't scan files for utilities when using `@reference` ([#&#8203;17836](https://github.com/tailwindlabs/tailwindcss/pull/17836)) - Fix incorrectly replacing `_` with ` ` in arbitrary modifier shorthand `bg-red-500/(--my_opacity)` ([#&#8203;17889](https://github.com/tailwindlabs/tailwindcss/pull/17889)) - Don't scan `.log` files for classes by default ([#&#8203;17906](https://github.com/tailwindlabs/tailwindcss/pull/17906)) - Ensure that custom utilities applying other custom utilities don't swallow nested `@apply` rules ([#&#8203;17925](https://github.com/tailwindlabs/tailwindcss/pull/17925)) - Download platform specific package if `optionalDependencies` are skipped ([#&#8203;17929](https://github.com/tailwindlabs/tailwindcss/pull/17929)) ### [`v4.1.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#415---2025-04-30) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.4...v4.1.5) ##### Added - Support using `@tailwindcss/upgrade` to upgrade between versions of v4.\* ([#&#8203;17717](https://github.com/tailwindlabs/tailwindcss/pull/17717)) - Add `h-lh` / `min-h-lh` / `max-h-lh` utilities ([#&#8203;17790](https://github.com/tailwindlabs/tailwindcss/pull/17790)) - Transition `display`, `visibility`, `content-visibility`, `overlay`, and `pointer-events` when using `transition` to simplify `@starting-style` usage ([#&#8203;17812](https://github.com/tailwindlabs/tailwindcss/pull/17812)) ##### Fixed - Don't scan `.geojson` or `.db` files for classes by default ([#&#8203;17700](https://github.com/tailwindlabs/tailwindcss/pull/17700), [#&#8203;17711](https://github.com/tailwindlabs/tailwindcss/pull/17711)) - Hide default shadow suggestions when missing default shadow theme keys ([#&#8203;17743](https://github.com/tailwindlabs/tailwindcss/pull/17743)) - Replace `_` with `.` in theme suggestions for `@utility` if surrounded by digits ([#&#8203;17733](https://github.com/tailwindlabs/tailwindcss/pull/17733)) - Skip `color-mix(…)` when opacity is `100%` ([#&#8203;17815](https://github.com/tailwindlabs/tailwindcss/pull/17815)) - PostCSS: Ensure that errors in imported stylesheets are recoverable ([#&#8203;17754](https://github.com/tailwindlabs/tailwindcss/pull/17754)) - Upgrade: Bump all Tailwind CSS related dependencies during upgrade ([#&#8203;17763](https://github.com/tailwindlabs/tailwindcss/pull/17763)) - Upgrade: Don't add `-` to variants starting with `@` ([#&#8203;17814](https://github.com/tailwindlabs/tailwindcss/pull/17814)) - Upgrade: Don't format stylesheets that didn't change when upgrading ([#&#8203;17824](https://github.com/tailwindlabs/tailwindcss/pull/17824)) ##### Changed - Ignore `.hg`, `.svn`, `.venv`, `venv`, `.yarn`, `.next`, `.turbo`, `.parcel-cache`, `__pycache__`, and `.svelte-kit` folders by default (can be overridden by `@source …` rules) ([#&#8203;17892](https://github.com/tailwindlabs/tailwindcss/pull/17892)) - `@source` rules that point inside `.hg`, `.svn`, `.venv`, `venv`, `.yarn`, `.next`, `.turbo`, `.parcel-cache`, `__pycache__`, and `.svelte-kit` folders no longer consider your `.gitignore` rules ([#&#8203;17892](https://github.com/tailwindlabs/tailwindcss/pull/17892)) ### [`v4.1.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#414---2025-04-14) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.3...v4.1.4) ##### Added - Add experimental `@tailwindcss/oxide-wasm32-wasi` target for running Tailwind in browser environments like StackBlitz ([#&#8203;17558](https://github.com/tailwindlabs/tailwindcss/pull/17558)) ##### Fixed - Ensure `color-mix(…)` polyfills do not cause used CSS variables to be removed ([#&#8203;17555](https://github.com/tailwindlabs/tailwindcss/pull/17555)) - Ensure `color-mix(…)` polyfills create fallbacks for theme variables that reference other theme variables ([#&#8203;17562](https://github.com/tailwindlabs/tailwindcss/pull/17562)) - Fix brace expansion in declining ranges like `{10..0..5}` and `{0..10..-5}` ([#&#8203;17591](https://github.com/tailwindlabs/tailwindcss/pull/17591)) - Work around a Chrome rendering bug when using the `skew-*` utilities ([#&#8203;17627](https://github.com/tailwindlabs/tailwindcss/pull/17627)) - Ensure container query variant names can contain hyphens ([#&#8203;17628](https://github.com/tailwindlabs/tailwindcss/pull/17628)) - Ensure `shadow-inherit`, `inset-shadow-inherit`, `drop-shadow-inherit`, and `text-shadow-inherit` inherit the shadow color ([#&#8203;17647](https://github.com/tailwindlabs/tailwindcss/pull/17647)) - Ensure compatibility with array tuples used in `fontSize` JS theme keys ([#&#8203;17630](https://github.com/tailwindlabs/tailwindcss/pull/17630)) - Ensure folders with binary file extensions in their names are scanned for utilities ([#&#8203;17595](https://github.com/tailwindlabs/tailwindcss/pull/17595)) - Upgrade: Convert `fontSize` array tuple syntax to CSS theme variables ([#&#8203;17630](https://github.com/tailwindlabs/tailwindcss/pull/17630)) ### [`v4.1.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#413---2025-04-04) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.2...v4.1.3) ##### Fixed - Show warning when using unsupported bare value data type in `--value(…)` ([#&#8203;17464](https://github.com/tailwindlabs/tailwindcss/pull/17464)) - PostCSS: Ensure changes to the input CSS file don't generate stale output when using Turbopack ([#&#8203;17554](https://github.com/tailwindlabs/tailwindcss/pull/17554)) - Ensure classes are detected in Ruby's `%w` syntax in Slim templates ([#&#8203;17557](https://github.com/tailwindlabs/tailwindcss/pull/17557)) ### [`v4.1.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#412---2025-04-03) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.1...v4.1.2) ##### Fixed - Don't rely on the presence of `@layer base` to polyfill `@property` ([#&#8203;17506](https://github.com/tailwindlabs/tailwindcss/pull/17506)) - Support setting multiple inset shadows as arbitrary values ([#&#8203;17523](https://github.com/tailwindlabs/tailwindcss/pull/17523)) - Fix `drop-shadow-*` utilities that are defined with multiple shadows ([#&#8203;17515](https://github.com/tailwindlabs/tailwindcss/pull/17515)) - PostCSS: Fix race condition when two changes are queued concurrently ([#&#8203;17514](https://github.com/tailwindlabs/tailwindcss/pull/17514)) - PostCSS: Ensure files containing `@tailwind utilities` are processed ([#&#8203;17514](https://github.com/tailwindlabs/tailwindcss/pull/17514)) - Ensure the `color-mix(…)` polyfill creates fallbacks even when using colors that cannot be statically analyzed ([#&#8203;17513](https://github.com/tailwindlabs/tailwindcss/pull/17513)) - Fix slow incremental builds with `@tailwindcss/vite` and `@tailwindcss/postscss` (especially on Windows) ([#&#8203;17511](https://github.com/tailwindlabs/tailwindcss/pull/17511)) - Vite: Fix missing CSS file in Qwik setups ([#&#8203;17533](https://github.com/tailwindlabs/tailwindcss/pull/17533)) ### [`v4.1.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4111---2025-06-26) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.1.0...v4.1.1) ##### Fixed - Add heuristic to skip candidate migrations inside `emit(…)` ([#&#8203;18330](https://github.com/tailwindlabs/tailwindcss/pull/18330)) - Extract candidates with variants in Clojure/ClojureScript keywords ([#&#8203;18338](https://github.com/tailwindlabs/tailwindcss/pull/18338)) - Document `--watch=always` in the CLI's usage ([#&#8203;18337](https://github.com/tailwindlabs/tailwindcss/pull/18337)) - Add support for Vite 7 to `@tailwindcss/vite` ([#&#8203;18384](https://github.com/tailwindlabs/tailwindcss/pull/18384)) ### [`v4.1.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#410---2025-04-01) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.17...v4.1.0) ##### Added - Add `details-content` variant ([#&#8203;15319](https://github.com/tailwindlabs/tailwindcss/pull/15319)) - Add `inverted-colors` variant ([#&#8203;11693](https://github.com/tailwindlabs/tailwindcss/pull/11693)) - Add `noscript` variant ([#&#8203;11929](https://github.com/tailwindlabs/tailwindcss/pull/11929), [#&#8203;17431](https://github.com/tailwindlabs/tailwindcss/pull/17431)) - Add `items-baseline-last` and `self-baseline-last` utilities ([#&#8203;13888](https://github.com/tailwindlabs/tailwindcss/pull/13888), [#&#8203;17476](https://github.com/tailwindlabs/tailwindcss/pull/17476)) - Add `pointer-none`, `pointer-coarse`, and `pointer-fine` variants ([#&#8203;16946](https://github.com/tailwindlabs/tailwindcss/pull/16946)) - Add `any-pointer-none`, `any-pointer-coarse`, and `any-pointer-fine` variants ([#&#8203;16941](https://github.com/tailwindlabs/tailwindcss/pull/16941)) - Add safe alignment utilities ([#&#8203;14607](https://github.com/tailwindlabs/tailwindcss/pull/14607)) - Add `user-valid` and `user-invalid` variants ([#&#8203;12370](https://github.com/tailwindlabs/tailwindcss/pull/12370)) - Add `wrap-anywhere`, `wrap-break-word`, and `wrap-normal` utilities ([#&#8203;12128](https://github.com/tailwindlabs/tailwindcss/pull/12128)) - Add `@source inline(…)` and `@source not inline(…)` ([#&#8203;17147](https://github.com/tailwindlabs/tailwindcss/pull/17147)) - Add `@source not "…"` ([#&#8203;17255](https://github.com/tailwindlabs/tailwindcss/pull/17255)) - Add `text-shadow-*` utilities ([#&#8203;17389](https://github.com/tailwindlabs/tailwindcss/pull/17389)) - Add `mask-*` utilities ([#&#8203;17134](https://github.com/tailwindlabs/tailwindcss/pull/17134)) - Add `bg-{position,size}-*` utilities for arbitrary values ([#&#8203;17432](https://github.com/tailwindlabs/tailwindcss/pull/17432)) - Add `shadow-*/<alpha>`, `inset-shadow-*/<alpha>`, `drop-shadow-*/<alpha>`, and `text-shadow-*/<alpha>` utilities to control shadow opacity ([#&#8203;17398](https://github.com/tailwindlabs/tailwindcss/pull/17398), [#&#8203;17434](https://github.com/tailwindlabs/tailwindcss/pull/17434)) - Add `drop-shadow-<color>` utilities ([#&#8203;17434](https://github.com/tailwindlabs/tailwindcss/pull/17434)) - Improve compatibility with older versions of Safari and Firefox ([#&#8203;17435](https://github.com/tailwindlabs/tailwindcss/pull/17435)) ##### Fixed - Follow symlinks when resolving `@source` directives ([#&#8203;17391](https://github.com/tailwindlabs/tailwindcss/pull/17391)) - Don't scan ignored files for classes when changing an ignored file triggers a rebuild using `@tailwindcss/cli` ([#&#8203;17255](https://github.com/tailwindlabs/tailwindcss/pull/17255)) - Support negated `content` rules in legacy JavaScript configuration ([#&#8203;17255](https://github.com/tailwindlabs/tailwindcss/pull/17255)) - Interpret syntax like `@("@&#8203;")md:…` as `@md:…` in Razor files ([#&#8203;17427](https://github.com/tailwindlabs/tailwindcss/pull/17427)) - Disallow top-level braces, top-level semicolons, and unbalanced parentheses and brackets in arbitrary values ([#&#8203;17361](https://github.com/tailwindlabs/tailwindcss/pull/17361)) - Ensure the `--theme(…)` function still resolves to the CSS variables when using legacy JS plugins ([#&#8203;17458](https://github.com/tailwindlabs/tailwindcss/pull/17458)) - Detect used theme variables in CSS module files ([#&#8203;17433](https://github.com/tailwindlabs/tailwindcss/pull/17433), [#&#8203;17467](https://github.com/tailwindlabs/tailwindcss/pull/17467)) ##### Changed - Ignore `node_modules` by default (can be overridden by `@source …` rules) ([#&#8203;17255](https://github.com/tailwindlabs/tailwindcss/pull/17255)) - `@source` rules that include file extensions or point inside `node_modules/` folders no longer consider your `.gitignore` rules ([#&#8203;17255](https://github.com/tailwindlabs/tailwindcss/pull/17255)) - Deprecate `bg-{left,right}-{top,bottom}` in favor of `bg-{top,bottom}-{left,right}` utilities ([#&#8203;17378](https://github.com/tailwindlabs/tailwindcss/pull/17378)) - Deprecate `object-{left,right}-{top,bottom}` in favor of `object-{top,bottom}-{left,right}` utilities ([#&#8203;17437](https://github.com/tailwindlabs/tailwindcss/pull/17437)) ### [`v4.0.17`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4017---2025-03-26) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.16...v4.0.17) ##### Fixed - Fix an issue causing the CLI to hang when processing Ruby files ([#&#8203;17383](https://github.com/tailwindlabs/tailwindcss/pull/17383)) ### [`v4.0.16`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4016---2025-03-25) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.15...v4.0.16) ##### Added - Add support for literal values in `--value('…')` and `--modifier('…')` ([#&#8203;17304](https://github.com/tailwindlabs/tailwindcss/pull/17304)) ##### Fixed - Fix class extraction followed by `(` in Pug ([#&#8203;17320](https://github.com/tailwindlabs/tailwindcss/pull/17320)) - Ensure `@keyframes` for theme animations are emitted if they are referenced following a comma ([#&#8203;17352](https://github.com/tailwindlabs/tailwindcss/pull/17352)) - Vite: Ensure that updates to an imported CSS file are properly propagated after updating source files ([#&#8203;17347](https://github.com/tailwindlabs/tailwindcss/pull/17347)) - Pre process `Slim` templates embedded in Ruby files ([#&#8203;17336](https://github.com/tailwindlabs/tailwindcss/pull/17336)) - Error when input and output files resolve to the same file when using the CLI ([#&#8203;17311](https://github.com/tailwindlabs/tailwindcss/pull/17311)) - Add missing suggestions when `--spacing(--value(integer, number))` is used ([#&#8203;17308](https://github.com/tailwindlabs/tailwindcss/pull/17308)) - Add `::-webkit-details-marker` pseudo to `marker` variant ([#&#8203;17362](https://github.com/tailwindlabs/tailwindcss/pull/17362)) ### [`v4.0.15`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4015---2025-03-20) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.14...v4.0.15) ##### Fixed - Fix incorrect angle in `-bg-conic-*` utilities ([#&#8203;17174](https://github.com/tailwindlabs/tailwindcss/pull/17174)) - Fix `border-[12px_4px]` being interpreted as a `border-color` instead of a `border-width` ([#&#8203;17248](https://github.com/tailwindlabs/tailwindcss/pull/17248)) - Work around a crash in Safari 16.4 and 16.5 when using the default Preflight styles ([#&#8203;17306](https://github.com/tailwindlabs/tailwindcss/pull/17306)) - Pre-process `<template lang="…">` in Vue files ([#&#8203;17252](https://github.com/tailwindlabs/tailwindcss/pull/17252)) - Ensure that all CSS variables used by Preflight are prefixed ([#&#8203;17036](https://github.com/tailwindlabs/tailwindcss/pull/17036)) - Prevent segfault when loaded in a worker thread on Linux ([#&#8203;17276](https://github.com/tailwindlabs/tailwindcss/pull/17276)) - Ensure multiple `--value(…)` or `--modifier(…)` calls don't delete subsequent declarations ([#&#8203;17273](https://github.com/tailwindlabs/tailwindcss/pull/17273)) - Fix class extraction followed by `(` in Slim ([#&#8203;17278](https://github.com/tailwindlabs/tailwindcss/pull/17278)) - Export `PluginUtils` from `tailwindcss/plugin` for compatibility with v3 ([#&#8203;17299](https://github.com/tailwindlabs/tailwindcss/pull/17299)) - Remove redundant `line-height: initial` from Preflight ([#&#8203;15212](https://github.com/tailwindlabs/tailwindcss/pull/15212)) - Increase Standalone hardware compatibility on macOS x64 builds ([#&#8203;17267](https://github.com/tailwindlabs/tailwindcss/pull/17267)) - Ensure that the CSS file rebuilds if a new CSS variable is used from templates ([#&#8203;17301](https://github.com/tailwindlabs/tailwindcss/pull/17301)) ##### Changed - The `--theme(…)` function now returns CSS variables from your theme variables unless used inside positions where CSS variables are invalid (e.g. inside `@media` queries) ([#&#8203;17036](https://github.com/tailwindlabs/tailwindcss/pull/17036)) ### [`v4.0.14`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4014---2025-03-13) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.13...v4.0.14) ##### Fixed - Do not extract candidates with JS string interpolation `${` ([#&#8203;17142](https://github.com/tailwindlabs/tailwindcss/pull/17142)) - Fix extraction of variants containing `.` character ([#&#8203;17153](https://github.com/tailwindlabs/tailwindcss/pull/17153)) - Fix extracting candidates in Clojure/ClojureScript ([#&#8203;17087](https://github.com/tailwindlabs/tailwindcss/pull/17087)) ### [`v4.0.13`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4013---2025-03-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.12...v4.0.13) ##### Fixed - Fix Haml pre-processing ([#&#8203;17051](https://github.com/tailwindlabs/tailwindcss/pull/17051)) - Ensure `.node` and `.wasm` files are not scanned for utilities ([#&#8203;17123](https://github.com/tailwindlabs/tailwindcss/pull/17123)) - Improve performance when scanning JSON files ([#&#8203;17125](https://github.com/tailwindlabs/tailwindcss/pull/17125)) - Fix extracting candidates containing dots in Haml, Pug, and Slim pre processors ([#&#8203;17094](https://github.com/tailwindlabs/tailwindcss/pull/17094), [#&#8203;17085](https://github.com/tailwindlabs/tailwindcss/pull/17085), [#&#8203;17113](https://github.com/tailwindlabs/tailwindcss/pull/17113)) - Don't create invalid CSS when encountering a link wrapped in square brackets ([#&#8203;17129](https://github.com/tailwindlabs/tailwindcss/pull/17129)) ### [`v4.0.12`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4012---2025-03-07) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.11...v4.0.12) ##### Fixed - Vite: Fix `url(…)` rebasing in transitively imported CSS files ([#&#8203;16965](https://github.com/tailwindlabs/tailwindcss/pull/16965)) - PostCSS: Rebase `url(…)`s in imported CSS files ([#&#8203;16965](https://github.com/tailwindlabs/tailwindcss/pull/16965)) - Ensure utilities are sorted based on their actual property order ([#&#8203;16995](https://github.com/tailwindlabs/tailwindcss/pull/16995)) - Ensure strings in Pug and Slim templates are handled correctly ([#&#8203;17000](https://github.com/tailwindlabs/tailwindcss/pull/17000)) - Ensure classes between `}` and `{` are properly extracted ([#&#8203;17001](https://github.com/tailwindlabs/tailwindcss/pull/17001)) - Fix `razor`/`cshtml` pre-processing ([#&#8203;17027](https://github.com/tailwindlabs/tailwindcss/pull/17027)) - Ensure extracting candidates from JS embedded in a PHP string works as expected ([#&#8203;17031](https://github.com/tailwindlabs/tailwindcss/pull/17031)) ### [`v4.0.11`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4011---2025-03-06) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.10...v4.0.11) ##### Fixed - Ensure classes containing `--` are extracted correctly ([#&#8203;16972](https://github.com/tailwindlabs/tailwindcss/pull/16972)) - Ensure classes containing numbers followed by dash or underscore are extracted correctly ([#&#8203;16980](https://github.com/tailwindlabs/tailwindcss/pull/16980)) - Ensure arbitrary container queries are extracted correctly ([#&#8203;16984](https://github.com/tailwindlabs/tailwindcss/pull/16984)) - Ensure classes ending in `[` are extracted in Slim templating language ([#&#8203;16985](https://github.com/tailwindlabs/tailwindcss/pull/16985)) - Ensure arbitrary variables with data types are extracted correctly ([#&#8203;16986](https://github.com/tailwindlabs/tailwindcss/pull/16986)) ### [`v4.0.10`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4010---2025-03-05) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.9...v4.0.10) ##### Added - Add `col-<number>` and `row-<number>` utilities for `grid-column` and `grid-row` ([#&#8203;15183](https://github.com/tailwindlabs/tailwindcss/pull/15183)) ##### Fixed - Ensure `not-*` does not remove `:is(…)` from variants ([#&#8203;16825](https://github.com/tailwindlabs/tailwindcss/pull/16825)) - Ensure `@keyframes` are correctly emitted when using a prefix ([#&#8203;16850](https://github.com/tailwindlabs/tailwindcss/pull/16850)) - Don't swallow `@utility` declarations when `@apply` is used in nested rules ([#&#8203;16940](https://github.com/tailwindlabs/tailwindcss/pull/16940)) - Ensure `outline-hidden` behaves like `outline-none` outside of forced colors mode ([#&#8203;16943](https://github.com/tailwindlabs/tailwindcss/pull/16943)) - Allow `!important` on CSS variables again ([#&#8203;16873](https://github.com/tailwindlabs/tailwindcss/pull/16873)) - Vite: Do not crash when encountering an `.svg` file with `#` or `?` in the filename ([#&#8203;16957](https://github.com/tailwindlabs/tailwindcss/pull/16957)) - Ensure utilities are properly detected within square brackets ([#&#8203;16306](https://github.com/tailwindlabs/tailwindcss/pull/16306)) - Ensure utilities are properly detected using Angular's conditional class binding syntax ([#&#8203;16306](https://github.com/tailwindlabs/tailwindcss/pull/16306)) - Ensure utilities starting with numbers are properly extracted from Slim templates ([#&#8203;16306](https://github.com/tailwindlabs/tailwindcss/pull/16306)) - Discard arbitrary property candidates that have guaranteed-invalid property names ([#&#8203;16306](https://github.com/tailwindlabs/tailwindcss/pull/16306)) ##### Changed - Removed `max-w-auto` and `max-h-auto` utilities as they generate invalid CSS ([#&#8203;16917](https://github.com/tailwindlabs/tailwindcss/pull/16917)) - Replaced the existing candidate extractor with a brand new extractor to improve maintainability, correctness, and performance ([#&#8203;16306](https://github.com/tailwindlabs/tailwindcss/pull/16306)) ### [`v4.0.9`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#409---2025-02-25) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.8...v4.0.9) ##### Fixed - Make JS APIs available to plugins and configs in the Standalone CLI ([#&#8203;15934](https://github.com/tailwindlabs/tailwindcss/pull/15934)) - Vite: Don't crash when importing a virtual module from JavaScript that ends in `.css` ([#&#8203;16780](https://github.com/tailwindlabs/tailwindcss/pull/16780)) - Fix an issue where `@reference "…"` would sometimes omit keyframe animations ([#&#8203;16774](https://github.com/tailwindlabs/tailwindcss/pull/16774)) - Ensure `z-*!` utilities are properly marked as `!important` ([#&#8203;16795](https://github.com/tailwindlabs/tailwindcss/pull/16795)) - Read UTF-8 CSS files that start with a byte-order mark (BOM) ([#&#8203;16800](https://github.com/tailwindlabs/tailwindcss/pull/16800)) - Ensure nested functions in selectors used with JavaScript plugins are not truncated ([#&#8203;16802](https://github.com/tailwindlabs/tailwindcss/pull/16802)) ##### Changed - Emit variable fallbacks when using `@reference "…"` instead of duplicate CSS variable declarations ([#&#8203;16774](https://github.com/tailwindlabs/tailwindcss/pull/16774)) ### [`v4.0.8`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#408---2025-02-21) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.7...v4.0.8) ##### Added - Allow `@import` with `theme(…)` options for stylesheets that contain more than just `@theme` rules ([#&#8203;16514](https://github.com/tailwindlabs/tailwindcss/pull/16514)) ##### Fixed - Don't add `!important` to CSS variable declarations when using the important modifier ([#&#8203;16668](https://github.com/tailwindlabs/tailwindcss/pull/16668)) - Vite: Ignore files and directories specified in your `.gitignore` file when using automatic source detection([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631)) - Vite: Don't rely on the module graph for detecting candidates to ensure setups with multiple Vite builds work as expected ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631)) - Vite: Ensure Astro production builds always contain classes used in client-only components ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631)) - Vite: Always scan raw file contents for utility classes before any other transforms have been applied to ensure utility classes are scanned without any additional escaping ([#&#8203;16631](https://github.com/tailwindlabs/tailwindcss/pull/16631)) - Ensure utilities with more declarations are always sorted before utilities with fewer declarations when utilities only define CSS variables ([#&#8203;16715](https://github.com/tailwindlabs/tailwindcss/pull/16715)) - Only include `translate-z-px` utilities once in compiled CSS ([#&#8203;16718](https://github.com/tailwindlabs/tailwindcss/pull/16718)) ##### Changed - Don't include theme variables that aren't used in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211), [#&#8203;16676](https://github.com/tailwindlabs/tailwindcss/pull/16676)) ### [`v4.0.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#407---2025-02-18) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.6...v4.0.7) ##### Fixed - Export `tailwindcss/lib/util/flattenColorPalette.js` for backward compatibility ([#&#8203;16411](https://github.com/tailwindlabs/tailwindcss/pull/16411)) - Fix sorting of numeric utility suggestions when they have different magnitudes ([#&#8203;16414](https://github.com/tailwindlabs/tailwindcss/pull/16414)) - Show suggestions for fractions in IntelliSense ([#&#8203;16353](https://github.com/tailwindlabs/tailwindcss/pull/16353)) - Don’t replace `_` in suggested theme keys ([#&#8203;16433](https://github.com/tailwindlabs/tailwindcss/pull/16433)) - Ensure `--default-outline-width` can be used to change the `outline-width` value of the `outline` utility ([#&#8203;16469](https://github.com/tailwindlabs/tailwindcss/pull/16469)) - Ensure drop shadow utilities don't inherit unexpectedly ([#&#8203;16471](https://github.com/tailwindlabs/tailwindcss/pull/16471)) - Export config and plugin types from `tailwindcss/plugin` for backward compatibility ([#&#8203;16505](https://github.com/tailwindlabs/tailwindcss/pull/16505)) - Ensure JavaScript plugins that emit nested rules referencing the utility name work as expected ([#&#8203;16539](https://github.com/tailwindlabs/tailwindcss/pull/16539)) - Statically link Visual Studio redistributables in `@tailwindcss/oxide` Windows builds ([#&#8203;16602](https://github.com/tailwindlabs/tailwindcss/pull/16602)) - Ensure that Next.js splat routes are scanned for classes ([#&#8203;16457](https://github.com/tailwindlabs/tailwindcss/pull/16457)) - Pin exact version of `tailwindcss` in `@tailwindcss/*` packages ([#&#8203;16623](https://github.com/tailwindlabs/tailwindcss/pull/16623)) - Upgrade: Report errors when updating dependencies ([#&#8203;16504](https://github.com/tailwindlabs/tailwindcss/pull/16504)) - Upgrade: Ensure a `darkMode` JS config setting with block syntax converts to use `@slot` ([#&#8203;16507](https://github.com/tailwindlabs/tailwindcss/pull/16507)) - Upgrade: Ensure the latest version of `tailwindcss` and `@tailwindcss/postcss` are installed when upgrading ([#&#8203;16620](https://github.com/tailwindlabs/tailwindcss/pull/16620)) ### [`v4.0.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#406---2025-02-10) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.5...v4.0.6) ##### Fixed - Revert change to no longer include theme variables that aren't used in compiled CSS ([#&#8203;16403](https://github.com/tailwindlabs/tailwindcss/pull/16403)) - Upgrade: Don't migrate `blur` to `blur-sm` when used with Next.js `<Image placeholder="blur" />` ([#&#8203;16405](https://github.com/tailwindlabs/tailwindcss/pull/16405)) ### [`v4.0.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#405---2025-02-08) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.4...v4.0.5) ##### Added - Add `@theme static` option for always including theme variables in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211)) ##### Fixed - Remove rogue `console.log` from `@tailwindcss/vite` ([#&#8203;16307](https://github.com/tailwindlabs/tailwindcss/pull/16307)) ##### Changed - Don't include theme variables that aren't used in compiled CSS ([#&#8203;16211](https://github.com/tailwindlabs/tailwindcss/pull/16211)) ### [`v4.0.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#404---2025-02-06) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.3...v4.0.4) ##### Fixed - Fix a crash when setting JS theme values to `null` ([#&#8203;16210](https://github.com/tailwindlabs/tailwindcss/pull/16210)) - Ensure escaped underscores in CSS variables in arbitrary values are properly unescaped ([#&#8203;16206](https://github.com/tailwindlabs/tailwindcss/pull/16206)) - Ensure that the `containers` JS theme key is added to the `--container-*` namespace ([#&#8203;16169](https://github.com/tailwindlabs/tailwindcss/pull/16169)) - Ensure theme `@keyframes` are generated even if an `--animation-*` variable spans multiple lines ([#&#8203;16237](https://github.com/tailwindlabs/tailwindcss/pull/16237)) - Vite: Skip parsing stylesheets with the `?commonjs-proxy` flag ([#&#8203;16238](https://github.com/tailwindlabs/tailwindcss/pull/16238)) - Fix `order-first` and `order-last` for Firefox ([#&#8203;16266](https://github.com/tailwindlabs/tailwindcss/pull/16266)) - Fix support for older instruction sets on Linux x64 builds of the standalone CLI ([#&#8203;16244](https://github.com/tailwindlabs/tailwindcss/pull/16244)) - Ensure `NODE_PATH` is respected when resolving JavaScript and CSS files ([#&#8203;16274](https://github.com/tailwindlabs/tailwindcss/pull/16274)) - Ensure Node addons are packaged correctly with FreeBSD builds ([#&#8203;16277](https://github.com/tailwindlabs/tailwindcss/pull/16277)) - Fix an issue where `@variant` inside a referenced stylesheet could cause a stack overflow ([#&#8203;16300](https://github.com/tailwindlabs/tailwindcss/pull/16300)) ### [`v4.0.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#403---2025-02-01) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.2...v4.0.3) ##### Fixed - Fix incorrect removal of `@import url();` ([#&#8203;16144](https://github.com/tailwindlabs/tailwindcss/pull/16144)) ### [`v4.0.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#402---2025-01-31) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.1...v4.0.2) ##### Fixed - Only generate positive `grid-cols-*` and `grid-rows-*` utilities ([#&#8203;16020](https://github.com/tailwindlabs/tailwindcss/pull/16020)) - Ensure escaped theme variables are handled correctly ([#&#8203;16064](https://github.com/tailwindlabs/tailwindcss/pull/16064)) - Ensure we process Tailwind CSS features when only using `@reference` or `@variant` ([#&#8203;16057](https://github.com/tailwindlabs/tailwindcss/pull/16057)) - Refactor gradient implementation to work around [prettier/prettier#17058](https://github.com/prettier/prettier/issues/17058) ([#&#8203;16072](https://github.com/tailwindlabs/tailwindcss/pull/16072)) - Vite: Ensure hot-reloading works with SolidStart setups ([#&#8203;16052](https://github.com/tailwindlabs/tailwindcss/pull/16052)) - Vite: Fix a crash when starting the development server in SolidStart setups ([#&#8203;16052](https://github.com/tailwindlabs/tailwindcss/pull/16052)) - Vite: Don't rebase URLs that appear to be aliases ([#&#8203;16078](https://github.com/tailwindlabs/tailwindcss/pull/16078)) - Vite: Transform `<style>` blocks in HTML files ([#&#8203;16069](https://github.com/tailwindlabs/tailwindcss/pull/16069)) - Prevent camel-casing CSS custom properties added by JavaScript plugins ([#&#8203;16103](https://github.com/tailwindlabs/tailwindcss/pull/16103)) - Do not emit `@keyframes` in `@theme reference` ([#&#8203;16120](https://github.com/tailwindlabs/tailwindcss/pull/16120)) - Discard invalid declarations when parsing CSS ([#&#8203;16093](https://github.com/tailwindlabs/tailwindcss/pull/16093)) - Do not emit empty CSS rules and at-rules ([#&#8203;16121](https://github.com/tailwindlabs/tailwindcss/pull/16121)) - Handle `@variant` when at the top-level of a stylesheet ([#&#8203;16129](https://github.com/tailwindlabs/tailwindcss/pull/16129)) ### [`v4.0.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#4017---2025-03-26) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v4.0.0...v4.0.1) ##### Fixed - Fix an issue causing the CLI to hang when processing Ruby files ([#&#8203;17383](https://github.com/tailwindlabs/tailwindcss/pull/17383)) ### [`v4.0.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#400---2025-01-21) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.17...v4.0.0) ##### Added - [New high-performance engine](https://tailwindcss.com/blog/tailwindcss-v4#new-high-performance-engine) — where full builds are up to 5x faster, and incremental builds are over 100x faster — and measured in microseconds. - [Designed for the modern web](https://tailwindcss.com/blog/tailwindcss-v4#designed-for-the-modern-web) — built on cutting-edge CSS features like cascade layers, registered custom properties with `@property`, and `color-mix()`. - [Simplified installation](https://tailwindcss.com/blog/tailwindcss-v4#simplified-installation) — fewer dependencies, zero configuration, and just a single line of code in your CSS file. - [First-party Vite plugin](https://tailwindcss.com/blog/tailwindcss-v4#first-party-vite-plugin) — tight integration for maximum performance and minimum configuration. - [Automatic content detection](https://tailwindcss.com/blog/tailwindcss-v4#automatic-content-detection) — all of your template files are discovered automatically, with no configuration required. - [Built-in import support](https://tailwindcss.com/blog/tailwindcss-v4#built-in-import-support) — no additional tooling necessary to bundle multiple CSS files. - [CSS-first configuration](https://tailwindcss.com/blog/tailwindcss-v4#css-first-configuration) — a reimagined developer experience where you customize and extend the framework directly in CSS instead of a JavaScript configuration file. - [CSS theme variables](https://tailwindcss.com/blog/tailwindcss-v4#css-theme-variables) — all of your design tokens exposed as native CSS variables so you can access them anywhere. - [Dynamic utility values and variants](https://tailwindcss.com/blog/tailwindcss-v4#dynamic-utility-values-and-variants) — stop guessing what values exist in your spacing scale, or extending your configuration for things like basic data attributes. - [Modernized P3 color palette](https://tailwindcss.com/blog/tailwindcss-v4#modernized-p3-color-palette) — a redesigned, more vivid color palette that takes full advantage of modern display technology. - [Container queries](https://tailwindcss.com/blog/tailwindcss-v4#container-queries) — first-class APIs for styling elements based on their container size, no plugins required. - [New 3D transform utilities](https://tailwindcss.com/blog/tailwindcss-v4#new-3d-transform-utilities) — transform elements in 3D space directly in your HTML. - [Expanded gradient APIs](https://tailwindcss.com/blog/tailwindcss-v4#expanded-gradient-apis) — radial and conic gradients, interpolation modes, and more. - [@&#8203;starting-style support](https://tailwindcss.com/blog/tailwindcss-v4#starting-style-support) — a new variant you can use to create enter and exit transitions, without the need for JavaScript. - [not-\* variant](https://tailwindcss.com/blog/tailwindcss-v4#not-variant) — style an element only when it doesn't match another variant, custom selector, or media or feature query. - [Even more new utilities and variants](https://tailwindcss.com/blog/tailwindcss-v4#even-more-new-utilities-and-variants) — including support for `color-scheme`, `field-sizing`, complex shadows, `inert`, and more. Start using Tailwind CSS v4.0 today by [installing it in a new project](https://tailwindcss.com/docs/installation/), or playing with it directly in the browser on [Tailwind Play](https://play.tailwindcss.com/). For existing projects, we've published a comprehensive [upgrade guide](https://tailwindcss.com/docs/upgrade-guide) and built an [automated upgrade tool](https://tailwindcss.com/docs/upgrade-guide#using-the-upgrade-tool) to get you on the latest version as quickly and painlessly as possible. For a deep-dive into everything that's new, [check out the announcement post](https://tailwindcss.com/blog/tailwindcss-v4). ### [`v3.4.17`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3417---2024-12-17) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.16...v3.4.17) ##### Fixed - Work around Node v22.12+ issue ([#&#8203;15421](https://github.com/tailwindlabs/tailwindcss/pull/15421)) ### [`v3.4.16`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3416---2024-12-03) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.15...v3.4.16) ##### Fixed - Ensure the TypeScript types for `PluginsConfig` allow `undefined` values ([#&#8203;14668](https://github.com/tailwindlabs/tailwindcss/pull/14668)) ### [`v3.4.15`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3415---2024-11-14) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.14...v3.4.15) - Bump versions for security vulnerabilities ([#&#8203;14697](https://github.com/tailwindlabs/tailwindcss/pull/14697)) - Ensure the TypeScript types for the `boxShadow` theme configuration allows arrays ([#&#8203;14856](https://github.com/tailwindlabs/tailwindcss/pull/14856)) - Set fallback for opacity variables to ensure setting colors with the `selection:*` variant works in Chrome 131 ([#&#8203;15003](https://github.com/tailwindlabs/tailwindcss/pull/15003)) ### [`v3.4.14`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3414---2024-10-15) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.13...v3.4.14) ##### Fixed - Don't set `display: none` on elements that use `hidden="until-found"` ([#&#8203;14625](https://github.com/tailwindlabs/tailwindcss/pull/14625)) ### [`v3.4.13`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3413---2024-09-23) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.12...v3.4.13) ##### Fixed - Improve source glob verification performance ([#&#8203;14481](https://github.com/tailwindlabs/tailwindcss/pull/14481)) ### [`v3.4.12`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3412---2024-09-17) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.11...v3.4.12) ##### Fixed - Ensure using `@apply` with utilities that use `@defaults` works with rules defined in the base layer when using `optimizeUniversalDefaults` ([#&#8203;14427](https://github.com/tailwindlabs/tailwindcss/pull/14427)) ### [`v3.4.11`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3411---2024-09-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.10...v3.4.11) ##### Fixed - Allow `anchor-size(…)` in arbitrary values ([#&#8203;14393](https://github.com/tailwindlabs/tailwindcss/pull/14393)) ### [`v3.4.10`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3410---2024-08-13) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.9...v3.4.10) ##### Fixed - Bump versions of plugins in the Standalone CLI ([#&#8203;14185](https://github.com/tailwindlabs/tailwindcss/pull/14185)) ### [`v3.4.9`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#349---2024-08-08) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.8...v3.4.9) ##### Fixed - No longer warns when broad glob patterns are detecting `vendor` folders ### [`v3.4.8`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#348---2024-08-07) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.7...v3.4.8) ##### Fixed - Fix minification when using nested CSS ([#&#8203;14105](https://github.com/tailwindlabs/tailwindcss/pull/14105)) - Warn when broad glob patterns are used in the content configuration ([#&#8203;14140](https://github.com/tailwindlabs/tailwindcss/pull/14140)) ### [`v3.4.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#347---2024-07-25) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.6...v3.4.7) ##### Fixed - Fix class detection in Slim templates with attached attributes and ID ([#&#8203;14019](https://github.com/tailwindlabs/tailwindcss/pull/14019)) - Ensure attribute values in `data-*` and `aria-*` modifiers are always quoted in the generated CSS ([#&#8203;14037](https://github.com/tailwindlabs/tailwindcss/pull/14037)) ### [`v3.4.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#346---2024-07-16) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.5...v3.4.6) ##### Fixed - Fix detection of some utilities in Slim/Pug templates ([#&#8203;14006](https://github.com/tailwindlabs/tailwindcss/pull/14006)) ##### Changed - Loosen `:is()` wrapping rules when using an important selector ([#&#8203;13900](https://github.com/tailwindlabs/tailwindcss/pull/13900)) ### [`v3.4.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#345---2024-07-15) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.4...v3.4.5) ##### Fixed - Disable automatic `var()` injection for anchor properties ([#&#8203;13826](https://github.com/tailwindlabs/tailwindcss/pull/13826)) - Use no value instead of `blur(0px)` for `backdrop-blur-none` and `blur-none` utilities ([#&#8203;13830](https://github.com/tailwindlabs/tailwindcss/pull/13830)) - Add `.mts` and `.cts` config file detection ([#&#8203;13940](https://github.com/tailwindlabs/tailwindcss/pull/13940)) - Don't generate utilities like `px-1` unnecessarily when using utilities like `px-1.5` ([#&#8203;13959](https://github.com/tailwindlabs/tailwindcss/pull/13959)) - Always generate `-webkit-backdrop-filter` for `backdrop-*` utilities ([#&#8203;13997](https://github.com/tailwindlabs/tailwindcss/pull/13997)) ### [`v3.4.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#344---2024-06-05) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.3...v3.4.4) ##### Fixed - Make it possible to use multiple `<alpha-value>` placeholders in a single color definition ([#&#8203;13740](https://github.com/tailwindlabs/tailwindcss/pull/13740)) - Don't prefix classes in arbitrary values of `has-*`, `group-has-*`, and `peer-has-*` variants ([#&#8203;13770](https://github.com/tailwindlabs/tailwindcss/pull/13770)) - Support negative values for `{col,row}-{start,end}` utilities ([#&#8203;13781](https://github.com/tailwindlabs/tailwindcss/pull/13781)) - Update embedded browserslist database ([#&#8203;13792](https://github.com/tailwindlabs/tailwindcss/pull/13792)) ### [`v3.4.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#343---2024-03-27) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.2...v3.4.3) ##### Fixed - Revert changes to glob handling ([#&#8203;13384](https://github.com/tailwindlabs/tailwindcss/pull/13384)) ### [`v3.4.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#342---2024-03-27) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.2) ##### Fixed - Ensure max specificity of `0,0,1` for button and input Preflight rules ([#&#8203;12735](https://github.com/tailwindlabs/tailwindcss/pull/12735)) - Improve glob handling for folders with `(`, `)`, `[` or `]` in the file path ([#&#8203;12715](https://github.com/tailwindlabs/tailwindcss/pull/12715)) - Split `:has` rules when using `experimental.optimizeUniversalDefaults` ([#&#8203;12736](https://github.com/tailwindlabs/tailwindcss/pull/12736)) - Sort arbitrary properties alphabetically across multiple class lists ([#&#8203;12911](https://github.com/tailwindlabs/tailwindcss/pull/12911)) - Add `mix-blend-plus-darker` utility ([#&#8203;12923](https://github.com/tailwindlabs/tailwindcss/pull/12923)) - Ensure dashes are allowed in variant modifiers ([#&#8203;13303](https://github.com/tailwindlabs/tailwindcss/pull/13303)) - Fix crash showing completions in Intellisense when using a custom separator ([#&#8203;13306](https://github.com/tailwindlabs/tailwindcss/pull/13306)) - Transpile `import.meta.url` in config files ([#&#8203;13322](https://github.com/tailwindlabs/tailwindcss/pull/13322)) - Reset letter spacing for form elements ([#&#8203;13150](https://github.com/tailwindlabs/tailwindcss/pull/13150)) - Fix missing `xx-large` and remove double `x-large` absolute size ([#&#8203;13324](https://github.com/tailwindlabs/tailwindcss/pull/13324)) - Don't error when encountering nested CSS unless trying to `@apply` a class that uses nesting ([#&#8203;13325](https://github.com/tailwindlabs/tailwindcss/pull/13325)) - Ensure that arbitrary properties respect `important` configuration ([#&#8203;13353](https://github.com/tailwindlabs/tailwindcss/pull/13353)) - Change dark mode selector so `@apply` works correctly with pseudo elements ([#&#8203;13379](https://github.com/tailwindlabs/tailwindcss/pull/13379)) ### [`v3.4.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#3417---2024-12-17) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.0...v3.4.1) ##### Fixed - Work around Node v22.12+ issue ([#&#8203;15421](https://github.com/tailwindlabs/tailwindcss/pull/15421)) ### [`v3.4.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#340---2023-12-19) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.7...v3.4.0) ##### Added - Add `svh`, `lvh`, and `dvh` values to default `height`/`min-height`/`max-height` theme ([#&#8203;11317](https://github.com/tailwindlabs/tailwindcss/pull/11317)) - Add `has-*` variants for `:has(...)` pseudo-class ([#&#8203;11318](https://github.com/tailwindlabs/tailwindcss/pull/11318)) - Add `text-wrap` utilities including `text-balance` and `text-pretty` ([#&#8203;11320](https://github.com/tailwindlabs/tailwindcss/pull/11320), [#&#8203;12031](https://github.com/tailwindlabs/tailwindcss/pull/12031)) - Extend default `opacity` scale to include all steps of 5 ([#&#8203;11832](https://github.com/tailwindlabs/tailwindcss/pull/11832)) - Update Preflight `html` styles to include shadow DOM `:host` pseudo-class ([#&#8203;11200](https://github.com/tailwindlabs/tailwindcss/pull/11200)) - Increase default values for `grid-rows-*` utilities from 1–6 to 1–12 ([#&#8203;12180](https://github.com/tailwindlabs/tailwindcss/pull/12180)) - Add `size-*` utilities ([#&#8203;12287](https://github.com/tailwindlabs/tailwindcss/pull/12287)) - Add utilities for CSS subgrid ([#&#8203;12298](https://github.com/tailwindlabs/tailwindcss/pull/12298)) - Add spacing scale to `min-w-*`, `min-h-*`, and `max-w-*` utilities ([#&#8203;12300](https://github.com/tailwindlabs/tailwindcss/pull/12300)) - Add `forced-color-adjust` utilities ([#&#8203;11931](https://github.com/tailwindlabs/tailwindcss/pull/11931)) - Add `forced-colors` variant ([#&#8203;11694](https://github.com/tailwindlabs/tailwindcss/pull/11694), [#&#8203;12582](https://github.com/tailwindlabs/tailwindcss/pull/12582)) - Add `appearance-auto` utility ([#&#8203;12404](https://github.com/tailwindlabs/tailwindcss/pull/12404)) - Add logical property values for `float` and `clear` utilities ([#&#8203;12480](https://github.com/tailwindlabs/tailwindcss/pull/12480)) - Add `*` variant for targeting direct children ([#&#8203;12551](https://github.com/tailwindlabs/tailwindcss/pull/12551)) ##### Changed - Simplify the `sans` font-family stack ([#&#8203;11748](https://github.com/tailwindlabs/tailwindcss/pull/11748)) - Disable the tap highlight overlay on iOS ([#&#8203;12299](https://github.com/tailwindlabs/tailwindcss/pull/12299)) - Improve relative precedence of `rtl`, `ltr`, `forced-colors`, and `dark` variants ([#&#8203;12584](https://github.com/tailwindlabs/tailwindcss/pull/12584)) ### [`v3.3.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#337---2023-12-18) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.6...v3.3.7) ##### Fixed - Fix support for container query utilities with arbitrary values ([#&#8203;12534](https://github.com/tailwindlabs/tailwindcss/pull/12534)) - Fix custom config loading in Standalone CLI ([#&#8203;12616](https://github.com/tailwindlabs/tailwindcss/pull/12616)) ### [`v3.3.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#336---2023-12-04) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.5...v3.3.6) ##### Fixed - Don’t add spaces to negative numbers following a comma ([#&#8203;12324](https://github.com/tailwindlabs/tailwindcss/pull/12324)) - Don't emit `@config` in CSS when watching via the CLI ([#&#8203;12327](https://github.com/tailwindlabs/tailwindcss/pull/12327)) - Improve types for `resolveConfig` ([#&#8203;12272](https://github.com/tailwindlabs/tailwindcss/pull/12272)) - Ensure configured `font-feature-settings` for `mono` are included in Preflight ([#&#8203;12342](https://github.com/tailwindlabs/tailwindcss/pull/12342)) - Improve candidate detection in minified JS arrays (without spaces) ([#&#8203;12396](https://github.com/tailwindlabs/tailwindcss/pull/12396)) - Don't crash when given applying a variant to a negated version of a simple utility ([#&#8203;12514](https://github.com/tailwindlabs/tailwindcss/pull/12514)) - Fix support for slashes in arbitrary modifiers ([#&#8203;12515](https://github.com/tailwindlabs/tailwindcss/pull/12515)) - Fix source maps of variant utilities that come from an `@layer` rule ([#&#8203;12508](https://github.com/tailwindlabs/tailwindcss/pull/12508)) - Fix loading of built-in plugins when using an ESM or TypeScript config with the Standalone CLI ([#&#8203;12506](https://github.com/tailwindlabs/tailwindcss/pull/12506)) ### [`v3.3.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#335---2023-10-25) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.4...v3.3.5) ##### Fixed - Fix incorrect spaces around `-` in `calc()` expression ([#&#8203;12283](https://github.com/tailwindlabs/tailwindcss/pull/12283)) ### [`v3.3.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#334---2023-10-24) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.3...v3.3.4) ##### Fixed - Improve normalisation of `calc()`-like functions ([#&#8203;11686](https://github.com/tailwindlabs/tailwindcss/pull/11686)) - Skip `calc()` normalisation in nested `theme()` calls ([#&#8203;11705](https://github.com/tailwindlabs/tailwindcss/pull/11705)) - Fix incorrectly generated CSS when using square brackets inside arbitrary properties ([#&#8203;11709](https://github.com/tailwindlabs/tailwindcss/pull/11709)) - Make `content` optional for presets in TypeScript types ([#&#8203;11730](https://github.com/tailwindlabs/tailwindcss/pull/11730)) - Handle variable colors that have variable fallback values ([#&#8203;12049](https://github.com/tailwindlabs/tailwindcss/pull/12049)) - Batch reading content files to prevent `too many open files` error ([#&#8203;12079](https://github.com/tailwindlabs/tailwindcss/pull/12079)) - Skip over classes inside `:not(…)` when nested in an at-rule ([#&#8203;12105](https://github.com/tailwindlabs/tailwindcss/pull/12105)) - Update types to work with `Node16` module resolution ([#&#8203;12097](https://github.com/tailwindlabs/tailwindcss/pull/12097)) - Don’t crash when important and parent selectors are equal in `@apply` ([#&#8203;12112](https://github.com/tailwindlabs/tailwindcss/pull/12112)) - Eliminate irrelevant rules when applying variants ([#&#8203;12113](https://github.com/tailwindlabs/tailwindcss/pull/12113)) - Improve RegEx parser, reduce possibilities as the key for arbitrary properties ([#&#8203;12121](https://github.com/tailwindlabs/tailwindcss/pull/12121)) - Fix sorting of utilities that share multiple candidates ([#&#8203;12173](https://github.com/tailwindlabs/tailwindcss/pull/12173)) - Ensure variants with arbitrary values and a modifier are correctly matched in the RegEx based parser ([#&#8203;12179](https://github.com/tailwindlabs/tailwindcss/pull/12179)) - Fix crash when watching renamed files on FreeBSD ([#&#8203;12193](https://github.com/tailwindlabs/tailwindcss/pull/12193)) - Allow plugins from a parent document to be used in an iframe ([#&#8203;12208](https://github.com/tailwindlabs/tailwindcss/pull/12208)) - Add types for `tailwindcss/nesting` ([#&#8203;12269](https://github.com/tailwindlabs/tailwindcss/pull/12269)) - Bump `jiti`, `fast-glob`, and `browserlist` dependencies ([#&#8203;11550](https://github.com/tailwindlabs/tailwindcss/pull/11550)) - Improve automatic `var` injection for properties that accept a `<dashed-ident>` ([#&#8203;12236](https://github.com/tailwindlabs/tailwindcss/pull/12236)) ### [`v3.3.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#333---2023-07-13) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.2...v3.3.3) ##### Fixed - Fix issue where some pseudo-element variants generated the wrong selector ([#&#8203;10943](https://github.com/tailwindlabs/tailwindcss/pull/10943), [#&#8203;10962](https://github.com/tailwindlabs/tailwindcss/pull/10962), [#&#8203;11111](https://github.com/tailwindlabs/tailwindcss/pull/11111)) - Make font settings propagate into buttons, inputs, etc. ([#&#8203;10940](https://github.com/tailwindlabs/tailwindcss/pull/10940)) - Fix parsing of `theme()` inside `calc()` when there are no spaces around operators ([#&#8203;11157](https://github.com/tailwindlabs/tailwindcss/pull/11157)) - Ensure `repeating-conic-gradient` is detected as an image ([#&#8203;11180](https://github.com/tailwindlabs/tailwindcss/pull/11180)) - Move unknown pseudo-elements outside of `:is` by default ([#&#8203;11345](https://github.com/tailwindlabs/tailwindcss/pull/11345)) - Escape animation names when prefixes contain special characters ([#&#8203;11470](https://github.com/tailwindlabs/tailwindcss/pull/11470)) - Don't prefix arbitrary classes in `group` and `peer` variants ([#&#8203;11454](https://github.com/tailwindlabs/tailwindcss/pull/11454)) - Sort classes using position of first matching rule ([#&#8203;11504](https://github.com/tailwindlabs/tailwindcss/pull/11504)) - Allow variant to be an at-rule without a prelude ([#&#8203;11589](https://github.com/tailwindlabs/tailwindcss/pull/11589)) - Make PostCSS plugin async to improve performance ([#&#8203;11548](https://github.com/tailwindlabs/tailwindcss/pull/11548)) - Don’t error when a config file is missing ([f97759f](https://github.com/tailwindlabs/tailwindcss/commit/f97759f808d15ace66647b1405744fcf95a392e5)) ##### Added - Add `aria-busy` utility ([#&#8203;10966](https://github.com/tailwindlabs/tailwindcss/pull/10966)) ##### Changed - Reset padding for `<dialog>` elements in preflight ([#&#8203;11069](https://github.com/tailwindlabs/tailwindcss/pull/11069)) ### [`v3.3.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#332---2023-04-25) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.1...v3.3.2) ##### Fixed - Don’t move unknown pseudo-elements to the end of selectors ([#&#8203;10943](https://github.com/tailwindlabs/tailwindcss/pull/10943), [#&#8203;10962](https://github.com/tailwindlabs/tailwindcss/pull/10962)) - Inherit gradient stop positions when using variants ([#&#8203;11002](https://github.com/tailwindlabs/tailwindcss/pull/11002)) - Honor default `to` position of gradient when using implicit transparent colors ([#&#8203;11002](https://github.com/tailwindlabs/tailwindcss/pull/11002)) - Ensure `@tailwindcss/oxide` doesn't leak in the stable engine ([#&#8203;10988](https://github.com/tailwindlabs/tailwindcss/pull/10988)) - Ensure multiple `theme(spacing[5])` calls with bracket notation in arbitrary properties work ([#&#8203;11039](https://github.com/tailwindlabs/tailwindcss/pull/11039)) - Normalize arbitrary modifiers ([#&#8203;11057](https://github.com/tailwindlabs/tailwindcss/pull/11057)) ##### Changed - Drop support for Node.js v12 ([#&#8203;11089](https://github.com/tailwindlabs/tailwindcss/pull/11089)) ### [`v3.3.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#331---2023-03-30) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.3.0...v3.3.1) ##### Fixed - Fix edge case bug when loading a TypeScript config file with webpack ([#&#8203;10898](https://github.com/tailwindlabs/tailwindcss/pull/10898)) - Fix variant, `@apply`, and `important` selectors when using `:is()` or `:has()` with pseudo-elements ([#&#8203;10903](https://github.com/tailwindlabs/tailwindcss/pull/10903)) - Fix `safelist` config types ([#&#8203;10901](https://github.com/tailwindlabs/tailwindcss/pull/10901)) - Fix build errors caused by `@tailwindcss/line-clamp` warning ([#&#8203;10915](https://github.com/tailwindlabs/tailwindcss/pull/10915), [#&#8203;10919](https://github.com/tailwindlabs/tailwindcss/pull/10919)) - Fix "process is not defined" error ([#&#8203;10919](https://github.com/tailwindlabs/tailwindcss/pull/10919)) ### [`v3.3.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#330---2023-03-27) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.7...v3.3.0) ##### Added - Support ESM and TypeScript config files ([#&#8203;10785](https://github.com/tailwindlabs/tailwindcss/pull/10785)) - Extend default color palette with new 950 shades ([#&#8203;10879](https://github.com/tailwindlabs/tailwindcss/pull/10879)) - Add `line-height` modifier support to `font-size` utilities ([#&#8203;9875](https://github.com/tailwindlabs/tailwindcss/pull/9875)) - Add support for using variables as arbitrary values without `var(...)` ([#&#8203;9880](https://github.com/tailwindlabs/tailwindcss/pull/9880), [#&#8203;9962](https://github.com/tailwindlabs/tailwindcss/pull/9962)) - Add logical properties support for inline direction ([#&#8203;10166](https://github.com/tailwindlabs/tailwindcss/pull/10166)) - Add `hyphens` utilities ([#&#8203;10071](https://github.com/tailwindlabs/tailwindcss/pull/10071)) - Add `from-{position}`, `via-{position}` and `to-{position}` utilities ([#&#8203;10886](https://github.com/tailwindlabs/tailwindcss/pull/10886)) - Add `list-style-image` utilities ([#&#8203;10817](https://github.com/tailwindlabs/tailwindcss/pull/10817)) - Add `caption-side` utilities ([#&#8203;10470](https://github.com/tailwindlabs/tailwindcss/pull/10470)) - Add `line-clamp` utilities from `@tailwindcss/line-clamp` to core ([#&#8203;10768](https://github.com/tailwindlabs/tailwindcss/pull/10768), [#&#8203;10876](https://github.com/tailwindlabs/tailwindcss/pull/10876), [#&#8203;10862](https://github.com/tailwindlabs/tailwindcss/pull/10862)) - Add `delay-0` and `duration-0` utilities ([#&#8203;10294](https://github.com/tailwindlabs/tailwindcss/pull/10294)) - Add `justify-normal` and `justify-stretch` utilities ([#&#8203;10560](https://github.com/tailwindlabs/tailwindcss/pull/10560)) - Add `content-normal` and `content-stretch` utilities ([#&#8203;10645](https://github.com/tailwindlabs/tailwindcss/pull/10645)) - Add `whitespace-break-spaces` utility ([#&#8203;10729](https://github.com/tailwindlabs/tailwindcss/pull/10729)) - Add support for configuring default `font-variation-settings` for a `font-family` ([#&#8203;10034](https://github.com/tailwindlabs/tailwindcss/pull/10034), [#&#8203;10515](https://github.com/tailwindlabs/tailwindcss/pull/10515)) ##### Fixed - Disallow using multiple selectors in arbitrary variants ([#&#8203;10655](https://github.com/tailwindlabs/tailwindcss/pull/10655)) - Sort class lists deterministically for Prettier plugin ([#&#8203;10672](https://github.com/tailwindlabs/tailwindcss/pull/10672)) - Ensure CLI builds have a non-zero exit code on failure ([#&#8203;10703](https://github.com/tailwindlabs/tailwindcss/pull/10703)) - Ensure module dependencies for value `null`, is an empty `Set` ([#&#8203;10877](https://github.com/tailwindlabs/tailwindcss/pull/10877)) - Fix format assumption when resolving module dependencies ([#&#8203;10878](https://github.com/tailwindlabs/tailwindcss/pull/10878)) ##### Changed - Mark `rtl` and `ltr` variants as stable and remove warnings ([#&#8203;10764](https://github.com/tailwindlabs/tailwindcss/pull/10764)) - Use `inset` instead of `top`, `right`, `bottom`, and `left` properties ([#&#8203;10765](https://github.com/tailwindlabs/tailwindcss/pull/10765)) - Make `dark` and `rtl`/`ltr` variants insensitive to DOM order ([#&#8203;10766](https://github.com/tailwindlabs/tailwindcss/pull/10766)) - Use `:is` to make important selector option insensitive to DOM order ([#&#8203;10835](https://github.com/tailwindlabs/tailwindcss/pull/10835)) ### [`v3.2.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#327---2023-02-16) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.6...v3.2.7) ##### Fixed - Fix use of `:where(.btn)` when matching `!btn` ([#&#8203;10601](https://github.com/tailwindlabs/tailwindcss/pull/10601)) - Revert including `outline-color` in `transition` and `transition-colors` by default ([#&#8203;10604](https://github.com/tailwindlabs/tailwindcss/pull/10604)) ### [`v3.2.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#326---2023-02-08) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.5...v3.2.6) ##### Fixed - Fix installation failing with yarn and pnpm by dropping `oxide-api-shim` ([add1636](https://github.com/tailwindlabs/tailwindcss/commit/add16364b4b1100e1af23ad1ca6900a0b53cbba0)) ### [`v3.2.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#325---2023-02-08) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.4...v3.2.5) ##### Added - Add standalone CLI build for 64-bit Windows on ARM (`node16-win-arm64`) ([#&#8203;10001](https://github.com/tailwindlabs/tailwindcss/pull/10001)) ##### Fixed - Cleanup unused `variantOrder` ([#&#8203;9829](https://github.com/tailwindlabs/tailwindcss/pull/9829)) - Fix `foo-[abc]/[def]` not being handled correctly ([#&#8203;9866](https://github.com/tailwindlabs/tailwindcss/pull/9866)) - Add container queries plugin to standalone CLI ([#&#8203;9865](https://github.com/tailwindlabs/tailwindcss/pull/9865)) - Support renaming of output files by PostCSS plugins in CLI ([#&#8203;9944](https://github.com/tailwindlabs/tailwindcss/pull/9944)) - Improve return value of `resolveConfig`, unwrap `ResolvableTo` ([#&#8203;9972](https://github.com/tailwindlabs/tailwindcss/pull/9972)) - Clip unbalanced brackets in arbitrary values ([#&#8203;9973](https://github.com/tailwindlabs/tailwindcss/pull/9973)) - Don’t reorder webkit scrollbar pseudo elements ([#&#8203;9991](https://github.com/tailwindlabs/tailwindcss/pull/9991)) - Deterministic sorting of arbitrary variants ([#&#8203;10016](https://github.com/tailwindlabs/tailwindcss/pull/10016)) - Add `data` key to theme types ([#&#8203;10023](https://github.com/tailwindlabs/tailwindcss/pull/10023)) - Prevent invalid arbitrary variant selectors from failing the build ([#&#8203;10059](https://github.com/tailwindlabs/tailwindcss/pull/10059)) - Properly handle subtraction followed by a variable ([#&#8203;10074](https://github.com/tailwindlabs/tailwindcss/pull/10074)) - Fix missing `string[]` in the `theme.dropShadow` types ([#&#8203;10072](https://github.com/tailwindlabs/tailwindcss/pull/10072)) - Update list of length units ([#&#8203;10100](https://github.com/tailwindlabs/tailwindcss/pull/10100)) - Fix not matching arbitrary properties when closely followed by square brackets ([#&#8203;10212](https://github.com/tailwindlabs/tailwindcss/pull/10212)) - Allow direct nesting in `root` or `@layer` nodes ([#&#8203;10229](https://github.com/tailwindlabs/tailwindcss/pull/10229)) - Don't prefix classes in arbitrary variants ([#&#8203;10214](https://github.com/tailwindlabs/tailwindcss/pull/10214)) - Fix perf regression when checking for changed content ([#&#8203;10234](https://github.com/tailwindlabs/tailwindcss/pull/10234)) - Fix missing `blocklist` member in the `Config` type ([#&#8203;10239](https://github.com/tailwindlabs/tailwindcss/pull/10239)) - Escape group names in selectors ([#&#8203;10276](https://github.com/tailwindlabs/tailwindcss/pull/10276)) - Consider earlier variants before sorting functions ([#&#8203;10288](https://github.com/tailwindlabs/tailwindcss/pull/10288)) - Allow variants with slashes ([#&#8203;10336](https://github.com/tailwindlabs/tailwindcss/pull/10336)) - Ensure generated CSS is always sorted in the same order for a given set of templates ([#&#8203;10382](https://github.com/tailwindlabs/tailwindcss/pull/10382)) - Handle variants when the same class appears multiple times in a selector ([#&#8203;10397](https://github.com/tailwindlabs/tailwindcss/pull/10397)) - Handle group/peer variants with quoted strings ([#&#8203;10400](https://github.com/tailwindlabs/tailwindcss/pull/10400)) - Parse alpha value from rgba/hsla colors when using variables ([#&#8203;10429](https://github.com/tailwindlabs/tailwindcss/pull/10429)) - Sort by `layer` inside `variants` layer ([#&#8203;10505](https://github.com/tailwindlabs/tailwindcss/pull/10505)) - Add `--watch=always` option to prevent exit when stdin closes ([#&#8203;9966](https://github.com/tailwindlabs/tailwindcss/pull/9966)) ##### Changed - Alphabetize `theme` keys in default config ([#&#8203;9953](https://github.com/tailwindlabs/tailwindcss/pull/9953)) - Update esbuild to v17 ([#&#8203;10368](https://github.com/tailwindlabs/tailwindcss/pull/10368)) - Include `outline-color` in `transition` and `transition-colors` utilities ([#&#8203;10385](https://github.com/tailwindlabs/tailwindcss/pull/10385)) ### [`v3.2.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#324---2022-11-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.3...v3.2.4) ##### Added - Add `blocklist` option to prevent generating unwanted CSS ([#&#8203;9812](https://github.com/tailwindlabs/tailwindcss/pull/9812)) ##### Fixed - Fix watching of files on Linux when renames are involved ([#&#8203;9796](https://github.com/tailwindlabs/tailwindcss/pull/9796)) - Make sure errors are always displayed when watching for changes ([#&#8203;9810](https://github.com/tailwindlabs/tailwindcss/pull/9810)) ### [`v3.2.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#323---2022-11-09) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.2...v3.2.3) ##### Fixed - Fixed use of `raw` content in the CLI ([#&#8203;9773](https://github.com/tailwindlabs/tailwindcss/pull/9773)) - Pick up changes from files that are both context and content deps ([#&#8203;9787](https://github.com/tailwindlabs/tailwindcss/pull/9787)) - Sort pseudo-elements ONLY after classes when using variants and `@apply` ([#&#8203;9765](https://github.com/tailwindlabs/tailwindcss/pull/9765)) - Support important utilities in the safelist (pattern must include a `!`) ([#&#8203;9791](https://github.com/tailwindlabs/tailwindcss/pull/9791)) ### [`v3.2.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#322---2022-11-04) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.1...v3.2.2) ##### Fixed - Escape special characters in resolved content base paths ([#&#8203;9650](https://github.com/tailwindlabs/tailwindcss/pull/9650)) - Don't reuse container for array returning variant functions ([#&#8203;9644](https://github.com/tailwindlabs/tailwindcss/pull/9644)) - Exclude non-relevant selectors when generating rules with the important modifier ([#&#8203;9677](https://github.com/tailwindlabs/tailwindcss/issues/9677)) - Fix merging of arrays during config resolution ([#&#8203;9706](https://github.com/tailwindlabs/tailwindcss/issues/9706)) - Ensure configured `font-feature-settings` are included in Preflight ([#&#8203;9707](https://github.com/tailwindlabs/tailwindcss/pull/9707)) - Fix fractional values not being parsed properly inside arbitrary properties ([#&#8203;9705](https://github.com/tailwindlabs/tailwindcss/pull/9705)) - Fix incorrect selectors when using `@apply` in selectors with combinators and pseudos ([#&#8203;9722](https://github.com/tailwindlabs/tailwindcss/pull/9722)) - Fix cannot read properties of undefined (reading 'modifier') ([#&#8203;9656](https://github.com/tailwindlabs/tailwindcss/pull/9656), [aa979d6](https://github.com/tailwindlabs/tailwindcss/commit/aa979d645f8bf4108c5fc938d7c0ba085b654c31)) ### [`v3.2.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#321---2022-10-21) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.0...v3.2.1) ##### Fixed - Fix missing `supports` in types ([#&#8203;9616](https://github.com/tailwindlabs/tailwindcss/pull/9616)) - Fix missing PostCSS dependencies in the CLI ([#&#8203;9617](https://github.com/tailwindlabs/tailwindcss/pull/9617)) - Ensure `micromatch` is a proper CLI dependency ([#&#8203;9620](https://github.com/tailwindlabs/tailwindcss/pull/9620)) - Ensure modifier values exist when using a `modifiers` object for `matchVariant` ([ba6551d](https://github.com/tailwindlabs/tailwindcss/commit/ba6551db0f2726461371b4f3c6cd4c7090888504)) ### [`v3.2.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#320---2022-10-19) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.0) ##### Added - Add new `@config` directive ([#&#8203;9405](https://github.com/tailwindlabs/tailwindcss/pull/9405)) - Add new `relative: true` option to resolve content paths relative to the config file ([#&#8203;9396](https://github.com/tailwindlabs/tailwindcss/pull/9396)) - Add new `supports-*` variant ([#&#8203;9453](https://github.com/tailwindlabs/tailwindcss/pull/9453)) - Add new `min-*` and `max-*` variants ([#&#8203;9558](https://github.com/tailwindlabs/tailwindcss/pull/9558)) - Add new `aria-*` variants ([#&#8203;9557](https://github.com/tailwindlabs/tailwindcss/pull/9557), [#&#8203;9588](https://github.com/tailwindlabs/tailwindcss/pull/9588)) - Add new `data-*` variants ([#&#8203;9559](https://github.com/tailwindlabs/tailwindcss/pull/9559), [#&#8203;9588](https://github.com/tailwindlabs/tailwindcss/pull/9588)) - Add new `break-keep` utility for `word-break: keep-all` ([#&#8203;9393](https://github.com/tailwindlabs/tailwindcss/pull/9393)) - Add new `collapse` utility for `visibility: collapse` ([#&#8203;9181](https://github.com/tailwindlabs/tailwindcss/pull/9181)) - Add new `fill-none` utility for `fill: none` ([#&#8203;9403](https://github.com/tailwindlabs/tailwindcss/pull/9403)) - Add new `stroke-none` utility for `stroke: none` ([#&#8203;9403](https://github.com/tailwindlabs/tailwindcss/pull/9403)) - Add new `place-content-baseline` utility for `place-content: baseline` ([#&#8203;9498](https://github.com/tailwindlabs/tailwindcss/pull/9498)) - Add new `place-items-baseline` utility for `place-items: baseline` ([#&#8203;9507](https://github.com/tailwindlabs/tailwindcss/pull/9507)) - Add new `content-baseline` utility for `align-content: baseline` ([#&#8203;9507](https://github.com/tailwindlabs/tailwindcss/pull/9507)) - Add support for configuring default `font-feature-settings` for a font family ([#&#8203;9039](https://github.com/tailwindlabs/tailwindcss/pull/9039)) - Add standalone CLI build for 32-bit Linux on ARM (`node16-linux-armv7`) ([#&#8203;9084](https://github.com/tailwindlabs/tailwindcss/pull/9084)) - Add future flag to disable color opacity utility plugins ([#&#8203;9088](https://github.com/tailwindlabs/tailwindcss/pull/9088)) - Add negative value support for `outline-offset` ([#&#8203;9136](https://github.com/tailwindlabs/tailwindcss/pull/9136)) - Add support for modifiers to `matchUtilities` ([#&#8203;9541](https://github.com/tailwindlabs/tailwindcss/pull/9541)) - Allow negating utilities using `min`/`max`/`clamp` ([#&#8203;9237](https://github.com/tailwindlabs/tailwindcss/pull/9237)) - Implement fallback plugins when there is ambiguity between plugins when using arbitrary values ([#&#8203;9376](https://github.com/tailwindlabs/tailwindcss/pull/9376)) - Support `sort` function in `matchVariant` ([#&#8203;9423](https://github.com/tailwindlabs/tailwindcss/pull/9423)) - Upgrade to `postcss-nested` v6.0 ([#&#8203;9546](https://github.com/tailwindlabs/tailwindcss/pull/9546)) ##### Fixed - Use absolute paths when resolving changed files for resilience against working directory changes ([#&#8203;9032](https://github.com/tailwindlabs/tailwindcss/pull/9032)) - Fix ring color utility generation when using `respectDefaultRingColorOpacity` ([#&#8203;9070](https://github.com/tailwindlabs/tailwindcss/pull/9070)) - Sort tags before classes when `@apply`-ing a selector with joined classes ([#&#8203;9107](https://github.com/tailwindlabs/tailwindcss/pull/9107)) - Remove invalid `outline-hidden` utility ([#&#8203;9147](https://github.com/tailwindlabs/tailwindcss/pull/9147)) - Honor the `hidden` attribute on elements in preflight ([#&#8203;9174](https://github.com/tailwindlabs/tailwindcss/pull/9174)) - Don't stop watching atomically renamed files ([#&#8203;9173](https://github.com/tailwindlabs/tailwindcss/pull/9173), [#&#8203;9215](https://github.com/tailwindlabs/tailwindcss/pull/9215)) - Fix duplicate utilities issue causing memory leaks ([#&#8203;9208](https://github.com/tailwindlabs/tailwindcss/pull/9208)) - Fix `fontFamily` config TypeScript types ([#&#8203;9214](https://github.com/tailwindlabs/tailwindcss/pull/9214)) - Handle variants on complex selector utilities ([#&#8203;9262](https://github.com/tailwindlabs/tailwindcss/pull/9262)) - Fix shared config mutation issue ([#&#8203;9294](https://github.com/tailwindlabs/tailwindcss/pull/9294)) - Fix ordering of parallel variants ([#&#8203;9282](https://github.com/tailwindlabs/tailwindcss/pull/9282)) - Handle variants in utility selectors using `:where()` and `:has()` ([#&#8203;9309](https://github.com/tailwindlabs/tailwindcss/pull/9309)) - Improve data type analysis for arbitrary values ([#&#8203;9320](https://github.com/tailwindlabs/tailwindcss/pull/9320)) - Don't emit generated utilities with invalid uses of theme functions ([#&#8203;9319](https://github.com/tailwindlabs/tailwindcss/pull/9319)) - Revert change that only listened for stdin close on TTYs ([#&#8203;9331](https://github.com/tailwindlabs/tailwindcss/pull/9331)) - Ignore unset values (like `null` or `undefined`) when resolving the classList for intellisense ([#&#8203;9385](https://github.com/tailwindlabs/tailwindcss/pull/9385)) - Improve type checking for formal syntax ([#&#8203;9349](https://github.com/tailwindlabs/tailwindcss/pull/9349), [#&#8203;9448](https://github.com/tailwindlabs/tailwindcss/pull/9448)) - Fix incorrect required `content` key in custom plugin configs ([#&#8203;9502](https://github.com/tailwindlabs/tailwindcss/pull/9502), [#&#8203;9545](https://github.com/tailwindlabs/tailwindcss/pull/9545)) - Fix content path detection on Windows ([#&#8203;9569](https://github.com/tailwindlabs/tailwindcss/pull/9569)) - Ensure `--content` is used in the CLI when passed ([#&#8203;9587](https://github.com/tailwindlabs/tailwindcss/pull/9587)) ### [`v3.1.8`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#318---2022-08-05) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.7...v3.1.8) ##### Fixed - Don’t prefix classes within reused arbitrary variants ([#&#8203;8992](https://github.com/tailwindlabs/tailwindcss/pull/8992)) - Fix usage of alpha values inside single-named colors that are functions ([#&#8203;9008](https://github.com/tailwindlabs/tailwindcss/pull/9008)) - Fix `@apply` of user utilities when negative and non-negative versions both exist ([#&#8203;9027](https://github.com/tailwindlabs/tailwindcss/pull/9027)) ### [`v3.1.7`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#317---2022-07-29) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.6...v3.1.7) ##### Fixed - Don't rewrite source maps for `@layer` rules ([#&#8203;8971](https://github.com/tailwindlabs/tailwindcss/pull/8971)) ##### Added - Added types for `resolveConfig` ([#&#8203;8924](https://github.com/tailwindlabs/tailwindcss/pull/8924)) ### [`v3.1.6`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#316---2022-07-11) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.5...v3.1.6) ##### Fixed - Fix usage on Node 12.x ([b4e637e](https://github.com/tailwindlabs/tailwindcss/commit/b4e637e2e096a9d6f2210efba9541f6fd4f28e56)) - Handle theme keys with slashes when using `theme()` in CSS ([#&#8203;8831](https://github.com/tailwindlabs/tailwindcss/pull/8831)) ### [`v3.1.5`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#315---2022-07-07) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.4...v3.1.5) ##### Added - Support configuring a default `font-weight` for each font size utility ([#&#8203;8763](https://github.com/tailwindlabs/tailwindcss/pull/8763)) - Add support for alpha values in safe list ([#&#8203;8774](https://github.com/tailwindlabs/tailwindcss/pull/8774)) ##### Fixed - Improve types to support fallback values in the CSS-in-JS syntax used in plugin APIs ([#&#8203;8762](https://github.com/tailwindlabs/tailwindcss/pull/8762)) - Support including `tailwindcss` and `autoprefixer` in `postcss.config.js` in standalone CLI ([#&#8203;8769](https://github.com/tailwindlabs/tailwindcss/pull/8769)) - Fix using special-characters as prefixes ([#&#8203;8772](https://github.com/tailwindlabs/tailwindcss/pull/8772)) - Don’t prefix classes used within arbitrary variants ([#&#8203;8773](https://github.com/tailwindlabs/tailwindcss/pull/8773)) - Add more explicit types for the default theme ([#&#8203;8780](https://github.com/tailwindlabs/tailwindcss/pull/8780)) ### [`v3.1.4`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#314---2022-06-21) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.3...v3.1.4) ##### Fixed - Provide default to `<alpha-value>` when using `theme()` ([#&#8203;8652](https://github.com/tailwindlabs/tailwindcss/pull/8652)) - Detect arbitrary variants with quotes ([#&#8203;8687](https://github.com/tailwindlabs/tailwindcss/pull/8687)) - Don’t add spaces around raw `/` that are preceded by numbers ([#&#8203;8688](https://github.com/tailwindlabs/tailwindcss/pull/8688)) ### [`v3.1.3`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#313---2022-06-14) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.2...v3.1.3) ##### Fixed - Fix extraction of multi-word utilities with arbitrary values and quotes ([#&#8203;8604](https://github.com/tailwindlabs/tailwindcss/pull/8604)) - Fix casing of import of `corePluginList` type definition ([#&#8203;8587](https://github.com/tailwindlabs/tailwindcss/pull/8587)) - Ignore PostCSS nodes returned by `addVariant` ([#&#8203;8608](https://github.com/tailwindlabs/tailwindcss/pull/8608)) - Fix missing spaces around arithmetic operators ([#&#8203;8615](https://github.com/tailwindlabs/tailwindcss/pull/8615)) - Detect alpha value in CSS `theme()` function when using quotes ([#&#8203;8625](https://github.com/tailwindlabs/tailwindcss/pull/8625)) - Fix "Maximum call stack size exceeded" bug ([#&#8203;8636](https://github.com/tailwindlabs/tailwindcss/pull/8636)) - Allow functions returning parallel variants to mutate the container ([#&#8203;8622](https://github.com/tailwindlabs/tailwindcss/pull/8622)) - Remove text opacity CSS variables from `::marker` ([#&#8203;8622](https://github.com/tailwindlabs/tailwindcss/pull/8622)) ### [`v3.1.2`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#312---2022-06-10) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.1...v3.1.2) ##### Fixed - Ensure `\` is a valid arbitrary variant token ([#&#8203;8576](https://github.com/tailwindlabs/tailwindcss/pull/8576)) - Enable `postcss-import` in the CLI by default in watch mode ([#&#8203;8574](https://github.com/tailwindlabs/tailwindcss/pull/8574), [#&#8203;8580](https://github.com/tailwindlabs/tailwindcss/pull/8580)) ### [`v3.1.1`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#311---2022-06-09) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.0...v3.1.1) ##### Fixed - Fix candidate extractor regression ([#&#8203;8558](https://github.com/tailwindlabs/tailwindcss/pull/8558)) - Split `::backdrop` into separate defaults group ([#&#8203;8567](https://github.com/tailwindlabs/tailwindcss/pull/8567)) - Fix postcss plugin type ([#&#8203;8564](https://github.com/tailwindlabs/tailwindcss/pull/8564)) - Fix class detection in markdown code fences and slim templates ([#&#8203;8569](https://github.com/tailwindlabs/tailwindcss/pull/8569)) ### [`v3.1.0`](https://github.com/tailwindlabs/tailwindcss/blob/HEAD/CHANGELOG.md#310---2022-06-08) [Compare Source](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.24...v3.1.0) ##### Fixed - Types: allow for arbitrary theme values (for 3rd party plugins) ([#&#8203;7926](https://github.com/tailwindlabs/tailwindcss/pull/7926)) - Don’t split vars with numbers in them inside arbitrary values ([#&#8203;8091](https://github.com/tailwindlabs/tailwindcss/pull/8091)) - Require matching prefix when detecting negatives ([#&#8203;8121](https://github.com/tailwindlabs/tailwindcss/pull/8121)) - Handle duplicate At Rules without children ([#&#8203;8122](https://github.com/tailwindlabs/tailwindcss/pull/8122)) - Allow arbitrary values with commas in `@apply` ([#&#8203;8125](https://github.com/tailwindlabs/tailwindcss/pull/8125)) - Fix intellisense for plugins with multiple `@apply` rules ([#&#8203;8213](https://github.com/tailwindlabs/tailwindcss/pull/8213)) - Improve type detection for arbitrary color values ([#&#8203;8201](https://github.com/tailwindlabs/tailwindcss/pull/8201)) - Support PostCSS config options in config file in CLI ([#&#8203;8226](https://github.com/tailwindlabs/tailwindcss/pull/8226)) - Remove default `[hidden]` style in preflight ([#&#8203;8248](https://github.com/tailwindlabs/tailwindcss/pull/8248)) - Only check selectors containing base apply candidates for circular dependencies ([#&#8203;8222](https://github.com/tailwindlabs/tailwindcss/pull/8222)) - Rewrite default class extractor ([#&#8203;8204](https://github.com/tailwindlabs/tailwindcss/pull/8204)) - Move `important` selector to the front when `@apply`-ing selector-modifying variants in custom utilities ([#&#8203;8313](https://github.com/tailwindlabs/tailwindcss/pull/8313)) - Error when registering an invalid custom variant ([#&#8203;8345](https://github.com/tailwindlabs/tailwindcss/pull/8345)) - Create tailwind.config.cjs file in ESM package when running init ([#&#8203;8363](https://github.com/tailwindlabs/tailwindcss/pull/8363)) - Fix `matchVariant` that use at-rules and placeholders ([#&#8203;8392](https://github.com/tailwindlabs/tailwindcss/pull/8392)) - Improve types of the `tailwindcss/plugin` ([#&#8203;8400](https://github.com/tailwindlabs/tailwindcss/pull/8400)) - Allow returning parallel variants from `addVariant` or `matchVariant` callback functions ([#&#8203;8455](https://github.com/tailwindlabs/tailwindcss/pull/8455)) - Try using local `postcss` installation first in the CLI ([#&#8203;8270](https://github.com/tailwindlabs/tailwindcss/pull/8270)) - Allow default ring color to be a function ([#&#8203;7587](https://github.com/tailwindlabs/tailwindcss/pull/7587)) - Don't inherit `to` value from parent gradients ([#&#8203;8489](https://github.com/tailwindlabs/tailwindcss/pull/8489)) - Remove process dependency from log functions ([#&#8203;8530](https://github.com/tailwindlabs/tailwindcss/pull/8530)) - Ensure we can use `@import 'tailwindcss/...'` without node_modules ([#&#8203;8537](https://github.com/tailwindlabs/tailwindcss/pull/8537)) ##### Changed - Only apply hover styles when supported (future) ([#&#8203;8394](https://github.com/tailwindlabs/tailwindcss/pull/8394)) - Respect default ring color opacity (future) ([#&#8203;8448](https://github.com/tailwindlabs/tailwindcss/pull/8448), [3f4005e](https://github.com/tailwindlabs/tailwindcss/commit/3f4005e833445f7549219eb5ae89728cbb3a2630)) ##### Added - Support PostCSS `Document` nodes ([#&#8203;7291](https://github.com/tailwindlabs/tailwindcss/pull/7291)) - Add `text-start` and `text-end` utilities ([#&#8203;6656](https://github.com/tailwindlabs/tailwindcss/pull/6656)) - Support customizing class name when using `darkMode: 'class'` ([#&#8203;5800](https://github.com/tailwindlabs/tailwindcss/pull/5800)) - Add `--poll` option to the CLI ([#&#8203;7725](https://github.com/tailwindlabs/tailwindcss/pull/7725)) - Add new `border-spacing` utilities ([#&#8203;7102](https://github.com/tailwindlabs/tailwindcss/pull/7102)) - Add `enabled` variant ([#&#8203;7905](https://github.com/tailwindlabs/tailwindcss/pull/7905)) - Add TypeScript types for the `tailwind.config.js` file ([#&#8203;7891](https://github.com/tailwindlabs/tailwindcss/pull/7891)) - Add `backdrop` variant ([#&#8203;7924](https://github.com/tailwindlabs/tailwindcss/pull/7924), [#&#8203;8526](https://github.com/tailwindlabs/tailwindcss/pull/8526)) - Add `grid-flow-dense` utility ([#&#8203;8193](https://github.com/tailwindlabs/tailwindcss/pull/8193)) - Add `mix-blend-plus-lighter` utility ([#&#8203;8288](https://github.com/tailwindlabs/tailwindcss/pull/8288)) - Add arbitrary variants ([#&#8203;8299](https://github.com/tailwindlabs/tailwindcss/pull/8299)) - Add experimental `matchVariant` API ([#&#8203;8310](https://github.com/tailwindlabs/tailwindcss/pull/8310), [34fd0fb8](https://github.com/tailwindlabs/tailwindcss/commit/34fd0fb82aa574cddc5c7aa3ad7d1af5e3735e5d)) - Add `prefers-contrast` media query variants ([#&#8203;8410](https://github.com/tailwindlabs/tailwindcss/pull/8410)) - Add opacity support when referencing colors with `theme` function ([#&#8203;8416](https://github.com/tailwindlabs/tailwindcss/pull/8416)) - Add `postcss-import` support to the CLI ([#&#8203;8437](https://github.com/tailwindlabs/tailwindcss/pull/8437)) - Add `optional` variant ([#&#8203;8486](https://github.com/tailwindlabs/tailwindcss/pull/8486)) - Add `<alpha-value>` placeholder support for custom colors ([#&#8203;8501](https://github.com/tailwindlabs/tailwindcss/pull/8501)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMTUuMiIsInVwZGF0ZWRJblZlciI6IjM5LjI2NC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kjuulh added 1 commit 2025-03-25 23:38:19 +01:00
Update dependency tailwindcss to v4
Some checks failed
renovate/artifacts Artifact file update failure
4fbd423ac8
Author
Owner

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
 WARN  The "store" setting has been renamed to "store-dir". Please use the new name.
 WARN  GET https://registry.npmjs.org/tailwindcss error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/next error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-17.0.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.10.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/sass/-/sass-1.50.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/react/-/react-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/tailwindcss error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/next error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/node/-/node-17.0.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.10.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/sass/-/sass-1.50.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/react/-/react-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
 WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.
undefined
 ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: pnpm-lock.yaml ```  WARN  The "store" setting has been renamed to "store-dir". Please use the new name.  WARN  GET https://registry.npmjs.org/tailwindcss error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/next error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/@types/node/-/node-17.0.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.5.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.10.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/sass/-/sass-1.50.1.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/react/-/react-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/tailwindcss error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/next error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/@types/node/-/node-17.0.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/@types/react/-/react-17.0.38.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.5.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/postcss/-/postcss-8.4.12.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.10.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/sass/-/sass-1.50.1.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/react/-/react-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left.  WARN  GET https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz error (ERR_INVALID_THIS). Will retry in 1 minute. 1 retries left. undefined  ERR_INVALID_THIS  Value of "this" must be of type URLSearchParams ```
Some checks failed
renovate/artifacts Artifact file update failure
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/tailwindcss-monorepo:renovate/tailwindcss-monorepo
git checkout renovate/tailwindcss-monorepo
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wishlist/client#12
No description provided.