Update minimum Ruby version to 3.2 and bump dependencies#2653
Merged
Conversation
Danger ReportNo issues found. |
f92c8bd to
8db2dd3
Compare
dblock
approved these changes
Jan 26, 2026
Member
|
Let's update CHANGELOG and maybe UPGRADING? |
8db2dd3 to
fce69fd
Compare
dblock
reviewed
Jan 27, 2026
fce69fd to
b73209d
Compare
Member
@ericproulx fix pls ^ |
- Require Ruby >= 3.2 instead of >= 3.1 - Update ActiveSupport dependency to >= 7.2 - Update RuboCop to 1.84.0 and rubocop-rspec to 3.9.0 - Remove Ruby 3.1 from CI test matrix - Clean up code: remove unused require, update syntax
b73209d to
3ec67f9
Compare
dblock
approved these changes
Feb 3, 2026
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.
Update minimum Ruby version to 3.2 and bump dependencies
Summary
This PR updates the minimum required Ruby version from 3.1 to 3.2, updates related dependencies, and includes code cleanup improvements.
Changes
Ruby Version Requirements
>= 3.1to>= 3.2ingrape.gemspectest.ymlandedge.yml.rubocop.ymlDependency Updates
>= 7.1to>= 7.2ingrape.gemspec1.81.7to1.82.1inGemfile3.8.0to3.9.0inGemfileCode Improvements
require 'set'fromlib/grape.rb(no longer needed)route_parammethod inlib/grape/dsl/routing.rbto use Ruby 3.2+**syntax instead of**optionsspec/grape/middleware/versioner/header_spec.rb.rubocop_todo.ymlwith updated RuboCop version, reducing offense count from 6 to 2 forRSpec/ExpectActualCI Configuration
Breaking Changes
Applications using Grape with Ruby 3.1 will need to upgrade to Ruby 3.2+.
Testing
ruby-head,truffleruby-head, andjruby-headRelated
This change aligns with the Ruby community's move away from Ruby 3.1, which reached end-of-life status. Ruby 3.2 is the current stable version and provides better performance and features.