
Ruby 3.5.0-preview1 が公開されました。Ruby 3.5では、Unicodeバージョンの15.1.0へのアップデートなど様々な改善が行われています。



## 言語機能の変更



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

## コアクラスのアップデート

注: 複数のアップデートの中から注目すべきアップデートのみを掲載しています。

* 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)


## 標準ライブラリのアップデート

注: 複数のアップデートの中から注目すべき標準ライブラリのアップデートのみを掲載しています。



## 互換性に関する変更

注: 不具合修正を除きます。



## 標準ライブラリの互換性の変更



## C API のアップデート



## その他の変更点



より詳細な情報は [NEWS](https://github.com/ruby/ruby/blob/v3_5_0_preview1/NEWS.md)
か [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...v3_5_0_preview1) を参照してください。


これらの変更により、Ruby 3.4.0から [2065 ファイルが変更され、 36581 行が追加され、 203037 行が削除されました!deletions(-)](https://github.com/ruby/ruby/compare/v3_4_0...v3_5_0_preview1#file_bucket)


## 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はまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。

[Feature #21047]: https://bugs.ruby-lang.org/issues/21047
[Bug #21049]: https://bugs.ruby-lang.org/issues/21049
[Feature #20610]: https://bugs.ruby-lang.org/issues/20610
[Feature #19908]: https://bugs.ruby-lang.org/issues/19908
