Skip to content

Releases: rails/tailwindcss-rails

v4.0.0.rc1 / 2025-01-23

23 Jan 19:59
dd85c1d
Compare
Choose a tag to compare
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 the config/ directory to the app root.

Changes to the tailwindcss:install task:

  • The tailwindcss:install task no longer installs config/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.

v3.3.1 / 2025-01-23

23 Jan 20:35
8828ea7
Compare
Choose a tag to compare

v3.3.1 / 2025-01-23

  • Pin the dependency on tailwindcss-ruby to ~> 3.0 to prevent users from upgrading Tailwind to v4 while still on v3 of this gem.

    While it was useful during the Tailwind v4 beta period to allow users to float this dependency to try upgrading, we know (now that v4.0.0.rc1 of this gem is out) that not everything will work well if combining Tailwind v4 with tailwindcss-rails v3. Pinning this dependency should protect developers against unexpected issues.

v3.3.0 / 2025-01-19

19 Jan 20:12
968ba5c
Compare
Choose a tag to compare

v3.3.0 / 2025-01-19

  • Add support for using the puma plugin in a standalone puma process (outside of rails server). (#458) @flavorjones

v3.2.0 / 2025-01-10

10 Jan 17:23
b128001
Compare
Choose a tag to compare

v3.2.0 / 2025-01-10

  • Improve the scaffold views by making positions, padding, and sizes more consistent, add titles to all pages, add hover states and semantic colors to buttons and links, and change border and focus colors on fields with errors. (#452) @patriciomacadden

New Contributors

Full Changelog: v3.1.0...v3.2.0

v3.1.0 / 2024-12-29

29 Dec 19:04
21e8963
Compare
Choose a tag to compare

v3.1.0 / 2024-12-29

Notable changes

The tailwindcss plugins "form", "typography", and "container-queries" have been dropped from the default generated tailwind.config.js file. If you'd like to use them, you can re-add them to your project by uncommenting the appropriate lines in your config file. (#446) @flavorjones

v3.0.0 / 2024-10-15

15 Oct 21:02
61cadc1
Compare
Choose a tag to compare

v3.0.0

Notable changes

  • The upstream tailwindcss executable has been extracted from this gem into a new dependency, tailwindcss-ruby. @flavorjones

    In advance of the upcoming TailwindCSS v4 release, we are decoupling the tailwindcss executable from the Rails integration. This will allow users to upgrade TailwindCSS at a time of their choosing, and allow early adopters to start using the beta releases.

    See https://github.com/flavorjones/tailwindcss-ruby for more information.

v2.7.9 / 2024-10-10

10 Oct 18:03
dc3ae9a
Compare
Choose a tag to compare

v2.7.9 / 2024-10-10

  • Fix the scaffold form template to render text forms and check boxes properly in all versions of Rails. (#418) @Earlopain

v2.7.8 / 2024-10-08

08 Oct 18:52
2a13fdd
Compare
Choose a tag to compare

v2.7.8 / 2024-10-08

v3.0.0.rc1

02 Oct 14:38
11d7764
Compare
Choose a tag to compare
v3.0.0.rc1 Pre-release
Pre-release

v3.0.0.rc1

Notable changes

  • The upstream tailwindcss executable has been extracted from this gem into a new dependency, tailwindcss-ruby. @flavorjones

    In advance of the upcoming TailwindCSS v4 release, we are decoupling the tailwindcss executable from the Rails integration. This will allow users to upgrade TailwindCSS at a time of their choosing, and allow early adopters to start using the beta releases.

v2.7.7 / 2024-10-02

02 Oct 12:52
d0c0590
Compare
Choose a tag to compare

v2.7.7 / 2024-10-02

  • Proactively support changes to Rails's authentication templates shipping in Rails 8.0.0.beta2 (which is not yet released). (#407, #408) @seanpdoyle @flavorjones