Posted by naruse on 18 Apr 2025
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 callsnil.to_a
, similar to how**nil
does not callnil.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
andBinding#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
-
https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.gz
SIZE: 23146162 SHA1: ee0fcfe1342116f05060279ff0c9eb1e215db0b9 SHA256: ecf09c7eb902e91cdaf9cc553cd00cca9b848b3fc0e14297850f9ab08cdd46f0 SHA512: d718973648705636eff5933a0919132fd1f6b9afea432e09cce1265c6e0125e11cc94dbff84cba1caefc03190c48d8af4a27337d2af031f3f1660ca3a3531211
-
https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
SIZE: 17443928 SHA1: 8a78a9189afa20cde42207a466bcf7d421ee144b SHA256: c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa SHA512: 835bd0b65d546722c83b0ab454256357b48898a0de9aa8e38966f53d2370a6e99552eeaff76a0b680aefbbe7491e701e5e7357797e50f063c53e79d9561c1dac
-
https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.zip
SIZE: 28548713 SHA1: bd0c32bc84ac1ce9edbc9c0a50e8c72e56b1229d SHA256: 3e1d9df578c69976a01a69b961819d00c4e8942f8b5fe4fb8e135fca4f7e7e5e SHA512: 47057e1615b2b59d5bbd0d6629e1320ed74f3d70748f1db4e8b88d6c8a3ecd255eacc7dac0cccd01923fae4b4dff9e6b9457a9858c81dab81c1ab9ee514b15fa
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.