Skip to content

Latest commit

 

History

History
349 lines (162 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

349 lines (162 loc) · 15.4 KB

next / unreleased

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.

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

  • Fix the scaffold form template to render checkboxes properly. (#416) @enderahmetyurt

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

v2.7.6 / 2024-09-23

v2.7.5 / 2024-09-18

v2.7.4 / 2024-09-13

v2.7.3 / 2024-08-14

v2.7.2 / 2024-08-08

v2.7.1 / 2024-08-07

v2.7.0 / 2024-08-05

  • Add specialized views for the new authentication generator coming in Rails 8. (#384) @yshmarov @dhh @flavorjones

v2.6.5 / 2024-07-30

  • During installation, clobber the Rails v8 default bin/dev file without requiring human intervention. (#385) @jeromedalbert

v2.6.4 / 2024-07-27

v2.6.3 / 2024-07-16

v2.6.2 / 2024-07-15

v2.6.1 / 2024-06-05

v2.6.0 / 2024-05-04

  • Increase form input field border contrast. (#356) @olivierlacan
  • Bring the scaffold templates up to date with rails/rails. (#357, #359) @kinsomicrote
  • Drop support for Rails 6.0, which reached end-of-life in June 2023. (#358) @flavorjones
  • Drop feature and bug fix support for Rails 6.1. The previous minor release will still receive security support while Rails 6.1 is supported. (#359) @flavorjones

v2.5.0 / 2024-04-27

  • Remove the @tailwindcss/aspect-ratio plugin from the tailwind.config.js that gets installed by the generator. This plugin was originally a polyfill until Safari 15 was released (in Fall 2021), and so is beyond its useful lifetime for anyone not targetting ancient browsers. (#344) @flavorjones @searls

v2.4.1 / 2024-04-25

  • Fix debugger repl when using the Puma plugin. (#349) @tompng

v2.4.0 / 2024-04-08

  • Update to Tailwind CSS v3.4.3 from v3.4.1 by @flavorjones
  • The tailwindcss:watch task handles interrupts more cleanly. (#318, #336) @davidcelis

v2.3.0 / 2024-01-10

  • Allow applications to override the generator templates. (#314) @flavorjones
  • Support using PostCSS as a preprocessor. (#316) @ahmeij

v2.2.1 / 2024-01-07

  • Update to Tailwind CSS v3.4.1 from v3.4.0 by @flavorjones
  • Fix password form field styling in generated scaffold forms. (#304, #307) @flavorjones
  • Fix namespaced mailer generation. (#272, #308) @flavorjones
  • Allow overriding the generator templates by placing application templates in either lib/templates/tailwindcss/{scaffold,mailer,controller} or lib/templates/erb/{scaffold,mailer,controller}. (#164, #314) @flavorjones

v2.2.0 / 2024-01-04

  • Introduce a Puma plugin to manage the Tailwind "watch" process from rails server. (#300) @npezza93
  • Lazily load the debugger gem when running bin/dev (#292) @elia
  • Allow choosing a custom port with a PORT environment variable when running bin/dev (#292) @elia

v2.1.0 / 2023-12-19

v2.0.33 / 2023-12-09

v2.0.32 / 2023-10-27

  • Update to Tailwind CSS v3.3.5 from v3.3.3 by @flavorjones
  • Restore support for Ruby 2.7, broken in v2.0.31, by explicitly setting required_rubygems_version = ">= 3.2.0". (#286) by @flavorjones

v2.0.31 / 2023-10-10

  • Update Procfile.dev to run foreman with --open option allowing remote sessions with rdbg --attach (#281) by @duduribeiro
  • Address Rubygems 3.5.0 deprecation warnings (#280) by @lylo

v2.0.30 / 2023-07-13

  • Update to Tailwind CSS v3.3.3 by @flavorjones
  • If defined, the spec:prepare rake task will be decorated with tailwindcss:build (#271) by @rmehner

v2.0.29 / 2023-04-26

v2.0.28 / 2023-04-21

  • The watch task accepts an always argument to keep the watcher alive when stdin is closed: rails tailwindcss:watch[always]. #262 by @GoodForOneFare

v2.0.27 / 2023-04-02

v2.0.26 / 2023-03-30

  • Update to Tailwind CSS v3.3.0 by @tysongach
  • Use a locally-installed tailwindcss executable by setting a TAILWINDCSS_INSTALL_DIR environment variable. (#224, #226) by @flavorjones

v2.0.25 / 2023-03-14

  • Installer now includes all 5 official Tailwind plugins (adding line-clamp and container-queries). (#254) by @Kentasmic

v2.0.24 / 2023-03-05

  • When Rails CSS compression is on, avoid generating minified tailwindcss assets. (#253) by @flavorjones.

v2.0.23 / 2023-02-19

v2.0.22 / 2023-02-08

v2.0.21 / 2022-11-11

v2.0.20 / 2022-11-10

v2.0.19 / 2022-11-08

  • Update bin/dev script to stay in sync with other Rails installers' versions (e.g, cssbundling-rails and dartsass-rails). Use sh instead of bash for vanilla Alpine support, and use exec to run foreman for better interrupt handling. #219 by @marcoroth.

v2.0.18 / 2022-11-07

v2.0.17 / 2022-11-01

v2.0.16 / 2022-10-21

v2.0.15 / 2022-10-20

v2.0.14 / 2022-09-19

v2.0.13 / 2022-09-05

  • Correctly handle paths with embedded spaces. #184 by @flavorjones
  • The build and watch tasks accept a debug argument to generate unminified assets: rails tailwindcss:build[debug] or rails tailwindcss:watch[debug]. #198 by @flavorjones
  • The watch task accepts a poll argument to use polling instead of file system events: rails tailwindcss:watch[poll]. #199 by @flavorjones

v2.0.12 / 2022-08-10

  • Address issue when running commands with #exec by @blerchin in #189

v2.0.11 / 2022-08-09

  • Use exec to run tailwind binary, so return codes pass through by @blerchin in #181
  • Update to Tailwind CSS v3.1.8 by @TastyPi in #186

v2.0.10 / 2022-06-19

  • Fixed that released gems include the correct version of Tailwind CSS (3.1.3, not 3.0.3) by @dhh

v2.0.9 / 2022-06-18

v2.0.8 / 2022-03-10

  • Restrict views to common template formats by @pixeltrix in #155
  • Update rake build command to work with Windows by @pietmichal in #156
  • Upgrade to Tailwind 3.0.23 by @dhh

v2.0.7 / 2022-02-22

v2.0.6 / 2022-02-19

v2.0.5 / 2022-01-16

  • Upgrade to Tailwind CSS v3.0.15
  • Fix: Insert centring container around the yield by @dixpac in #106
  • Add description to watch task by @RolandStuder in #130
  • Fix the wrong indentation by @dixpac in #132

v2.0.3 / 2022-01-03

  • fix: name the platform using just architecture and os by @flavorjones in #103
  • Add tailwindcss-linux-arm64 support (make docker on Apple Silicon M1 workflow possible) by @schmidp in #112

New Contributors

v2.0.2 / 2021-12-19

v2.0.1 / 2021-12-19

  • Remove redundant font-size class from generators by @marcushwz in #97
  • Add error messages on unsupported platforms or when bundler platforms aren't correct by @flavorjones in #102

v2.0.0 / 2021-12-18

Tailwind CSS for Rails now uses the standalone executables made for Tailwind 3. These executables are platform specific, so there's actually separate underlying gems per platform, but the correct gem will automatically be picked for your platform. Supported platforms are Linux x64, macOS arm64, macOS x64, and Windows x64. (Note that due to this setup, you must install the actual gems – you can't pin your gem to the github repo.)

This is a completely different approach from previous versions of tailwindcss-rails. Gone is Ruby-powered purger. Everything now works as it would if you had installed the Node version of Tailwind. But without the Node!

This setup requires a separate watch process to run, which is configured and modeled after the approach used in cssbundling-rails. Look at the README for more details.

Huge thanks to @flavorjones for creating the platform-specific gem setup 🙏

v1.0.0 / 2021-12-14

Nothing. But we're promote 0.5.4 to 1.0.0 to go along with the final release of Rails 7.0. Because as a new sanctioned default option of Rails 7, we should stick to the API, and this communicates that 🚀🥳

v0.5.4 / 2021-12-03

  • Only depends on the railties gem.

v0.5.3 / 2021-12-03

  • Match button label for destroy with text used by regular Rails templates by @dhh