Skip to content

chore(deps): bump tailwindcss from 3.4.19 to 4.3.1 - #529

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 1, 2026

Copy link
Copy Markdown
Contributor

Bumps tailwindcss from 3.4.19 to 4.3.1.

Release notes

Sourced from tailwindcss's releases.

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)
  • Generate var(--spacing) instead of calc(var(--spacing) * 1) for spacing utilities like m-1 and left-1 (#20196)

v4.3.0

Added

  • Add @container-size utility (#18901)
  • Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
  • Add scrollbar-gutter-* utilities (#20018)
  • Add zoom-* utilities (#20020)
  • Add tab-* utilities (#20022)
  • Allow using @variant with stacked variants (e.g. @variant hover:focus { … }) (#19996)
  • Allow using @variant with compound variants (e.g. @variant hover, focus { … }) (#19996)
  • Support --default(…) in --value(…) and --modifier(…) for functional @utility definitions (#19989)

Fixed

  • Ensure @plugin resolves package JavaScript entries instead of browser CSS entries when using @tailwindcss/vite (#19949)

... (truncated)

Changelog

Sourced from tailwindcss's changelog.

[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

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

[4.3.0] - 2026-05-08

Added

  • Add @container-size utility (#18901)
  • Add scrollbar-{auto,thin,none} utilities for scrollbar-width, and scrollbar-thumb-* / scrollbar-track-* color utilities for scrollbar-color (#19981, #20019)
  • Add scrollbar-gutter-* utilities (#20018)
  • Add zoom-* utilities (#20020)
  • Add tab-* utilities (#20022)
  • Allow using @variant with stacked variants (e.g. @variant hover:focus { … }) (#19996)
  • Allow using @variant with compound variants (e.g. @variant hover, focus { … }) (#19996)
  • Support --default(…) in --value(…) and --modifier(…) for functional @utility definitions (#19989)

Fixed

... (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 Jul 1, 2026
@dependabot
dependabot Bot requested a review from njrini99-code as a code owner July 1, 2026 01:06
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 1, 2026
@greptile-apps

greptile-apps Bot commented Jul 1, 2026

Copy link
Copy Markdown

PR author is in the excluded authors list.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.1 branch from aba5aa6 to 0227e99 Compare July 1, 2026 02:56
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

package.json:143 — the tailwindcss dependency constraint is changed from ^3.4.19 to ^4.3.1. No other files or exported entities are affected.

Changes

Dependency Version Update

Layer / File(s) Summary
tailwindcss major version bump
package.json
Version constraint for tailwindcss changed from ^3.4.19 to ^4.3.1 at line 143.

Estimated code review effort: 2 (Simple) | ~10 minutes

Blocking note: Tailwind v4 introduces breaking changes (new CSS-first config, removal of tailwind.config.js JS-based theme extension in favor of @theme in CSS, PostCSS plugin changes). package.json:143 alone does not confirm that postcss.config.js, tailwind.config.js, or @tailwindcss/postcss are updated accordingly — verify those files exist and are compatible with v4 before merging, since a version bump without config migration will break the build.

Suggested labels: dependencies, breaking-change

Suggested reviewers: njrini99-code

🚥 Pre-merge checks | ✅ 11 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Conventional Commits ⚠️ Warning Squash subject matches, but the PR-facing text is Bumps tailwindcss from 3.4.19 to 4.3.1., which is not conventional. Rename the PR title to chore(deps): bump tailwindcss from 3.4.19 to 4.3.1 (the squash subject already matches).
✅ Passed checks (11 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No Service-Role In Client Bundles ✅ Passed Only changed file is package.json:143; it has the Tailwind version bump and no SUPABASE_SERVICE_ROLE_KEY or service-role client code.
Rls Coverage On New Tables ✅ Passed Diff touches package.json and package-lock.json only; no migration files changed, so the RLS-on-new-tables check is not applicable.
Auth Check In Server Actions ✅ Passed git diff main..HEAD only changes package.json and package-lock.json; no src/app/**/actions/**/*.ts files are touched.
Sport-Prefixed Table Names ✅ Passed PASS: PR only bumps tailwindcss in package.json:143; no changed .ts/.tsx files, so no Supabase table-prefix audit applies.
No Destructive Writes ✅ Passed package.json:143-144 only bumps tailwindcss; no changed save/submit/sync code or DB write path exists in this PR.
No Edits To Historical Migrations ✅ Passed HEAD changes only package.json; no files under supabase/migrations/ were modified, so no historical migration edits occurred.
Title check ✅ Passed The title is a valid conventional commit and accurately describes the Tailwind CSS dependency bump.
Description check ✅ Passed The description directly states the Tailwind CSS version bump and includes relevant release notes.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/tailwindcss-4.3.1
  • 🛠️ helm safety pass
  • 🛠️ dashboard ux pass
  • 🛠️ rls test pass

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 143: The app is still using the legacy Tailwind animation plugin via
tailwindcss-animate and the Tailwind JS plugin path in tailwind.config.ts, which
should be removed for Tailwind v4. Update the animation setup to a v4-compatible
approach such as tw-animate-css or native `@theme` animations, and eliminate the
plugin import/registration from tailwind.config.ts. Also remove
tailwindcss-animate from package.json so the config only relies on the CSS-first
Tailwind v4 flow.
- Line 143: Tailwind has been bumped to v4 in package.json, but the migration is
incomplete because postcss.config.mjs still references the old v3 plugin and
src/app/globals.css still uses the removed `@tailwind` directives. Update the
PostCSS setup in postcss.config.mjs to use `@tailwindcss/postcss`, and change the
CSS entrypoint in src/app/globals.css to import Tailwind with `@import`
"tailwindcss";. If tailwind.config.ts remains in use, add the `@config` directive
in the same CSS entrypoint so the config is picked up.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a515ec41-3213-4e66-9eba-704353d3ee4b

📥 Commits

Reviewing files that changed from the base of the PR and between 6d2e6f0 and 0227e99.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"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.

🗄️ Data Integrity & Integration | 🔵 Trivial | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

Is tailwindcss-animate compatible with Tailwind CSS v4?

💡 Result:

The original tailwindcss-animate plugin is not officially compatible with Tailwind CSS v4 and has been deprecated by many projects that previously used it, such as shadcn/ui [1]. While some users have attempted to force compatibility through configuration overrides [2], the recommended approach for Tailwind CSS v4 is to migrate away from this legacy JavaScript-based plugin [1][3]. Tailwind CSS v4 embraces a CSS-first architecture, making native CSS animation handling the preferred method [4][5][3]. For projects upgrading to Tailwind CSS v4, the following replacements are recommended: 1. Use native Tailwind CSS v4 features: You can define custom animations directly in your CSS using the @theme directive [3][6]. This eliminates the need for external animation plugins entirely [3]. 2. Use CSS-first alternatives: Packages like tw-animate-css or tailwind-animate have been created specifically to provide a CSS-based alternative to the original plugin, fully compatible with Tailwind CSS v4 [4][5][1]. If you are migrating an existing project (e.g., from shadcn/ui), the standard migration path involves removing tailwindcss-animate, installing a modern CSS-first replacement (like tw-animate-css), and importing it directly in your CSS file rather than via the old plugin system [1].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n== package.json tailwind deps ==\n'
sed -n '120,170p' package.json

printf '\n== tailwind config files ==\n'
fd -a 'tailwind.config.*|postcss.config.*' .

printf '\n== tailwind.config.ts ==\n'
if [ -f tailwind.config.ts ]; then
  cat -n tailwind.config.ts
elif [ -f ./src/tailwind.config.ts ]; then
  cat -n ./src/tailwind.config.ts
fi

printf '\n== search for tailwindcss-animate / plugins usage ==\n'
rg -n "tailwindcss-animate|`@plugin`|plugins:\\s*\\[|resolveConfig|tailwindcss v4|tw-animate-css|tailwind-animate" .

Repository: njrini99-code/helmv3

Length of output: 46449


Replace the legacy Tailwind animation plugin package.json:144 still pulls in tailwindcss-animate, and tailwind.config.ts:2,17-18,702-703 still loads it through the JS plugin path. Tailwind v4 is CSS-first; switch this app to a v4-compatible animation approach (tw-animate-css or native @theme animations) and remove the interop shim.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 143, The app is still using the legacy Tailwind
animation plugin via tailwindcss-animate and the Tailwind JS plugin path in
tailwind.config.ts, which should be removed for Tailwind v4. Update the
animation setup to a v4-compatible approach such as tw-animate-css or native
`@theme` animations, and eliminate the plugin import/registration from
tailwind.config.ts. Also remove tailwindcss-animate from package.json so the
config only relies on the CSS-first Tailwind v4 flow.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n== package.json ==\n'
nl -ba package.json | sed -n '135,150p'

printf '\n== postcss.config.mjs ==\n'
nl -ba postcss.config.mjs

printf '\n== tailwind.config.ts ==\n'
nl -ba tailwind.config.ts

printf '\n== globals.css ==\n'
nl -ba src/app/globals.css | sed -n '1,80p'

Repository: njrini99-code/helmv3

Length of output: 218


🏁 Script executed:

#!/bin/bash
set -euo pipefail

for f in package.json postcss.config.mjs tailwind.config.ts src/app/globals.css; do
  printf '\n== %s ==\n' "$f"
  awk 'NR>=1 && NR<=220 { printf "%4d  %s\n", NR, $0 }' "$f" | sed -n '1,220p'
done

Repository: njrini99-code/helmv3

Length of output: 30971


🌐 Web query:

Tailwind CSS v4 PostCSS plugin tailwindcss directly error @tailwinddirectives removed@config support migration docs

💡 Result:

In Tailwind CSS v4, the architecture has shifted to a CSS-first approach, leading to several breaking changes regarding PostCSS integration, directives, and configuration. PostCSS Plugin The legacy tailwindcss PostCSS plugin has been removed. It is replaced by a new, dedicated package, @tailwindcss/postcss [1][2]. To update, remove the old tailwindcss package and install @tailwindcss/postcss [3][4]. Your postcss.config.mjs should now only reference this new package [5][4]: export default { plugins: { "@tailwindcss/postcss": {}, }, }; Note that autoprefixer is now bundled within Tailwind CSS v4, so it can be removed from your PostCSS configuration [1][4]. Removal of @tailwind Directives The v3 @tailwind base, @tailwind components, and @tailwind utilities directives have been removed [2][6]. They are replaced by a single CSS @import directive [7][8]: @import "tailwindcss"; @config Support While Tailwind CSS v4 is designed to be configured primarily through CSS using the @theme directive, it still supports legacy JavaScript configuration files via the @config directive [9][10]. This allows you to retain existing tailwind.config.js files or use build-time environment variables [11]. You can load a configuration file by adding the @config directive to your main CSS file [10][11]: @import "tailwindcss"; @config "../../tailwind.config.js"; Keep in mind that while @config allows you to load legacy files, certain options like corePlugins, safelist, and separator are not supported in v4 [9]. For safelisting, you should use the @source directive in your CSS [9][11]. Migrating your theme configuration to CSS-first @theme blocks is the recommended approach for v4 [2][4].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '== Tailwind references ==\n'
grep -RIn --exclude-dir=node_modules --exclude-dir=.next --exclude-dir=.git \
  -e '`@tailwindcss/postcss`' \
  -e 'tailwindcss: {}' \
  -e '`@import` .*tailwindcss' \
  -e '`@tailwind` base' \
  -e '`@tailwind` components' \
  -e '`@tailwind` utilities' \
  -e '`@config` ' \
  . | sed -n '1,200p'

Repository: njrini99-code/helmv3

Length of output: 1125


Finish the Tailwind v4 migration before merging

  • package.json:143 bumps tailwindcss to ^4.3.1, but postcss.config.mjs:3-5 still uses the removed v3 plugin entry and src/app/globals.css:3-5 still uses the removed @tailwind directives. Switch PostCSS to @tailwindcss/postcss and replace those directives with @import "tailwindcss";; if tailwind.config.ts stays, add @config in the CSS entrypoint.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 143, Tailwind has been bumped to v4 in package.json,
but the migration is incomplete because postcss.config.mjs still references the
old v3 plugin and src/app/globals.css still uses the removed `@tailwind`
directives. Update the PostCSS setup in postcss.config.mjs to use
`@tailwindcss/postcss`, and change the CSS entrypoint in src/app/globals.css to
import Tailwind with `@import` "tailwindcss";. If tailwind.config.ts remains in
use, add the `@config` directive in the same CSS entrypoint so the config is
picked up.

Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.19 to 4.3.1.
- [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.1/packages/tailwindcss)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/tailwindcss-4.3.1 branch from 0227e99 to d9528f4 Compare July 3, 2026 03:41
@vercel

vercel Bot commented Jul 3, 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 Jul 3, 2026 3:45am

Request Review

@njrini99-code

Copy link
Copy Markdown
Owner

@dependabot ignore this major version

@dependabot dependabot Bot closed this Jul 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you about version 4.x.x again, unless you re-open this PR.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/tailwindcss-4.3.1 branch July 3, 2026 04:09
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.

1 participant