Skip to content

Releases: jruby/jruby

JRuby 10.1.0.0

21 Apr 13:56

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.1.0.0.

JRuby 10.1.0.x targets Ruby 4.0 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

JRuby 10.1: Experimenting and Evolving

JRuby 10.1.0.0 is our first major release since catching up with Ruby compatibility. We have used this opportunity to explore many experimental optimizations and improvements we have been chasing for many years. Ruby 4.0 compatibility is largely complete, but there will be additional features added in update releases. We also plan to continue with large scale experiments in subsequent updates, and recommend production users continue to use JRuby 10.0 while we work toward stabilization of the 10.1 series.

Here's an overview of the major enhancments already in JRuby 10.1.0.0 and others planned for update releases in the coming months.

Reduced Object Size

In JRuby 10.1 all objects have been reduced in size by 8 bytes, bringing the base object size down from 32 bytes to 24 bytes. This translates into smaller objects across the system, reduced GC load, higher allocation throughput, and better cache locality.

On JVM versions that support Compact Object Headers (JEP 450: "Project Lilliput") the base object size can be further reduced to 16 bytes, 40% smaller than objects in the standard Ruby implememtation.

Evolving Strings, Arrays, and Hashes

During the upcoming JRuby 10.1 update releases, we plan to introduce new versions of String, Array, and Hash that are optimized for memory compactness, concurrency, or integration with other JVM languages. To support these features, we have made the internal implementations RubyArray and RubyHash into abstract classes and deprecated the direct constructors for RubyString. Please test your JRuby extension code and make sure it does not call abstract or deprecated constructors.

Smaller Numeric Representations

JRuby's internal class for representing 64-bit signed Integer values, RubyFixnum, has been split into two versions: LongFixnum and ShortFixnum. Combined with the reduced size of objects overall, this reduces the size of these long and short-ranged Integer objects from 40 bytes to 32 bytes or 24 bytes (24 bytes or 16 bytes if using Compact Object Headers). The size of Float objects have similarly been reduced from 40 bytes to 32 bytes. These size reductions help improve the performance of numeric algorithms and reduce impact to the heap and GC of boxing numeric values.

Cross-platform Prism Parser

JRuby 10.1 ships with support for the Prism Ruby parser, packaged as a set of pre-optimized native builds (for Windows, Linux, and MacOS on x86_64 or arm64) or as a WASM build on other platforms. We're still working out a few remaining features, but we encourage experimenters to enable it by passing -Xparser.prism to JRuby. We plan to make this the default parser once the remaining issues are solved.

Direct Argument Passing

We have also laid the groundwork to start passing all forms of method arguments on the call stack, avoiding boxed collections for most optional and keyword arguments. In upcoming JRuby 10.1 releases, we will begin to connect these call paths up for both pure-Ruby and native (Java) method targets, eliminating box allocation and drastically improving the peformance of such forms. Watch this space for rapid improvements.

New Policy for EOL and LTS Releases

With the release of JRuby 10.1, we are moving JRuby 9.4 into a "soft" EOL status. This means we will no longer be doing regular OSS release updates of JRuby 9.4, but users may get in contact with us to sponsor continued support. JRuby 10.0 will be our stable LTS release until April 2028 and we recommend all users upgrade or get in contact with us for assistance. JRuby 10.1 will be our "tip" release line, with many exciting optimizations and enhancements due to land over the next several months.

Going forward, we will provide a new LTS baseline release every two years, starting in spring of 2027, and alternating years will be considered as edge or development versions without LTS guarantees. This will allow us a free hand to keep bringing you more experimental features while still providing a stable baseline for more conservative users.

Try JRuby Today!

Users can install JRuby 10.1 through the usual means, and we encourage you to give it a try and let us know how it handles your applications and libraries. We have much more planned for the 10.1 updates and hope to move fast and push the edges of what's possible with Ruby on the JVM.

59 Issues and PRs resolved for 10.1.0.0

Read more

JRuby 10.0.5.0

06 Apr 18:16

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.0.5.0.

JRuby 10.0.5.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward! @evaniainbrooks, @kares, @chadlwilson, #jimtng

Compatibility

  • Fixed: Two bugs in the JIT compiler that broke certain super calls and defined_method yields. (#8944, #8946, #9310, #9349)
  • Fixed: Fiber#raise left the fiber in an resumable state by not correctly transfering control. (#9297, #9356)
  • Fixed: Connecting a socket using nonblocking operations failed to complete the establishment of the connection. This affected Redis users, among other cases. (#9304, #9305)
  • Fixed: Process#detach raised a NullPointerException if called from a non-main thread. (#9314, #9311)

JVM Integration

  • Java 26 is officially supported. (#9332)

Platform Integration

  • New platform support: The native library backend for JRuby, JNR, has been updated to include support for the RISCv64 architecture.
  • Fixed on Windows: File#flock used unsupported native operations on Windows, causing it to raise errors. This affected the "logger" library, among other cases. (#9347, #9348)
  • Fixed on Windows: IO#popen failed to pass keyword arguments if also given a leading environment hash. (#9351, #9352)

Stability

  • Fixed: Several memory leaks that affected users running multiple JRuby instances in a single process. (#9070, #9092, #9187, #9359)

43 Issues and PRs resolved for 10.0.5.0

JRuby 10.0.4.0

04 Mar 17:08
9af05b9

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.0.4.0.

JRuby 10.0.4.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward! @evaniainbrooks, @katafrakt, @mrnoname1000

Standard Library

  • The syslog library moves to bundled gems. (#9198)
  • The unicode_normalize library is now thread-safely loaded as an internal library (#9231, #9232)

43 Issues and PRs resolved for 10.0.4.0

JRuby 10.0.3.0

02 Feb 22:16

Choose a tag to compare


layout: post
title: JRuby 10.0.3.0 Released

The JRuby community is pleased to announce the release of JRuby 10.0.3.0.

JRuby 10.0.3.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward! @mrnoname1000, @ngr-ilmarh, @Earlopain, @philr, @jotamartos, @kares, @aleksandrs-ledovskis, @trinistr, @katafrakt, @chadlwilson, @khasinski, @evaniainbrooks

Compatibility

  • JRuby now reports RbConfig::CONFIG['arch'] without a version number, as universal-java. This allows using different JDK versions without triggering RubyGems missing extension warnings for installed gems. The host Java version is still available as RbConfig::CONFIG['arch_version']. [#9107]

Standard Library

  • The non-gem standard library is upgraded to Ruby 3.4.5 #8967
  • rexml is updated to 3.4.4 to address CVE-2025-58767. #9011
  • syslog is moved to a default gem at version 0.4.0. The syslog gem now includes JRuby support. [#9109], ruby/syslog#1
  • strscan is updated to 3.1.7. [#9159]

Documentation

  • Ruby ri documentation for core and standard library are now included in the release distribution. #9049, #9052

All Issues/PRs

Read more

JRuby 9.4.14.0 Released

28 Aug 19:37

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 9.4.14.0.

JRuby 9.4.14.x targets Ruby 3.1 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward! @matthias-fratz-bsz, @ikaronen-relex, @ylecuyer

Compatibility

  • Ruby version is now 3.1.7. (#8966)

Libraries

Build

  • jruby-maven-plugins is updated to 3.0.6 to resolve issues with garbled gem poms. (#8898)
  • The stdlib build scripts have been modified to work with latest polyglot-ruby. (#8634, #8963)

Usability

  • bin/ruby and bin/ruby.bat are now shipped in the distribution, to make installation simpler. (#8875)

29 Issues and PRs resolved for 9.4.14.0

JRuby 10.0.2.0

07 Aug 16:19

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.0.2.0.

JRuby 10.0.2.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

7 Issues and PRs resolved for 10.0.2.0

JRuby 10.0.1.0

17 Jul 18:26

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.0.1.0.

JRuby 10.0.1.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

Compatibility

Libraries

  • The net-imap library is updated from 0.5.4 to 0.5.8 (#8826, #8828)

62 Issues and PRs resolved for 10.0.1.0

JRuby 9.4.13.0

10 Jun 17:43

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 9.4.13.0.

JRuby 9.4.13.x targets Ruby 3.1 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

Stability

  • Fixed a slow memory leak in subclass management. (#8842, #8844)
  • Fixed a potential deadlock during multi-threaded boot and concurrent JIT compilation. (#8845, #8849)

Usability

56 Issues and PRs resolved for 9.4.13.0

JRuby 10.0.0.1 Released

07 May 16:44

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 10.0.0.1.

We've jumped to Ruby 3.4 compatibility and Java 21 minimum to bring you the best Ruby on JVM experience possible. We are confident this is the most compatible and stable major release we've ever had.

Security

JRuby 9.4.12.1 Released

07 May 16:27

Choose a tag to compare

The JRuby community is pleased to announce the release of JRuby 9.4.12.1.

JRuby 9.4.12.x targets Ruby 3.1 compatibility.

Security