Skip to content

Commit ed71d06

Browse files
authored
Merge branch 'master' into ru-news-2025-02
2 parents cae668b + 5ef3a8f commit ed71d06

File tree

9 files changed

+145
-5
lines changed

9 files changed

+145
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Dump environment
2222
run: env | sort
2323
- name: Checkout ruby/www.ruby-lang.org
24-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2525
with:
2626
fetch-depth: 1
2727
- name: Setup Ruby

.github/workflows/draft-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717
if: github.repository == 'ruby/www.ruby-lang.org'
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6.0.0
2020

21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6.0.0
2222
with:
2323
repository: ruby/ruby
2424
path: ruby

.github/workflows/jekyll.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
24+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
2525
- name: Setup Ruby
2626
uses: ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0
2727
with:

en/community/conferences/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ You can also find the GitHub repository link there to add or update information
4040

4141
[rc]: https://www.rubyevents.org/
4242
[1]: http://rubyconf.org/
43+
[2]: http://rubycentral.org/
4344
[3]: http://rubykaigi.org/
4445
[4]: http://euruko.org

en/news/_posts/2025-11-17-ruby-4-0-0-preview2-released.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,10 @@ since Ruby 3.4.0!
120120
Ruby was first developed by Matz (Yukihiro Matsumoto) in 1993,
121121
and is now developed as Open Source. It runs on multiple platforms
122122
and is used all over the world especially for web development.
123+
124+
[Feature #21047]: https://bugs.ruby-lang.org/issues/21047
125+
[Bug #21049]: https://bugs.ruby-lang.org/issues/21049
126+
[Feature #20610]: https://bugs.ruby-lang.org/issues/20610
127+
[Feature #19908]: https://bugs.ruby-lang.org/issues/19908
128+
[Feature #20724]: https://bugs.ruby-lang.org/issues/20724
129+
[Feature #21275]: https://bugs.ruby-lang.org/issues/21275

ja/news/_posts/2025-10-17-rubygems-repository-transition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: news_post
3-
title: "The Transition of RubyGems Repository Ownership"
3+
title: "RubyGemsリポジトリ所有権の移行"
44
author: "matz"
55
translator:
66
date: 2025-10-17 12:00:00 +0000

ja/news/_posts/2025-11-17-ruby-4-0-0-preview2-released.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,10 @@ Ruby {{ release.version }} が公開されました。Ruby 4.0では、Unicode
113113
## What is Ruby
114114

115115
Rubyはまつもとゆきひろ (Matz) によって1993年に開発が始められ、今もオープンソースソフトウェアとして開発が続けられています。Rubyは様々なプラットフォームで動き、世界中で、特にWebアプリケーション開発のために使われています。
116+
117+
[Feature #21047]: https://bugs.ruby-lang.org/issues/21047
118+
[Bug #21049]: https://bugs.ruby-lang.org/issues/21049
119+
[Feature #20610]: https://bugs.ruby-lang.org/issues/20610
120+
[Feature #19908]: https://bugs.ruby-lang.org/issues/19908
121+
[Feature #20724]: https://bugs.ruby-lang.org/issues/20724
122+
[Feature #21275]: https://bugs.ruby-lang.org/issues/21275

ko/community/conferences/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,6 @@ Ruby에 대한 콘퍼런스 목록입니다. 이곳에서는 행사일, 장소,
3939

4040
[rc]: https://www.rubyevents.org/
4141
[1]: http://rubyconf.org/
42+
[2]: https://rubycentral.org/
4243
[3]: http://rubykaigi.org/
4344
[4]: http://euruko.org
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
---
2+
layout: news_post
3+
title: "Ruby 4.0.0 preview2 發布"
4+
author: "naruse"
5+
translator: "Bear Su"
6+
date: 2025-11-17 00:00:00 +0000
7+
lang: zh_tw
8+
---
9+
10+
{% assign release = site.data.releases | where: "version", "4.0.0-preview2" | first %}
11+
我們很高興宣布 Ruby {{ release.version }} 發布了。 Ruby 4.0 將 Unicode 版本更新至 17.0.0,以及其他更新。
12+
13+
## 語法變更
14+
15+
* `*nil` 不再呼叫 `nil.to_a`,就跟 `**nil` 不呼叫 `nil.to_hash` 一樣。[[Feature #21047]]
16+
17+
## 核心類別更新
18+
19+
注意:我們只列出特別的類別更新。
20+
21+
* Binding
22+
23+
* `Binding#local_variables` 不再包含編號參數。
24+
同時,`Binding#local_variable_get``Binding#local_variable_set` 也不再處理編號參數。
25+
[[Bug #21049]]
26+
27+
* IO
28+
29+
* `IO.select` 允許 +Float::INFINITY+ 作為逾時參數。
30+
[[Feature #20610]]
31+
32+
* String
33+
34+
* 更新 Unicode 至版本 17.0.0 和 Emoji 版本 17.0。[[Feature #19908]][[Feature #20724]][[Feature #21275]]
35+
(也套用到 Regexp)
36+
37+
38+
## 標準函式庫更新
39+
40+
注意:我們只列出特別的標準函式庫更新。
41+
42+
* ostruct 0.6.1
43+
* pstore 0.2.0
44+
* benchmark 0.4.0
45+
* logger 1.7.0
46+
* rdoc 6.13.1
47+
* win32ole 1.9.2
48+
* irb 1.15.2
49+
* reline 0.6.1
50+
* readline 0.0.4
51+
* fiddle 1.1.6
52+
53+
## 相容性問題
54+
55+
注意:不包含功能問題的修正。
56+
57+
58+
59+
## 標準函式庫相容問題
60+
61+
62+
## C API 更新
63+
64+
65+
## JIT
66+
67+
* YJIT
68+
* YJIT stats
69+
* `ratio_in_yjit` 不再於預設建置中運作。
70+
請使用 `--enable-yjit=stats``configure` 中啟用 `--yjit-stats`
71+
* 預設統計新增 `invalidate_everything`,當所有程式碼被 TracePoint 無效化時遞增。
72+
* `RubyVM::YJIT.enable` 新增 `mem_size:``call_threshold:` 選項。
73+
* ZJIT
74+
* 新增基於實驗性方法的 JIT 編譯器。
75+
使用 `--enable-zjit``configure` 中啟用 `--zjit` 支援。
76+
* 截至 Ruby 4.0.0-preview2,ZJIT 尚未準備好加速大多數基準測試。
77+
請暫時避免評估 ZJIT。敬請期待 Ruby 4.0 發布。
78+
* RJIT
79+
* 移除 `--rjit`。我們將把第三方 JIT API 的實作移至 [ruby/rjit](https://github.com/ruby/rjit) 儲存庫。
80+
81+
## 其他變更
82+
83+
84+
85+
參見 [NEWS](https://github.com/ruby/ruby/blob/{{ release.tag }}/NEWS.md)
86+
[commit logs](https://github.com/ruby/ruby/compare/v3_4_0...{{ release.tag }})
87+
來了解更多。
88+
89+
自 Ruby 3.4.0 以來,計 [{{ release.stats.files_changed }} 檔案變更,{{ release.stats.insertions }} 行新增(+),{{ release.stats.deletions }} 行刪減(-)](https://github.com/ruby/ruby/compare/v3_3_0...{{ release.tag }}#file_bucket)!
90+
91+
## 下載
92+
93+
* <{{ release.url.gz }}>
94+
95+
SIZE: {{ release.size.gz }}
96+
SHA1: {{ release.sha1.gz }}
97+
SHA256: {{ release.sha256.gz }}
98+
SHA512: {{ release.sha512.gz }}
99+
100+
* <{{ release.url.xz }}>
101+
102+
SIZE: {{ release.size.xz }}
103+
SHA1: {{ release.sha1.xz }}
104+
SHA256: {{ release.sha256.xz }}
105+
SHA512: {{ release.sha512.xz }}
106+
107+
* <{{ release.url.zip }}>
108+
109+
SIZE: {{ release.size.zip }}
110+
SHA1: {{ release.sha1.zip }}
111+
SHA256: {{ release.sha256.zip }}
112+
SHA512: {{ release.sha512.zip }}
113+
114+
## Ruby 是什麼
115+
116+
Ruby 最初由 Matz(Yukihiro Matsumoto)於 1993 年開發的開源軟體。可以在許多平台上執行。使用者來自世界各地,特別活躍於網路開發領域。
117+
118+
119+
[Feature #21047]: https://bugs.ruby-lang.org/issues/21047
120+
[Bug #21049]: https://bugs.ruby-lang.org/issues/21049
121+
[Feature #20610]: https://bugs.ruby-lang.org/issues/20610
122+
[Feature #19908]: https://bugs.ruby-lang.org/issues/19908
123+
[Feature #20724]: https://bugs.ruby-lang.org/issues/20724
124+
[Feature #21275]: https://bugs.ruby-lang.org/issues/21275

0 commit comments

Comments
 (0)