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-rubyset to~> 4.0. - The location of (optional)
postcss.config.jshas moved from theconfig/directory to the app root.
Changes to the tailwindcss:install task:
- The
tailwindcss:installtask 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
npxto run the one-time upgrade, but highly recommended). - Removes references to the Inter font from the application layout.
- If present, moves
config/postcss.config.jsto the root directory.
Thanks to @EricGusmao and @excid3 for their help and advice on this work.