We are pleased to announce the release of Ruby 2.1.0-preview2.Please test the new features in Ruby 2.1 before the final release!
Notable changes from preview 1 fix Heap Overflow in Floating Point Parsing (CVE-2013-4164) “literal”.freeze is now optimized #9042 f suffix of String Literal is removed #9042 fix memory consuming issue on RGenGC (r43532 and r43755) add Exception#cause #8257 update libraries like json, nkf, rake, RubyGems, and RDoc.Download
http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.bz2
SIZE: 11432454 bytesMD5: 9d566a9b2d2e7e35ad6125e2a14ce672SHA256: 780fddf0e3c8a219057d578e83367ecfac5e945054b9f132b3b93ded4802d1ce
http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.tar.gz
SIZE: 14416029 bytesMD5: ba2b95d174e156b417a4d580a452eaf5SHA256: a9b1dbc16090ddff8f6c6adbc1fd0473bcae8c69143cecabe65d55f95f6dbbfb
http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0-preview2.zip
SIZE: 16110720 bytesMD5: 2ad1aa3d89ae32607cf14fc73b192de1SHA256: cc2f7f8e05daed716489e5480e6365a711a13ed7747dbc59e989a41fe2805076
Changes from 2.0
The notable changes are:
VM (method cache) RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation) refinements #8481 #8571 syntax changes Rational/Complex Literal #8430 def’s return value #3753 Bignum use 128bit integers #8509 use GMP #8796 String#scrub #8414 Socket.getifaddrs #8368 RDoc 4.1.0.preview.2 and RubyGems 2.2.0.preview.2
See more details of changes: NEWS in Ruby repository (WIP).
ko1 talked about the new features of Ruby 2.1 at toruby: All about 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:
http://bugs.ruby-lang.org/projects/ruby-trunk/issues?query_id=102
See also the release schedule and other information:
http://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseEngineering210
Posted by nurse on 22 Nov 2013