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.
SIZE: 11432454 bytes MD5: 9d566a9b2d2e7e35ad6125e2a14ce672 SHA256: 780fddf0e3c8a219057d578e83367ecfac5e945054b9f132b3b93ded4802d1ce
SIZE: 14416029 bytes MD5: ba2b95d174e156b417a4d580a452eaf5 SHA256: a9b1dbc16090ddff8f6c6adbc1fd0473bcae8c69143cecabe65d55f95f6dbbfb
SIZE: 16110720 bytes MD5: 2ad1aa3d89ae32607cf14fc73b192de1 SHA256: 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
- 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?.
Known issues are:
See also the release schedule and other information:
Posted by nurse on 22 Nov 2013