v4.0.0.rc1 / 2025-01-23
Pre-release
Pre-release
v4.0.0.rc1 / 2025-01-23
Upgrade to Tailwind CSS v4
Upgrade guide is in the README.
General changes:
- Dependency on
tailwindcss-ruby
set to~> 4.0
. - The location of (optional)
postcss.config.js
has moved from theconfig/
directory to the app root.
Changes to the tailwindcss:install
task:
- The
tailwindcss:install
task no longer installsconfig/tailwind.config.js
. - The Inter font is no longer packaged with the gem.
- Some Tailwind class names are updated for v4.
New task tailwindcss:upgrade
upgrades many apps cleanly:
- Cleans up some things in the generated
config/tailwind.config.js
. - Runs the upstream upgrader (note: requires
npx
to run the one-time upgrade, but highly recommended). - Removes references to the Inter font from the application layout.
- If present, moves
config/postcss.config.js
to the root directory.
Thanks to @EricGusmao and @excid3 for their help and advice on this work.