Ruby 3.5.0 preview1 Released

We are pleased to announce the release of Ruby 3.5.0-preview1. Ruby 3.5 updates its Unicode version to 15.1.0, and so on.

Language changes

  • *nil no longer calls nil.to_a, similar to how **nil does not call nil.to_hash. [Feature #21047]

Core classes updates

Note: We’re only listing notable updates of Core class.

  • Binding

    • Binding#local_variables does no longer include numbered parameters. Also, Binding#local_variable_get and Binding#local_variable_set reject to handle numbered parameters. [Bug #21049]
  • IO

    • IO.select accepts +Float::INFINITY+ as a timeout argument. [Feature #20610]
  • String

    • Update Unicode to Version 15.1.0 and Emoji Version 15.1. [Feature #19908] (also applies to Regexp)

Standard Library updates

Note: We’re only listing notable updates of Standard librarires.

  • ostruct 0.6.1
  • pstore 0.2.0
  • benchmark 0.4.0
  • logger 1.7.0
  • rdoc 6.13.1
  • win32ole 1.9.2
  • irb 1.15.2
  • reline 0.6.1
  • readline 0.0.4
  • fiddle 1.1.6

Compatibility issues

Note: Excluding feature bug fixes.

Standard library compatibility issues

C API updates

Miscellaneous changes

See NEWS or commit logs for more details.

With those changes, 2065 files changed, 36581 insertions(+), 203037 deletions(-) since Ruby 3.4.0!

Download

What is Ruby

Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, and is now developed as Open Source. It runs on multiple platforms and is used all over the world especially for web development.



OSZAR »