Skip to content

chore: drop Ruby 3.1 support - #348

Merged
route merged 1 commit into
mainfrom
chore/drop-ruby-3.1
Oct 21, 2026
Merged

route merged 1 commit into
mainfrom
chore/drop-ruby-3.1

Conversation

@route

@route route commented Oct 21, 2026

Copy link
Copy Markdown
Member

Ruby 3.1 is EOL and ruby/setup-ruby has no build for it on ubuntu-latest, which is now Ubuntu 26.04, so the 3.1 CI jobs fail at setup:

Error: Unavailable version 3.1.7 for ruby on ubuntu-26.04

Changes

  • required_ruby_version is >= 3.2
  • 3.1 removed from the CI matrix
  • RuboCop targets Ruby 3.2
  • CHANGELOG updated

RuboCop

Targeting 3.2 enables anonymous */**/& forwarding in Style/ArgumentsForwarding. It's disabled with UseAnonymousForwarding: false: YARD drops anonymous parameters from signatures and warns on their @param tags, and its maintainer won't support them (lsegal/yard#1648).

Same change as rubycdp/ferrum#667.

Ruby 3.1 is EOL and ruby/setup-ruby has no build for it on ubuntu-latest (26.04), so the 3.1 CI jobs fail at setup.
Require Ruby >= 3.2, remove 3.1 from the CI matrix, and target 3.2 in RuboCop. Keep named argument forwarding so
YARD @PARAM tags still match method signatures.
@route
route merged commit 5e9dd37 into main Oct 21, 2026
6 checks passed
@route
route deleted the chore/drop-ruby-3.1 branch October 21, 2026 17:33
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