JRuby v9.2.10.0 Release Notes

Release Date: 2020-02-18 // about 4 years ago
  • ๐Ÿš€ 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

    • ๐Ÿ’Ž Several improvements to the method invocation pipeline and JVM bytecode output to improve JIT optimizations. (#5958, #5959, #5978, #5992, #6005)
    • โšก๏ธ Several core methods used by Rails and the internal handling of exception backtraces have been optimized. (#5952, #5961, #5965, #5972, #6014, #6015, #6031, #6067)

    ๐Ÿ’Ž 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