Posted by nurse on 23 Sep 2013
We are pleased to announce the release of Ruby 2.1.0-preview1. Please check out the new features in Ruby 2.1 before the final release!
Download
We recommend to use https://cache.ruby-lang.org/pub/ruby/2.1/ via Fastly.
-
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
Changes
The notable changes are:
- VM (method cache)
- RGenGC (See ko1’s RubyKaigi presentation and EuRuKo presentation)
- refinements
- syntax
- Decimal Literal
- Frozen String Literal
- def’s return value
- Bignum
- 128bit
- GMP
- String#scrub
- Socket.getifaddrs
- new RubyGems
See more details of changes: NEWS in Ruby repository (WIP).
ko1 exhibited toruby presentation: Summary of Ruby 2.1
Konstantin Haase (@konstantinhaase) wrote a good summary in his blog post: What’s new in Ruby 2.1?.
Release Comment
Known issues are:
https://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102
See also the release schedule and other information:
https://bugs.ruby-lang.org/projects/ruby-master/wiki/ReleaseEngineering210