Skip to content

chore(deps): bump tailwindcss from 3.4.19 to 4.3.2 - #244

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tailwindcss-4.3.0
Closed

chore(deps): bump tailwindcss from 3.4.19 to 4.3.2#244
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/tailwindcss-4.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps tailwindcss from 3.4.19 to 4.3.2.

Release notes

Sourced from tailwindcss's releases.

v4.3.2

Fixed

  • Support bare spacing values for auto-rows-* and auto-cols-* utilities (e.g. auto-rows-12 and auto-cols-16) (#20229)
  • Prevent @tailwindcss/cli in --watch mode from crashing on Windows when @source points to a directory that doesn't exist (#20242)
  • Prevent @tailwindcss/vite from crashing in Deno v2.8.x when context.parentURL is not a valid URL (#20245)
  • Ensure @tailwindcss/cli in --watch mode rebuilds when the input CSS file changes in an ignored directory (#20246)
  • Allow @variant rules used in addBase(…) to use custom variants defined later (#20247)
  • Prevent @tailwindcss/vite from crashing during HMR when scanned files or directories are deleted (#20259)
  • Generate font-size instead of color declarations for text-[--spacing(…)] (#20260)
  • Prevent @source patterns from scanning unrelated sibling files and folders (#20263)
  • Extract class candidates adjacent to Template Toolkit delimiters like %]…[% in .tt, .tt2, and .tx files (#20269)
  • Extract class candidates from conditional Maud syntax like p.text-black[condition] (#20269)
  • Prevent @position-try rules from triggering unknown at-rule warnings when optimizing CSS (#20277)
  • Support class suggestions for named opacity modifiers from --opacity theme values (#20287)
  • Prevent type errors in @tailwindcss/postcss when used with newer PostCSS patch releases (#20289)

v4.3.1

Added

  • Add --silent option to suppress output in @tailwindcss/cli (#20100)

Fixed

  • Remove deprecation warnings by using Module#registerHooks instead of Module#register on Node 26+ (#20028)
  • Canonicalization: don't crash when plugin utilities throw for unsupported values (#20052)
  • Allow @apply to be used with CSS mixins (#19427)
  • Ensure not-* correctly negates @container queries, including style(…) queries (#20059)
  • Ensure drop-shadow-* color utilities work with custom shadow values containing calc(…) (#20080)
  • Fix 'Sourcemap is likely to be incorrect' warnings when using @tailwindcss/vite (#20103)
  • Ensure @tailwindcss/webpack can be installed in Rspack projects without requiring webpack as a peer dependency (#20027)
  • Canonicalization: don't suggest invalid calc(…) expressions (e.g. px-[calc(1rem+0px)]px-[calc(1rem+0)]) (#20127)
  • Canonicalization: avoid suggesting large spacing-scale values for arbitrary lengths (e.g. left-[99999px]left-[99999px], not left-24999.75) (#20130)
  • Ensure @tailwindcss/cli in --watch mode recovers when a tracked dependency is deleted and restored (#20137)
  • Ensure standalone @tailwindcss/cli binaries are ignored when scanning for class candidates (#20139)
  • Ensure class candidates are extracted from Twig addClass(…) and removeClass(…) calls (#20198)
  • Don't crash in the Ruby or Vue preprocessors when scanning files containing invalid UTF-8 bytes (#19588)
  • Allow @variant to be used inside addBase (#19480)
  • Ensure @source globs with symlinks are preserved (#20203)
  • Ensure later @source rules can re-include files excluded by earlier @source not rules (#20203)
  • Upgrade: don't migrate empty class rules to invalid @utility rules (#20205)
  • Ensure transitions between inset-shadow-none and other inset shadows work correctly (#20208)
  • Ensure explicitly referenced @source directories are scanned even when ignored by git (#20214)
  • Ensure @source globs ending in **/* preserve dynamic path segments to avoid scanning too many files (#20217)
  • Canonicalization: don't fold calc(…) divisions when the result would require high precision (e.g. w-[calc(100%/3.5)]w-[calc(100%/3.5)], not w-[28.571428571428573%]) (#20221)
  • Serve ESM type declarations to ESM importers of @tailwindcss/postcss (#20228)

Changed

  • Generate 0 instead of calc(var(--spacing) * 0) for spacing utilities like m-0 and left-0 (#20196)

... (truncated)

Changelog

Sourced from tailwindcss's changelog.

[4.3.2] - 2026-06-26

Fixed

  • Support bare spacing values for auto-rows-* and auto-cols-* utilities (e.g. auto-rows-12 and auto-cols-16) (#20229)
  • Prevent @tailwindcss/cli in --watch mode from crashing on Windows when @source points to a directory that doesn't exist (#20242)
  • Prevent @tailwindcss/vite from crashing in Deno v2.8.x when context.parentURL is not a valid URL (#20245)
  • Ensure @tailwindcss/cli in --watch mode rebuilds when the input CSS file changes in an ignored directory (#20246)
  • Allow @variant rules used in addBase(…) to use custom variants defined later (#20247)
  • Prevent @tailwindcss/vite from crashing during HMR when scanned files or directories are deleted (#20259)
  • Generate font-size instead of color declarations for text-[--spacing(…)] (#20260)
  • Prevent @source patterns from scanning unrelated sibling files and folders (#20263)
  • Extract class candidates adjacent to Template Toolkit delimiters like %]…[% in .tt, .tt2, and .tx files (#20269)
  • Extract class candidates from conditional Maud syntax like p.text-black[condition] (#20269)
  • Prevent @position-try rules from triggering unknown at-rule warnings when optimizing CSS (#20277)
  • Support class suggestions for named opacity modifiers from --opacity theme values (#20287)
  • Prevent type errors in @tailwindcss/postcss when used with newer PostCSS patch releases (#20289)

[4.3.1] - 2026-06-12

Added

  • Add --silent option to suppress output in @tailwindcss/cli (#20100)

Fixed

  • Remove deprecation warnings by using Module#registerHooks instead of Module#register on Node 26+ (#20028)
  • Canonicalization: don't crash when plugin utilities throw for unsupported values (#20052)
  • Allow @apply to be used with CSS mixins (#19427)
  • Ensure not-* correctly negates @container queries, including style(…) queries (#20059)
  • Ensure drop-shadow-* color utilities work with custom shadow values containing calc(…) (#20080)
  • Fix 'Sourcemap is likely to be incorrect' warnings when using @tailwindcss/vite (#20103)
  • Ensure @tailwindcss/webpack can be installed in Rspack projects without requiring webpack as a peer dependency (#20027)
  • Canonicalization: don't suggest invalid calc(…) expressions (e.g. px-[calc(1rem+0px)]px-[calc(1rem+0)]) (#20127)
  • Canonicalization: avoid suggesting large spacing-scale values for arbitrary lengths (e.g. left-[99999px]left-[99999px], not left-24999.75) (#20130)
  • Ensure @tailwindcss/cli in --watch mode recovers when a tracked dependency is deleted and restored (#20137)
  • Ensure standalone @tailwindcss/cli binaries are ignored when scanning for class candidates (#20139)
  • Ensure class candidates are extracted from Twig addClass(…) and removeClass(…) calls (#20198)
  • Don't crash in the Ruby or Vue preprocessors when scanning files containing invalid UTF-8 bytes (#19588)
  • Allow @variant to be used inside addBase (#19480)
  • Ensure @source globs with symlinks are preserved (#20203)
  • Ensure later @source rules can re-include files excluded by earlier @source not rules (#20203)
  • Upgrade: don't migrate empty class rules to invalid @utility rules (#20205)
  • Ensure transitions between inset-shadow-none and other inset shadows work correctly (#20208)
  • Ensure explicitly referenced @source directories are scanned even when ignored by git (#20214)
  • Ensure @source globs ending in **/* preserve dynamic path segments to avoid scanning too many files (#20217)
  • Canonicalization: don't fold calc(…) divisions when the result would require high precision (e.g. w-[calc(100%/3.5)]w-[calc(100%/3.5)], not w-[28.571428571428573%]) (#20221)
  • Serve ESM type declarations to ESM importers of @tailwindcss/postcss (#20228)

Changed

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for tailwindcss since your current version.


@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 8, 2026
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
helmv3 Error Error Jun 22, 2026 2:38am

Request Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View 2 additional findings in Devin Review.

Open in Devin Review

Comment thread package.json Outdated
"svix": "^1.86.0",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Tailwind CSS v3→v4 major version upgrade without required configuration migration breaks entire CSS pipeline

The PR bumps tailwindcss from ^3.4.19 to ^4.3.0, which is a major version change with fundamental breaking changes. However, none of the required migration steps have been applied:

  1. PostCSS plugin moved: postcss.config.mjs:4 still uses tailwindcss: {} as a PostCSS plugin, but in v4 the PostCSS plugin is a separate package @tailwindcss/postcss (not installed).
  2. CSS directives changed: src/app/globals.css:3-5 uses @tailwind base; @tailwind components; @tailwind utilities; which are v3-only directives, replaced in v4 by @import "tailwindcss".
  3. Config file not loaded: tailwind.config.ts uses the v3 Config type and format. In v4, JS config files are not auto-loaded — you need a @config directive in your CSS or use the new CSS-based configuration.
  4. Plugin incompatibility: tailwindcss-animate v1.0.7 uses v3's plugin API which changed significantly in v4.
  5. <alpha-value> syntax: 9 color definitions in tailwind.config.ts use rgb(var(--x) / <alpha-value>) which is a v3-specific pattern.

This will cause the entire application to have no styles, either through build errors or silently producing unprocessed CSS.

Suggested change
"tailwindcss": "^4.3.0",
"tailwindcss": "^3.4.19",
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

@dependabot dependabot Bot changed the title chore(deps): bump tailwindcss from 3.4.19 to 4.3.0 chore(deps): bump tailwindcss from 3.4.19 to 4.3.1 Jun 13, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch from 57ee401 to 249eaa4 Compare June 13, 2026 02:58
Comment thread package.json
@@ -126,7 +126,7 @@
"sonner": "^2.0.7",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 tailwindcss-animate v1.x is a v3-only plugin

tailwindcss-animate ^1.0.7 was authored against the Tailwind CSS v3 plugin API (theme(), addUtilities, etc.), which no longer exists in v4's CSS-first architecture. Its peer-dependency declaration (>=3.0.0) does not cover v4. Running a v3 plugin under v4 will either silently produce no output or crash during the build. The community replacement for v4 is tw-animate-css, which ships as plain CSS imported via @import.

Fix in Claude Code

Comment thread package.json Outdated
"svix": "^1.86.0",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 PostCSS pipeline will break — tailwindcss v4 no longer ships a PostCSS plugin

In Tailwind v4, the PostCSS integration was extracted into a separate package, @tailwindcss/postcss. The existing postcss.config.mjs still uses tailwindcss: {} as the plugin key, but tailwindcss v4 does not export a PostCSS-compatible plugin at the package root. As a result, the build will fail to emit any CSS — the project will compile with no styles at all.

Two changes are required alongside this version bump:

  1. Install @tailwindcss/postcss (see suggestion below for adding it to devDependencies).
  2. Update postcss.config.mjs to replace tailwindcss: {} with "@tailwindcss/postcss": {}.

Note: Tailwind v4 also has built-in vendor-prefixing, so autoprefixer can be removed from that file at the same time.

Fix in Claude Code

Comment thread package.json Outdated
"svix": "^1.86.0",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^3.4.19",
"tailwindcss": "^4.3.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 CSS entry point uses deprecated v3 directives

src/app/globals.css opens with @tailwind base, @tailwind components, and @tailwind utilities — the Tailwind v3 directive syntax. In v4, the canonical entry point is a single @import "tailwindcss". While @tailwindcss/postcss recognises the old directives in compatibility mode, the tailwind.config.ts also needs an explicit @config "./tailwind.config.ts" line in the CSS unless Next.js auto-detects it, and the extensive rgb(var(--warm-cream) / <alpha-value>) / rgb(var(--golden-*) / <alpha-value>) color definitions in tailwind.config.ts rely on the v3 <alpha-value> placeholder mechanism that behaves differently under v4's CSS-first compiler. These should all be migrated as part of this upgrade.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Claude Code

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch from 2ff26d7 to 9e6c3c0 Compare June 17, 2026 21:58
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch from 9e6c3c0 to 2bfdd29 Compare June 22, 2026 02:35
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.19 to 4.3.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.2/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump tailwindcss from 3.4.19 to 4.3.1 chore(deps): bump tailwindcss from 3.4.19 to 4.3.2 Jun 30, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch from 2bfdd29 to 597051c Compare June 30, 2026 21:10
@dependabot
dependabot Bot requested a review from njrini99-code as a code owner June 30, 2026 21:10
@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

@dependabot @github

dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #529.

@dependabot dependabot Bot closed this Jul 1, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/tailwindcss-4.3.0 branch July 1, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants