|
| 1 | +--- |
| 2 | +layout: news_post |
| 3 | +title: "Ruby 3.5.0 preview1 Released" |
| 4 | +author: "naruse" |
| 5 | +translator: |
| 6 | +date: 2025-04-18 00:00:00 +0000 |
| 7 | +lang: en |
| 8 | +--- |
| 9 | + |
| 10 | +{% assign release = site.data.releases | where: "version", "3.5.0-preview1" | first %} |
| 11 | +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. |
| 12 | + |
| 13 | +## Language changes |
| 14 | + |
| 15 | +* `*nil` no longer calls `nil.to_a`, similar to how `**nil` does |
| 16 | + not call `nil.to_hash`. [[Feature #21047]] |
| 17 | + |
| 18 | +## Core classes updates |
| 19 | + |
| 20 | +Note: We're only listing notable updates of Core class. |
| 21 | + |
| 22 | +* Binding |
| 23 | + |
| 24 | + * `Binding#local_variables` does no longer include numbered parameters. |
| 25 | + Also, `Binding#local_variable_get` and `Binding#local_variable_set` reject to handle numbered parameters. |
| 26 | + [[Bug #21049]] |
| 27 | + |
| 28 | +* IO |
| 29 | + |
| 30 | + * `IO.select` accepts +Float::INFINITY+ as a timeout argument. |
| 31 | + [[Feature #20610]] |
| 32 | + |
| 33 | +* String |
| 34 | + |
| 35 | + * Update Unicode to Version 15.1.0 and Emoji Version 15.1. [[Feature #19908]] |
| 36 | + (also applies to Regexp) |
| 37 | + |
| 38 | + |
| 39 | +## Standard Library updates |
| 40 | + |
| 41 | +Note: We're only listing notable updates of Standard librarires. |
| 42 | + |
| 43 | +* ostruct 0.6.1 |
| 44 | +* pstore 0.2.0 |
| 45 | +* benchmark 0.4.0 |
| 46 | +* logger 1.7.0 |
| 47 | +* rdoc 6.13.1 |
| 48 | +* win32ole 1.9.2 |
| 49 | +* irb 1.15.2 |
| 50 | +* reline 0.6.1 |
| 51 | +* readline 0.0.4 |
| 52 | +* fiddle 1.1.6 |
| 53 | + |
| 54 | +## Compatibility issues |
| 55 | + |
| 56 | +Note: Excluding feature bug fixes. |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | +## Standard library compatibility issues |
| 61 | + |
| 62 | + |
| 63 | +## C API updates |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +## Miscellaneous changes |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +See [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md) |
| 72 | +or [commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }}) |
| 73 | +for more details. |
| 74 | + |
| 75 | +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) |
| 76 | +since Ruby 3.4.0! |
| 77 | + |
| 78 | +## Download |
| 79 | + |
| 80 | +* <{{ release.url.gz }}> |
| 81 | + |
| 82 | + SIZE: {{ release.size.gz }} |
| 83 | + SHA1: {{ release.sha1.gz }} |
| 84 | + SHA256: {{ release.sha256.gz }} |
| 85 | + SHA512: {{ release.sha512.gz }} |
| 86 | + |
| 87 | +* <{{ release.url.xz }}> |
| 88 | + |
| 89 | + SIZE: {{ release.size.xz }} |
| 90 | + SHA1: {{ release.sha1.xz }} |
| 91 | + SHA256: {{ release.sha256.xz }} |
| 92 | + SHA512: {{ release.sha512.xz }} |
| 93 | + |
| 94 | +* <{{ release.url.zip }}> |
| 95 | + |
| 96 | + SIZE: {{ release.size.zip }} |
| 97 | + SHA1: {{ release.sha1.zip }} |
| 98 | + SHA256: {{ release.sha256.zip }} |
| 99 | + SHA512: {{ release.sha512.zip }} |
| 100 | + |
| 101 | +## What is Ruby |
| 102 | + |
| 103 | +Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993, |
| 104 | +and is now developed as Open Source. It runs on multiple platforms |
| 105 | +and is used all over the world especially for web development. |
0 commit comments