Skip to content

Drop support for Rails 7.2 - #3056

Merged
ericproulx merged 1 commit into
masterfrom
chore/drop-rails-7-2
Nov 8, 2026
Merged

ericproulx merged 1 commit into
masterfrom
chore/drop-rails-7-2

Conversation

@ericproulx

Copy link
Copy Markdown
Contributor

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.2 becomes >= 8.0.
  • gemfiles/rails_7_2.gemfile and its entry in the test.yml matrix are removed. rails_8_0, rails_8_1 and rails_edge stay.
  • Nothing in lib or spec branches on the ActiveSupport version, so there is no compatibility code to drop with it.

README references to Rails versions Grape no longer supports:

  • The deprecator section was headed Rails 7.1 and linked the 7.1 API docs. It is now Rails Deprecator and links the current docs.
  • Reloading in Rails Applications kept manual instructions for Rails 6 and Earlier (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.
  • The endless-range note no longer says "with ActiveSupport >= 6.0".

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') reports activesupport >= 8.0.
  • CI green (rails_8_0 and rails_8_1 gemfiles).

🤖 Generated with Claude Code

@ericproulx
ericproulx force-pushed the chore/drop-rails-7-2 branch from 0c4d513 to de037ac Compare November 6, 2026 17:30
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Danger Report

No issues found.

View run

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
ericproulx force-pushed the chore/drop-rails-7-2 branch from de037ac to 427df59 Compare November 8, 2026 19:49
@ericproulx
ericproulx merged commit b793d73 into master Nov 8, 2026
63 checks passed
@ericproulx
ericproulx deleted the chore/drop-rails-7-2 branch November 8, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant