Skip to content

Update tailwindcss-ruby 3.4.17 → 4.1.18 (major)#847

Closed
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/tailwindcss-ruby-4.1.18
Closed

Update tailwindcss-ruby 3.4.17 → 4.1.18 (major)#847
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/tailwindcss-ruby-4.1.18

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Dec 18, 2025

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

↗️ tailwindcss-ruby (indirect, 3.4.17 → 4.1.18) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

✳️ tailwindcss-rails (3.3.2 → 4.4.0) · Repo · Changelog

Release Notes

4.4.0

v4.4.0 / 2025-10-27

Changed

  • Removed the "poll" option on the watch command, since Tailwind v4 dropped support for this option (and it has been a no-op in this gem since.) #580 @flavorjones

Improved

  • Support Rails 8.1 scaffolding which disables system tests by default. #585 @flavorjones
  • Puma plugin now has experimental support for Rails engines. #567 @bopm
  • Puma plugin uses Puma 7's after_stopped callback, quashing a deprecation warning. #578 @rono23

New Contributors 🎉

Full Changelog: v4.3.0...v4.4.0

4.3.0

v4.3.0 / 2025-07-06

Improved

4.2.3

v4.2.3 / 2025-05-02

Improved

  • The "tailwindcss:upgrade" task now pins to v4.1.4 of the @tailwindcss/upgrade tool. #544 @flavorjones

4.2.2

v4.2.2 / 2025-04-05

Improved

  • The "tailwindcss:upgrade" task now uses the latest version of the @tailwindcss/upgrade tool. #529 @flavorjones
  • The "verbose" flag on Rails tasks now emits additional tailwind CLI debugging info (e.g., bin/rails tailwindcss:build[verbose]). #530 @flavorjones
  • Simplified the scaffold templates, removing unnecessary div tags. @523 @patriciomacadden

4.2.1

v4.2.1 / 2025-03-19

Fixed

4.2.0

v4.2.0 / 2025-03-02

Features

  • Improve the view templates to display better on mobile devices. #503 @patriciomacadden
  • Support for environment variable TAILWINDCSS_DEBUG to turn off CSS minification. #504 @r-sierra

4.1.0

v4.1.0 / 2025-02-19

View template improvements

4.0.0

v4.0.0 / 2025-02-01

Upgrade to Tailwind CSS v4

General changes:

  • The dependency on tailwindcss-ruby is set to ~> 4.0.
  • The location of (optional) postcss.config.js has moved from the config/ directory to the app root.
  • The input file app/assets/tailwind/application.tailwind.css has been renamed to app/assets/tailwind/application.css.
  • If Propshaft is being used, app/assets/tailwind will be excluded from its asset handling.
  • The Inter font is no longer packaged with the gem.
  • Some Tailwind class names in the generated ERB templates are updated for v4.
  • The README is updated to contain verbose instructions on upgrading.

Changes to the tailwindcss:install task:

  • The tailwindcss:install task no longer installs config/tailwind.config.js, as v4 recommends placing Tailwind configuration in the CSS file.
  • The Inter font is no longer configured in the application layout.
  • The "tailwind" stylesheet link tag will only be added to the application layout if Propshaft isn't in use and therefore already handling app/assets/build/tailwind.css. Previously it was always injected, resulting in the tag being rendered twice if Propshaft was in use.

New task tailwindcss:upgrade upgrades many apps cleanly:

  • Cleans up config/tailwind.config.js and references it from the CSS file as recommended for v4 upgrades.
  • Runs the upstream upgrader (note: requires npx to run the one-time upgrade, but highly recommended).
  • Removes configuration for the Inter font from the application layout.
  • If present, moves config/postcss.config.js to the root directory.
  • The "tailwind" stylesheet link tag will be removed if Propshaft is in use and already handling app/assets/build/tailwind.css.
  • The input file app/assets/tailwind/application.tailwind.css will be moved to app/assets/tailwind/application.css.

Thanks to @EricGusmao, @patriciomacadden, @excid3, and @brunoprietog for their feedback, contributions, and advice on v4 support.

Other changes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.

@depfu
Copy link
Contributor Author

depfu bot commented Feb 21, 2026

Closed in favor of #880.

@depfu depfu bot closed this Feb 21, 2026
@depfu depfu bot deleted the depfu/update/tailwindcss-ruby-4.1.18 branch February 21, 2026 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants