Skip to content

Update tailwindcss-rails 3.3.1 → 4.2.2 (major)#786

Closed
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/tailwindcss-rails-4.2.2
Closed

Update tailwindcss-rails 3.3.1 → 4.2.2 (major)#786
depfu[bot] wants to merge 1 commit intomasterfrom
depfu/update/tailwindcss-rails-4.2.2

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Apr 6, 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-rails (3.3.1 → 4.2.2) · Repo · Changelog

Release Notes

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.

↗️ connection_pool (indirect, 2.5.0 → 2.5.1) · Repo · Changelog

Release Notes

2.5.1 (from changelog)

  • Pass options to TimedStack in checkout [#195]
  • Optimize connection lookup [#196]
  • Fixes for use with Ractors

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

Commits

See the full diff on Github. The new version differs by 13 commits:

↗️ irb (indirect, 1.15.1 → 1.15.2) · Repo

Release Notes

1.15.2

What's Changed

🐛 Bug Fixes

📚 Documentation

  • (docs) Document the keys for completion by @andyw8 in #1082

🛠 Other Changes

New Contributors

Full Changelog: v1.15.1...v1.15.2

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

Commits

See the full diff on Github. The new version differs by 13 commits:

↗️ logger (indirect, 1.6.6 → 1.7.0) · Repo

Sorry, we couldn't find anything useful about this release.

↗️ minitest (indirect, 5.25.4 → 5.25.5) · Repo · Changelog

Release Notes

5.25.5 (from changelog)

  • 4 bug fixes:

    • Bumped minimum ruby to 2.7.

    • Fixed expectation docs for must/wont_pattern_match. (jaredcwhite)

    • Reorder Minitest::Test.ancestors to allow reaching Minitest::Assertions#skipped? (Edouard-chin)

    • Update the ruby and rails compatibility tables. (bquorning)

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

Commits

See the full diff on Github. The new version differs by 7 commits:

↗️ rack (indirect, 3.1.12 → 3.1.13) · Repo · Changelog

Release Notes

3.1.13 (from changelog)

  • Ensure Rack::ETag correctly updates response body. (#2324, @ioquatix)

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

Commits

See the full diff on Github. The new version differs by 2 commits:

↗️ rdoc (indirect, 6.12.0 → 6.13.1) · Repo · Changelog

Release Notes

6.13.1

What's Changed

✨ Enhancements

  • Allow customizing path prefix through options by @st0012 in #1330

🛠 Other Changes

Full Changelog: v6.13.0...v6.13.1

6.13.0

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • Fix ri completion to always return candidates start with a given name by @tompng in #1082
  • Call update_extends in ClassModule#complete by @st0012 in #1317

📚 Documentation

  • Fix CodeObject's inheritance tree document by @st0012 in #1314

🛠 Other Changes

  • Bump ruby/setup-ruby from 1.215.0 to 1.218.0 by @dependabot in #1290
  • Remove unnecessary coupling in comments' call_seq extraction by @st0012 in #1289
  • Bump step-security/harden-runner from 2.10.4 to 2.11.0 by @dependabot in #1293
  • Bump ruby/setup-ruby from 1.218.0 to 1.221.0 by @dependabot in #1294
  • Removed development group for cloudflare pages by @hsbt in #1295
  • Remove unused attributes by @st0012 in #1292
  • Refactor darkfish's classes sidebar implementation by @st0012 in #1296
  • Explicitly require helper in test_case by @st0012 in #1297
  • Add webrick to development dependencies by @st0012 in #1301
  • Remove unused darkfish parts by @st0012 in #1303
  • Centralize generator setup by @st0012 in #1302
  • Remove unused class_dir and file_dir attributes from generators by @st0012 in #1304
  • Reenable JRuby for testing by @headius in #1305
  • Relax paragraph pattern by @nobu in #1299
  • Tests for markdown code using multiple backquotes by @nobu in #1306
  • Remove an unused constant by @nobu in #1307
  • Avoid accessing RDoc objects through Store by @st0012 in #1308
  • Bump ruby/setup-ruby from 1.221.0 to 1.222.0 by @dependabot in #1311
  • Make Options a required constructor argument of Store by @st0012 in #1309
  • Reduce unnecessary external state assignment (singleton) by @st0012 in #1312
  • Fix test target code of module_function by @tompng in #1316
  • Remove dead or unnecessary methods/attributes by @st0012 in #1315
  • Refactor markdown parsing of Image and ExplicitLink by @tompng in #1323
  • Bump version to v6.13.0 by @st0012 in #1324

New Contributors

Full Changelog: v6.12.0...v6.13.0

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

Commits

See the full diff on Github. The new version differs by 48 commits:

↗️ reline (indirect, 0.6.0 → 0.6.1) · Repo

Release Notes

0.6.1

What's Changed

✨ Enhancements

  • Support inserting C-c C-z C-\ with quoted_insert by @tompng in #798
  • Enter newline if cursor position is middle of input by @ima1zumi in #802
  • Update to Unicode 16.0.0 by @ima1zumi in #803

🐛 Bug Fixes

  • Fix bracketed paste and scrolling bug by @tompng in #801

🛠 Other Changes

  • Fix typos in comment by @ydah in #796
  • test_tty_ambiguous_width: Use Reline.test_rubybin by @sorah in #797
  • Refactor handling key in LineEditor by @tompng in #799
  • Refactor utf-8 strings and invalid strings in test code by @tompng in #800
  • Fix typo: marco -> macro by @kaibadash in #806
  • Fix CI for Ruby 2.7 by @ima1zumi in #807
  • Migration for bundled gems by @hsbt in #811
  • Add gem readline to Gemfile to fix failing ci jobs: readline by @tompng in #810
  • Remove ruby-core workflow by @tompng in #812
  • Remove unused constant CAPNAME_KEY_BINDINGS by @tompng in #808
  • Refactor undo redo by @tompng in #809
  • Reject directory from Gem::Specification#files by @hsbt in #813
  • Use Relin::ANSI's buffer instead of calling STDIN.ungetc by @tompng in #815
  • Fix typo by @ima1zumi in #817
  • Add gem fiddle to Gemfile (Only used in windows) by @tompng in #818
  • Basic setup for Reline's official documentation website by @st0012 in #820
  • Bump version to 0.6.1 by @tompng in #823

New Contributors

Full Changelog: v0.6.0...v0.6.1

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

Commits

See the full diff on Github. The new version differs by 23 commits:

↗️ stringio (indirect, 3.1.5 → 3.1.7) · Repo · Changelog

Release Notes

3.1.6

Fixes

  • CRuby: Fix SEGV at unget to a null device StringIO
  • JRuby:
    • Fix NullPointerException at unget to a null device StringIO
    • Use proper checkEncoding signature
    • Update strioWrite logic to match CRuby
    • GH-124

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

Commits

See the full diff on Github. The new version differs by 14 commits:

↗️ tailwindcss-ruby (indirect, 3.4.17 → 4.1.4) · 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.


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 depfu bot force-pushed the depfu/update/tailwindcss-rails-4.2.2 branch from d53698a to 2d01167 Compare April 21, 2025 22:27
@depfu
Copy link
Contributor Author

depfu bot commented May 3, 2025

Closed in favor of #795.

@depfu depfu bot closed this May 3, 2025
@depfu depfu bot deleted the depfu/update/tailwindcss-rails-4.2.2 branch May 3, 2025 22: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