All Versions
10
Latest Version
Avg Release Cycle
55 days
Latest Release
665 days ago

Changelog History

  • v9.2.11.1 Changes

    March 25, 2020

    🚀 The JRuby community is pleased to announce the release of JRuby 9.2.11.1

    ⬆️ JRuby 9.2.x is compatible with Ruby 2.5.x and stays in sync with C Ruby. As always there is a mix of miscellaneous fixes so be sure to read the issue list below. All users are encouraged to upgrade.

    🚀 As we are actively working on 9.3.0.0 we decided to put out a mini release which fixes a single issue.

    • 🖨 sprintf substring string formatting with precision may expose characters (#6137)

    👀 If you format a string using a precision specifier (e.g. %.1s) AND you pass in a substring of a larger string, you may see some of the larger string's characters in the formatted result. This is due to a bug in the handling of internal String data that causes the result to contain more characters than requested.

    long\_string = "aabbccddhelloddccbbaa"start\_index = 8sub\_str\_length = 5precision = 3sub\_string = long\_string[start\_index, sub\_str\_length]puts sprintf("%.#{precision}s", sub\_string)# =\> helloddccbb
    

    ⬆️ This bug could potentially expose sensitive content from the original String. It is unlikely to affect most users, but you are still encouraged to upgrade.

    Github Issues resolved for 9.2.11.1

    • 🖨 #6138 - Subtract begin offset for partial substring in sprintf 's'
    • 🖨 #6137 - sprintf adds extra buffer slots when precision arg truncates string slices
  • v9.2.11.0 Changes

    March 02, 2020

    🚀 The JRuby community is pleased to announce the release of JRuby 9.2.11.0

    ⬆️ JRuby 9.2.x is compatible with Ruby 2.5.x and stays in sync with C Ruby. As always there is a mix of miscellaneous fixes so be sure to read the issue list below. All users are encouraged to upgrade.

    Java Integration

    • 📦 Gems and gem paths packaged inside jar files will properly load now. This 9.2.10.0 regression was caused by a change in RubyGems 3 that exposed a bug in JRuby. (#6060, #6082, #6083, #6084)

    🐎 Performance Improvements

    • 🛠 Fixed a major performance and memory bottleneck in backtrace generation, used by Kernel#caller and friends. This was a regression in 9.2.10.0. (#6089)

    Github Issues resolved for 9.2.11.0

    • #6097 - CGI.escapeHTML restore the original encoding
    • 💎 #6093 - CGI.escapeHTML crashes on invalid byte sequence where CRuby does not
    • 💎 #6091 - Check arity earlier in JavaConstructor#new_instance
    • 💎 #6090 - [9.2.10.0] bogus revision regression
    • 🐎 #6089 - Pontential performance issue
    • 💎 #6084 - Use expand_path logic for Dir.glob base path
    • #6083 - Basic smoke test with warbler no longer works with jruby-jars-9.2.10
    • ⬆️ #6082 - Upgrade to 9.2.10.0 breaks project using asciidoctor-maven-plugin
    • 💎 #6081 - Dependency convergence errors in 9.2.10.0
    • 💎 #6079 - newInstance on protected/private classes sometimes give an Index OOB Exception
    • 💎 #6060 - Globbed jar contents with expand path failing in RubyGems
  • v9.2.10.0 Changes

    February 18, 2020

    🚀 The JRuby community is pleased to announce the release of JRuby 9.2.10.0

    ⬆️ JRuby 9.2.x is compatible with Ruby 2.5.x and stays in sync with C Ruby. As always there is a mix of miscellaneous fixes so be sure to read the issue list below. All users are encouraged to upgrade.

    💎 Ruby Core

    • Kernel#send and BasicObject#__send__ will now honor refinements used in the surrounding scopes. (#5945, #6045)
    • 💎 Kernel#eval will now honor refinements used in a given binding. (#6017)
    • 💎 Process#spawn now correctly processes environment variables for the child process. (#3428, #5907)

    💎 Ruby Standard Library

    • ⚡️ RubyGems has been updated to version 3.0.6. (#5995, #5996)
    • 🚀 The jruby-openssl library has been updated to 0.10.4. This release improves support for newer forms of ciphers and cryptographic keys and reduces the number of Java module warnings displayed. (#6077)
    • 💎 The compatibility of the fiddle library has been improved. (#5955, #5956, #5960)

    👍 Java Support

    • 🛠 Java methods looked up one-at-a-time using java_method and friends now honor Java modules. This fixes some
      💎 illegal access errors introduced in JRuby 9.2.9.0. (#5894, #5969, #6043, #6069, #6072)
    • ⚠ More illegal access warnings have been cleaned up in JRuby and the jruby-openssl extension.

    Native FFI Improvements

    • 🔒 The native subsystem has been rebuilt on MacOS to avoid security warnings due to the old toolchain originally used to build it. (#6044, #6074)
    • ⚡️ Native constants have been updated for Windows to better support the Ruby socket API. (#5656, #6070, #6071)

    🐎 Performance Improvements

    💎 JRuby Launcher

    • 🚀 Java options dotfiles accidentally omitted in the JRuby 9.2.9.0 release have been restored in the bin directory.
    • ⚡️ The bash-based launcher script has been cleaned up and optimized for cross-platform compatibility. (#5977, #6007, #6016)

    Thank You!

    💎 The JRuby project would not be possible without contributions from you!

    🚀 This release includes pull requests or major contributions from the following Github users (in no particular order): @matthewd, @fidothe, @MariuszCwikla, @ahorek, @deivid-rodriguez, @pythias, @rotty3000, @rmannibucau, @Mrnoname1000, @kares, @mkristian, @eregon

    💎 Github Issues resolved for 9.2.10.0

  • v9.2.9.0

    October 30, 2019
  • v9.2.8.0

    August 12, 2019
  • v9.2.7.0

    April 09, 2019
  • v9.2.6.0

    February 11, 2019
  • v9.2.5.0

    December 06, 2018
  • v9.2.4.1

    November 28, 2018
  • v9.2.4.0

    November 13, 2018