The Upgrading guide lists the minimum Ruby for each Rails series, but it is harder to find which newer Rubies are tested for that series. Today that information lives in rails/buildkite-config, with related policy discussed in issue comments:
- In rails/rails#31340, @rafaelfranca gave the rule: the newest supported Ruby is the newest one that existed when the series stopped being supported.
- In rails/rails#47811, @matthewd suggested publishing a recommended Ruby range per series on Ruby on Rails Maintenance Policy, since the guides are versioned.
- A guide change listing a maximum Ruby for Rails 5 (#47960) was merged, then reverted (#48249).
There is an important distinction between that support rule and required CI coverage. Rails 8.0 and 8.1 have required CI jobs for Ruby 3.2, 3.3, 3.4, and 4.0. For Rails 7.x, Ruby 3.4 and 4.0 jobs are marked as soft-fail. Someone choosing a Ruby version for a Rails app cannot learn that distinction from the maintenance page.
I opened two documentation PRs:
- rails/website#765 adds the Ruby versions tested in required CI jobs for each currently supported series to the maintenance page.
- rails/rails#59384 adds a dated snapshot of tested Ruby versions to the Upgrading guide’s Ruby Versions section.
Both distinguish tested versions from upper bounds on compatibility. The website would provide the current list; the versioned guide would provide a snapshot rather than a promise of future coverage.
Two questions:
- How is it decided when a newly released Ruby becomes part of a Rails series’ required CI coverage? Does that depend on whether the series is receiving bug fixes or only security fixes?
- Should the maintenance page say anything about end-of-life series, or cover supported ones only?