Skip to content

Update RBS to 4.2.0 - #2277

Merged
soutaro merged 2 commits into
masterfrom
claude/rbs-4-2-update-3eb855
Aug 27, 2026
Merged

Update RBS to 4.2.0#2277
soutaro merged 2 commits into
masterfrom
claude/rbs-4-2-update-3eb855

Conversation

@soutaro

@soutaro soutaro commented Aug 27, 2026

Copy link
Copy Markdown
Owner

The gem dependency moves from rbs ~> 4.0 to ~> 4.2. ruby/rbs#3067 fixes type param alignment for module self types, which Steep relies on when it validates mixin constraints, and it is not backported to the 4.1 series.

RBS 4.2 requires Ruby 3.3, so required_ruby_version moves up to match and the defined?(Process.warmup) check in TypeCheckWorker goes away -- Process.warmup landed in 3.3. Nothing else in lib/ was gated on the Ruby version, and CI already runs 3.3, 3.4 and 4.0.

@soutaro
soutaro enabled auto-merge August 27, 2026 07:28
@soutaro
soutaro force-pushed the claude/rbs-4-2-update-3eb855 branch from b4ae23c to d765239 Compare August 27, 2026 07:51
@soutaro
soutaro disabled auto-merge August 27, 2026 07:57
@soutaro
soutaro force-pushed the claude/rbs-4-2-update-3eb855 branch from d765239 to cf121c3 Compare August 27, 2026 07:59
soutaro and others added 2 commits August 27, 2026 17:00
Require `rbs` 4.2 rather than 4.0. ruby/rbs#3067 fixes type param
alignment for module self types, which Steep relies on when it validates
mixin constraints, and the fix is not backported to the 4.1 series.

RBS 4.2 requires Ruby 3.3, so `required_ruby_version` moves up to match.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
It landed in Ruby 3.3, which is now the minimum supported version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@soutaro
soutaro force-pushed the claude/rbs-4-2-update-3eb855 branch from cf121c3 to 219391e Compare August 27, 2026 08:00
@soutaro
soutaro merged commit d09cc36 into master Aug 27, 2026
22 checks passed
@soutaro
soutaro deleted the claude/rbs-4-2-update-3eb855 branch August 27, 2026 08:26
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