Bump minimum required Ruby to 3.3#2750
Open
ericproulx wants to merge 1 commit into
Open
Conversation
7e4abbc to
075b565
Compare
Danger ReportNo issues found. |
* `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>
075b565 to
008f148
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
Drops Ruby 3.2 support; minimum is now Ruby 3.3.
What changed
grape.gemspec—required_ruby_version = '>= 3.3'..rubocop.yml—TargetRubyVersion: 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-emptyrails_edgeexclude entry.README.md— install note updated to "Ruby 3.3 or newer".UPGRADING.md— added a contract-break entry under the next>= 3.3section.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 rubocopagainst tracked sources — 303 files, 0 offensestest+edgeworkflows green on the remaining matrix entries🤖 Generated with Claude Code