Ruby Changelog

New in version 2.2.3

August 18th, 2015
  • This release includes the security fix for a RubyGems domain name verification vulnerability. CVE-2015-3900 Request hijacking vulnerability in RubyGems 2.4.6 and earlier

New in version 2.2.2 (April 13th, 2015)

  • This release includes the security fix for a OpenSSL extension's hostname verification vulnerability.

New in version 2.2.1 (March 6th, 2015)

  • This release includes the fix for ffi build failure and memory leak issue on Symbol GC (See Bug #10686).

New in version 2.1.0 (December 27th, 2013)

  • VM (method cache)
  • RGenGC (See ko1’s RubyKaigi presentation and RubyConf 2013 presentation)
  • refinements #8481 #8571
  • syntax changes:
  • Decimal/Complex Literal #8430
  • def’s return value #3753
  • Bignum:
  • use GMP #8796
  • String#scrub #8414
  • Socket.getifaddrs #8368
  • RDoc 4.1.0 and RubyGems 2.2.0
  • “literal”.freeze is now optimized #9042
  • add Exception#cause #8257
  • update libraries like BigDecimal, JSON, NKF, Rake, RubyGems, and RDoc
  • remove curses #8584

New in version 2.0.0-p0 (February 25th, 2013)

  • Language core features:
  • Keyword arguments, which give flexibility to API design
  • Module#prepend, which is a new way to extend a class
  • A literal %i, which creates an array of symbols easily
  • __dir__, which returns the dirname of the file currently being executed
  • The UTF-8 default encoding, which make many magic comments omissible
  • Built-in libraries:
  • Enumerable#lazy and Enumerator::Lazy, for (possibly infinite) lazy stream
  • Enumerator#size and Range#size, for lazy size evaluation
  • #to_h, which is a new convention for conversion to Hash
  • Onigmo, which is a new regexp engine (a fork of Oniguruma)
  • Asynchronous exception handling API
  • Debug support:
  • DTrace support, which enables run-time diagnosis in production
  • TracePoint, which is an improved tracing API
  • Performance improvements:
  • GC optimization by bitmap marking
  • Kernel#require optimization which makes Rails startup very fast
  • VM optimization such as method dispatch
  • Float operation optimization

New in version 1.9.3-p392 (February 22nd, 2013)

  • This release includes security fixes about bundled JSON and REXML:
  • Denial of Service and Unsafe Object Creation Vulnerability in JSON (CVE-2013-0269)
  • Entity expansion DoS vulnerability in REXML (XML bomb)
  • And some small bugfixes are also included.

New in version 1.9.3-p385 (February 7th, 2013)

  • This release includes a security fix about bundled RDoc.

New in version 1.9.3-p384 (February 6th, 2013)

  • This release includes a security fix about bundled RDoc.

New in version 1.9.3-p286 (October 12th, 2012)

  • $SAFE escaping vulnerability about Exception#to_s / NameError#to_s (CVE-2012-4464, CVE-2012-4466)
  • Unintentional file creation caused by inserting a illegal NUL character
  • other many bug fixes.