Skip to content

chore: drop Ruby 3.1 support - #667

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 linter and test 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 test and linter matrices
  • RuboCop targets Ruby 3.2
  • AGENTS.md and 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). Named forwarding keeps the docs of methods like Contexts#create and Page#pdf intact.

Unblocks CI on #666.

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 test and linter matrices, and target 3.2 in RuboCop. Keep named argument
forwarding so YARD @PARAM tags still match method signatures.
@route
route force-pushed the chore/drop-ruby-3.1 branch from 3ec73ba to 349af26 Compare October 21, 2026 16:58
@route
route merged commit ebe910a into main Oct 21, 2026
6 checks passed
@route
route deleted the chore/drop-ruby-3.1 branch October 21, 2026 17:14
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