Skip to content

feat!: Require Ruby 3.4 and JRuby 10 - #475

Merged
keelerm84 merged 1 commit into
feat/9.xfrom
mk/SDK-3431/min-ruby-3.4
Nov 2, 2026
Merged

keelerm84 merged 1 commit into
feat/9.xfrom
mk/SDK-3431/min-ruby-3.4

Conversation

@keelerm84

@keelerm84 keelerm84 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

The SDK no longer supports Ruby versions that are end-of-life or in
security-only maintenance. Ruby 3.2 is end-of-life, and Ruby 3.3 gets only
security fixes. The new minimum is Ruby 3.4.

JRuby 9.4 reports Ruby 3.1 compatibility, so it no longer meets the minimum.
JRuby 10 targets Ruby 3.4 and requires Java 21.

CI now tests Ruby 3.4, Ruby 4.0 and JRuby 10.0, and the JRuby gem builds on
JRuby 10.0. JRuby jobs install Java 21 because the runner image defaults to an
older Java. Every job now uses Bundler 4, so the Bundler 2 fallback for JRuby 9
is removed.


Note

Overview
Breaking: The gem now declares required_ruby_version >= 3.4.0, README and RuboCop TargetRubyVersion match, and JRuby users must run JRuby 10.0 (Java 21).

CI and release workflows move off Ruby 3.2 / jruby-9.4: the Linux matrix runs 3.4, 4.0, and jruby-10.0; docs, Windows, build-gem defaults, and publish/release-please jobs use 3.4 for CRuby and jruby-10.0 for the JRuby artifact.

The composite setup action installs Temurin Java 21 when the requested version is JRuby, and always pins Bundler 4.0.19 (the conditional Bundler 2 path for old JRuby is removed).

Reviewed by Cursor Bugbot for commit ce6ac45. Bugbot is set up for automated code reviews on this repo. Configure here.

The SDK no longer supports Ruby versions that are end-of-life or in
security-only maintenance. Ruby 3.2 is end-of-life, and Ruby 3.3 gets only
security fixes. The new minimum is Ruby 3.4.

JRuby 9.4 reports Ruby 3.1 compatibility, so it no longer meets the minimum.
JRuby 10 targets Ruby 3.4 and requires Java 21.

CI now tests Ruby 3.4, Ruby 4.0 and JRuby 10.0, and the JRuby gem builds on
JRuby 10.0. JRuby jobs install Java 21 because the runner image defaults to an
older Java. Every job now uses Bundler 4, so the Bundler 2 fallback for JRuby 9
is removed.
@keelerm84
keelerm84 marked this pull request as ready for review November 2, 2026 16:28
@keelerm84
keelerm84 requested a review from a team as a code owner November 2, 2026 16:28
@keelerm84
keelerm84 merged commit b42f3c1 into feat/9.x Nov 2, 2026
12 checks passed
@keelerm84
keelerm84 deleted the mk/SDK-3431/min-ruby-3.4 branch November 2, 2026 16:56
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.

2 participants