Ruby 2.1.0-preview1 發佈了
由 nurse 發表於 2013-09-23
翻譯: Juanito Fatas
很榮幸告訴大家我們發佈了 Ruby 2.1.0-preview1。 請在最終發佈版出來之前,試試看 Ruby 2.1 新的特色!
下載
推薦透過 Fastly https://cache.ruby-lang.org/pub/ruby/2.1/ 下載。
-
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.bz2
SIZE: 11475553 bytes MD5: d32d1ea23988399afadbd21c5a7a37fc SHA256: 860b90d28b214393fd9d77ac2ad65b384d8249cd59b658c668cf0c7bad1db341 -
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.tar.gz
SIZE: 14449544 bytes MD5: 9df4f546f6b961895ba58a8afdf857da SHA256: 747472fb33bcc529f1000e5320605a7e166a095d3805520b989e73b33c05b046 -
https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview1.zip
SIZE: 16124069 bytes MD5: f9bc3f9a10174a022381ce2c60a59e64 SHA256: 28855621f7d364277e7f258d5cc380e005896ef8ebc36e5cbf78d2bf763c291b
變化
值得一提的變化有:
- VM (method cache)
- RGenGC (參見 ko1’s RubyKaigi 簡報 及 EuRuKo 簡報)
- refinements
- syntax
- Decimal Literal
- Frozen String Literal
- def’s return value
- Bignum
- 128bit
- GMP
- String#scrub
- Socket.getifaddrs
- new RubyGems
關於 Ruby 2.1 更多的細節:NEWS in Ruby repository (WIP)
ko1 的 toruby 簡報:Summary of Ruby 2.1
Konstantin Haase (@konstantinhaase) 寫了篇文章總結了 2.1 的變化:What’s new in Ruby 2.1?.
發佈記
已知問題:
https://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102
請參考下列時程與其他資訊:
https://bugs.ruby-lang.org/projects/ruby-master/wiki/ReleaseEngineering210
最新消息
Ruby 4.0.0 preview2 發布
我們很高興宣布 Ruby 4.0.0-preview2 發布了。 Ruby 4.0 將 Unicode 版本更新至 17.0.0,以及其他更新。
由 naruse 發表於 2025-11-17
Ruby 3.3.10 發布
Ruby 3.3.10 已經發布了。
由 nagachika 發表於 2025-10-23
移交 RubyGems 程式碼儲存庫的所有權
親愛的 Ruby 社群
由 matz 發表於 2025-10-17
Ruby 3.4.7 發布
Ruby 3.4.7 已經發布了。
由 k0kubun 發表於 2025-10-07