Skip to content

Bump minimum required Ruby to 3.3#2750

Open
ericproulx wants to merge 1 commit into
masterfrom
chore/min-ruby-3.3
Open

Bump minimum required Ruby to 3.3#2750
ericproulx wants to merge 1 commit into
masterfrom
chore/min-ruby-3.3

Conversation

@ericproulx
Copy link
Copy Markdown
Contributor

Summary

Drops Ruby 3.2 support; minimum is now Ruby 3.3.

What changed

  • grape.gemspecrequired_ruby_version = '>= 3.3'.
  • .rubocop.ymlTargetRubyVersion: 3.3 (no new offenses on tracked sources).
  • .github/workflows/test.yml — removed '3.2' from the matrix; '3.3', '3.4', '4.0' remain.
  • .github/workflows/edge.yml — removed '3.2' from the matrix and the now-empty rails_edge exclude entry.
  • README.md — install note updated to "Ruby 3.3 or newer".
  • UPGRADING.md — added a contract-break entry under the next >= 3.3 section.

Why

Ruby 3.2 will reach end-of-life within the next release cycle of Grape. Dropping it now keeps the matrix lean and unblocks future use of 3.3+ syntax/standard-library improvements.

Test plan

  • bundle exec rubocop against tracked sources — 303 files, 0 offenses
  • No code changes — existing test suites cover Ruby 3.3+ via CI matrix
  • CI: verify test + edge workflows green on the remaining matrix entries

🤖 Generated with Claude Code

@ericproulx ericproulx force-pushed the chore/min-ruby-3.3 branch from 7e4abbc to 075b565 Compare May 27, 2026 22:36
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 27, 2026

Danger Report

No issues found.

View run

* `grape.gemspec`: `required_ruby_version = '>= 3.3'`.
* `.rubocop.yml`: `TargetRubyVersion: 3.3`.
* CI workflows: drop Ruby 3.2 from the `test` and `edge` matrices
  (and the now-empty `rails_edge` exclude entry).
* README install note and an UPGRADING entry for the contract break.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ericproulx ericproulx force-pushed the chore/min-ruby-3.3 branch from 075b565 to 008f148 Compare May 27, 2026 22:42
@ericproulx ericproulx requested a review from dblock May 28, 2026 08:00
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