Packages

tailwindcss

4.3.5 · 6 Nov 2026MIT191M / weekRepositoryHomepagenpmAtom feed

Upgrading tailwindcss From 1.8.10 to 4.3.5

158 releases in betweenevery note read

Other targets from 1.8.10Newest 1.x1.9.6
  1. 1.8.10yours
  2. 10 releases
  3. 2.0.0major
  4. 29 releases
  5. 3.0.0major
  6. 64 releases
  7. 3.4.15security
  8. 4 releases
  9. 4.0.0major
  10. 46 releases
  11. 4.3.5target
  12. 61 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking3.3.2
  • Breaking3.0.9
  • Breaking2.2.5
  • Breaking2.2.2
  • Breaking2.2.0
  • Breaking2.0.0
  • Breaking2.0.0
  • Breaking1.9.3
  • Breaking1.9.3
  • Breaking1.9.3

Security

  • Bump versions for security vulnerabilities

    3.4.15

Release by release

  1. 4.3.5

    6 Nov 20267 fixes
    • Fixed

      Canonicalization: Improve performance in projects with many functional variant values (e.g. a matchVariant plugin with thousands of values)

    • Fixed

      Don't crash or create a fallback with the wrong color for a color-mix(…) without a color interpolation method (e.g. color-mix(var(--color-red-500)) or color-mix(currentcolor 50%, transparent)) (#20658, #20666)

    • Fixed

      Ensure @tailwindcss/oxide-wasm32-wasi loads instead of hanging forever (e.g. with NAPI_RS_FORCE_WASI=error or in WebContainers)

    • Fixed

      Remove as: '*.css' from the @tailwindcss/turbopack setup in its README, because it breaks CSS modules

    • Fixed

      Ignore <!-- and --> between top-level rules in CSS instead of throwing or swallowing the next rule (e.g. a { color: red } --> b { color: blue })

    • Fixed

      Ensure @tailwindcss/oxide-wasm32-wasi detects changed and new source files after the first scan (e.g. in WebContainers)

    • Fixed

      Prevent type errors with skipLibCheck: false caused by imports of unshipped modules in the @tailwindcss/node type declarations

  2. 4.3.4

    2 Nov 20261 new · 47 fixes
    • New

      Add @tailwindcss/turbopack, a Turbopack loader for using Tailwind CSS with Next.js

    • Fixed

      Ensure watch mode detects changes to symlinked @source files whose real paths aren't otherwise scanned

    • Fixed

      Ensure variants using @scope wrap generated utilities instead of nesting inside them

    • Fixed

      Ensure nested @scope rules preserve their scoping semantics when flattened

  3. 4.3.3

    16 Jul 202615 fixes
    • Fixed

      Support --watch --poll[=ms] in @tailwindcss/cli when filesystem events are unreliable or unavailable

    • Fixed

      Canonicalization: Match arbitrary hex colors against theme colors case-insensitively (e.g. bg-[#fff] and bg-[#FFF] → bg-white)

    • Fixed

      Prevent Preflight from overriding Firefox's native iframe:focus-visible outline styles

    • Fixed

      Ensure theme('colors.foo') in JS plugins resolves correctly when both --color-foo and --color-foo-bar exist

  4. 4.3.2

    29 Jun 202613 fixes
    • Fixed

      Support bare spacing values for auto-rows-* and auto-cols-* utilities (e.g. auto-rows-12 and auto-cols-16)

    • Fixed

      Prevent @tailwindcss/cli in --watch mode from crashing on Windows when @source points to a directory that doesn't exist

    • Fixed

      Prevent @tailwindcss/vite from crashing in Deno v2.8.x when context.parentURL is not a valid URL

    • Fixed

      Ensure @tailwindcss/cli in --watch mode rebuilds when the input CSS file changes in an ignored directory

  5. 4.3.1

    12 Jun 20261 new · 22 fixes
    • New

      Add --silent option to suppress output in @tailwindcss/cli

    • Fixed

      Remove deprecation warnings by using Module#registerHooks instead of Module#register on Node 26+

    • Fixed

      Canonicalization: Don't crash when plugin utilities throw for unsupported values

    • Fixed

      Allow @apply to be used with CSS mixins

  6. 4.3.0

    8 May 20269 new · 13 fixes
    • New

      Add @container-size utility

    • New

      Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)

    • New

      Add scrollbar-gutter-* utilities

    • New

      Add zoom-* utilities

  7. 4.2.4

    21 Apr 20261 fix
    • Fixed

      Ensure imports in @import and @plugin still resolve correctly when using Vite aliases in @tailwindcss/vite

  8. 4.2.3

    20 Apr 20261 new · 20 fixes
    • New

      Add .env and .env.* to default ignored content files

    • Fixed

      Canonicalization: Improve canonicalizations for tracking-* utilities by preferring non-negative utilities (e.g. -tracking-tighter → tracking-wider)

    • Fixed

      Fix crash due to invalid characters in candidate (exceeding valid unicode code point range)

    • Fixed

      Ensure query params in imports are considered unique resources when using @tailwindcss/webpack

79 other lines we could not sort, mostly version bumps
  • Generate 0 instead of calc(var(--spacing) * 0) for spacing utilities like m-0 and left-0

    4.3.1
  • Generate var(--spacing) instead of calc(var(--spacing) * 1) for spacing utilities like m-1 and left-1

    4.3.1
  • Remove the postinstall script from oxide

    4.1.15
  • Drop warning from browser build

    4.1.13
  • Drop exact duplicate declarations when emitting CSS

    4.1.13
  • Ignore node_modules by default (can be overridden by @source … rules)

    4.1.0
  • @source rules that include file extensions or point inside node_modules/ folders no longer consider your .gitignore rules

    4.1.0
  • 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)

    4.0.15
  • Removed max-w-auto and max-h-auto utilities as they generate invalid CSS

    4.0.10
  • Replaced the existing candidate extractor with a brand new extractor to improve maintainability, correctness, and performance

    4.0.10

12 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.