Ruby 2.2.0-preview1 Released

We are pleased to announce the release of Ruby 2.2.0-preview1.

Ruby 2.2.0-preview1 is the first preview of Ruby 2.2.0. Many new features and improvements are included for the increasingly diverse and expanding demands for Ruby.

For example, Symbol GC makes Symbols garbage collectable. This reduces memory usage of Symbols; because GC couldn’t collect Symbols before Ruby 2.2. So Rails 5.0 will require Symbol GC. It will support only Ruby 2.2 or later. (See Rails’ blog post for details.)

Also, new Incremental GC decreases pause time of garbage collection. It is helpful for running Rails applications.

Enjoy programming with Ruby 2.2.0-preview1!

Notable Changes since 2.1

  • Incremental GC
  • Symbol GC
  • core libraries:
    • Support Unicode 7.0 #9092
    • New methods:
      • Enumerable#slice_after
      • Float#next_float, Float#prev_float
      • File.birthtime, File#birthtime
  • bundled libraries:
    • Update Psych 2.0.6
    • Update Rake 10.3.2+ (e47d0239)
    • Update RDoc 4.2.0.alpha (21b241a)
    • Update RubyGems 2.4.1+ (713ab65)
    • Update test-unit 3.0.1 (removed from repository but bundled in tarball)
    • Update minitest 5.4.1 (removed from repository but bundled in tarball)
    • Deprecate mathn
  • C API
    • Remove deprecated APIs

See NEWS in Ruby repository (WIP) for details.

With those changes, 1239 files changed, 98343 insertions(+), 61858 deletions(-).

Download

Release Comment

See also the release schedule and other information:

ReleaseEngineering22