Repository navigation
Drop support for Rails 7.2 - #3056
Merged
Merged
Conversation
ericproulx
force-pushed
the
chore/drop-rails-7-2
branch
from
November 6, 2026 17:30
0c4d513 to
de037ac
Compare
Danger ReportNo issues found. |
Rails 7.2 reached end of life on 2026-08-09, so Grape now requires ActiveSupport >= 8.0 and stops testing against Rails 7.2: the rails_7_2 gemfile and its CI matrix entry are removed. Nothing in lib or spec branches on the ActiveSupport version, so there is no code to drop with it. The README stops naming Rails versions Grape no longer supports: the deprecator section was headed "Rails 7.1", the reloading section kept manual instructions for Rails 6 and earlier next to the Zeitwerk ones, and the endless-range note was qualified with ActiveSupport >= 6.0. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
ericproulx
force-pushed
the
chore/drop-rails-7-2
branch
from
November 8, 2026 19:49
de037ac to
427df59
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rails 7.2 reached end of life on 2026-08-09 (endoflife.date), so Grape now requires ActiveSupport 8.0.
grape.gemspec:activesupport >= 7.2becomes>= 8.0.gemfiles/rails_7_2.gemfileand its entry in thetest.ymlmatrix are removed.rails_8_0,rails_8_1andrails_edgestay.liborspecbranches on the ActiveSupport version, so there is no compatibility code to drop with it.README references to Rails versions Grape no longer supports:
ActiveSupport::Dependencies.explicitly_unloadable_constants, gone since Rails 7.0) next to the Zeitwerk ones. Only the Zeitwerk part remains, without its "Rails 7+" sub-heading.Contract change
Apps on Rails 7.2 / ActiveSupport 7.2 can't resolve this version of Grape. UPGRADING.md has an entry under 4.2.0, "Minimum required ActiveSupport is now 8.0", modelled on the earlier minimum-Ruby entries.
Heads-up: Rails 8.0's security support ends on 2026-11-07, so 8.0 will be the next floor to drop.
Test plan
bundle exec rake(ActiveSupport 8.1): RuboCop clean, 3184 examples, 0 failures.Gem::Specification.load('grape.gemspec')reportsactivesupport >= 8.0.rails_8_0andrails_8_1gemfiles).🤖 Generated with Claude Code