Skip to content

Ruby 3.5.0 Preview 1 Released #3549

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions _data/branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
# date: date of first stable release (YYYY-MM-DD)
# eol_date: date of EOL (YYYY-MM-DD)

- name: 3.5
status: preview
date:
eol_date:

- name: 3.4
status: normal maintenance
date: 2024-12-25
Expand Down
1 change: 1 addition & 0 deletions _data/downloads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# optional
preview:

- 3.5.0-preview1

stable:

Expand Down
31 changes: 31 additions & 0 deletions _data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,37 @@
# In order to get the release listed on the downloads page,
# you also need to add an entry to `_data/downloads.yml'.

# 3.5 series

- version: 3.5.0-preview1
date: 2025-04-18
post: /en/news/2025/04/18/ruby-3-5-0-preview1-released/
tag: v3_5_0_preview1
stats:
files_changed: 2065
insertions: 36581
deletions: 203037
url:
gz: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.gz
zip: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.zip
xz: https://cache.ruby-lang.org/pub/ruby/3.5/ruby-3.5.0-preview1.tar.xz
size:
gz: 23146162
zip: 28548713
xz: 17443928
sha1:
gz: ee0fcfe1342116f05060279ff0c9eb1e215db0b9
zip: bd0c32bc84ac1ce9edbc9c0a50e8c72e56b1229d
xz: 8a78a9189afa20cde42207a466bcf7d421ee144b
sha256:
gz: ecf09c7eb902e91cdaf9cc553cd00cca9b848b3fc0e14297850f9ab08cdd46f0
zip: 3e1d9df578c69976a01a69b961819d00c4e8942f8b5fe4fb8e135fca4f7e7e5e
xz: c6cc1e9f23fe4719b024b8305345ca0cff4e1bc159f3ebff86cb5b87969863aa
sha512:
gz: d718973648705636eff5933a0919132fd1f6b9afea432e09cce1265c6e0125e11cc94dbff84cba1caefc03190c48d8af4a27337d2af031f3f1660ca3a3531211
zip: 47057e1615b2b59d5bbd0d6629e1320ed74f3d70748f1db4e8b88d6c8a3ecd255eacc7dac0cccd01923fae4b4dff9e6b9457a9858c81dab81c1ab9ee514b15fa
xz: 835bd0b65d546722c83b0ab454256357b48898a0de9aa8e38966f53d2370a6e99552eeaff76a0b680aefbbe7491e701e5e7357797e50f063c53e79d9561c1dac

# 3.4 series

- version: 3.4.3
Expand Down
105 changes: 105 additions & 0 deletions en/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
layout: news_post
title: "Ruby 3.5.0 preview1 Released"
author: "naruse"
translator:
date: 2025-04-18 00:00:00 +0000
lang: en
---

{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %}
We are pleased to announce the release of Ruby {{ release.version }}. Ruby 3.4 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](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
or [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }})
for more details.

With those changes, [{{ release.stats.files_changed }} files changed, {{ release.stats.insertions }} insertions(+), {{ release.stats.deletions }} deletions(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)
since Ruby 3.4.0!

## Download

* <{{ release.url.gz }}>

SIZE: {{ release.size.gz }}
SHA1: {{ release.sha1.gz }}
SHA256: {{ release.sha256.gz }}
SHA512: {{ release.sha512.gz }}

* <{{ release.url.xz }}>

SIZE: {{ release.size.xz }}
SHA1: {{ release.sha1.xz }}
SHA256: {{ release.sha256.xz }}
SHA512: {{ release.sha512.xz }}

* <{{ release.url.zip }}>

SIZE: {{ release.size.zip }}
SHA1: {{ release.sha1.zip }}
SHA256: {{ release.sha256.zip }}
SHA512: {{ release.sha512.zip }}

## 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.
99 changes: 99 additions & 0 deletions ja/news/_posts/2025-04-18-ruby-3-5-0-preview1-released.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
---
layout: news_post
title: "Ruby 3.5.0 preview1 リリース"
author: "naruse"
translator:
date: 2025-04-18 00:00:00 +0000
lang: ja
---

{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %}
Ruby {{ release.version }} が公開されました。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/{{ release.tag }}/NEWS.md)
か [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}) を参照してください。


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


## Download

* <{{ release.url.gz }}>

SIZE: {{ release.size.gz }}
SHA1: {{ release.sha1.gz }}
SHA256: {{ release.sha256.gz }}
SHA512: {{ release.sha512.gz }}

* <{{ release.url.xz }}>

SIZE: {{ release.size.xz }}
SHA1: {{ release.sha1.xz }}
SHA256: {{ release.sha256.xz }}
SHA512: {{ release.sha512.xz }}

* <{{ release.url.zip }}>

SIZE: {{ release.size.zip }}
SHA1: {{ release.sha1.zip }}
SHA256: {{ release.sha256.zip }}
SHA512: {{ release.sha512.zip }}

## What is Ruby

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