Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 1.21 KB

NEWS

File metadata and controls

55 lines (32 loc) · 1.21 KB

# -*- rdoc -*-

NEWS for Ruby 2.4.0

This document is a list of user visible feature changes made between releases except for bug fixes.

Note that each entry is kept so brief that no reason behind or reference information is supplied with. For a full list of changes with all sufficient information, see the ChangeLog file or Redmine (e.g. https://bugs.ruby-lang.org/issues/$FEATURE_OR_BUG_NUMBER)

Changes since the 2.3.0 release

Language changes

Core classes updates (outstanding ones only)

  • Dir

    • Dir.empty?. [Feature #10121]

  • String

    • String.new(capacity: size) [Feature #12024]

  • Symbol

    • Symbol#match now returns MatchData. [Bug #11991]

  • MatchData

    • MatchData#named_captures [Feature #11999]

Stdlib updates (outstanding ones only)

  • CSV

    • Add a liberal_parsing option. [Feature #11839]

  • optparse

    • Add an into option. [Feature #11191]

Stdlib compatibility issues (excluding feature bug fixes)

Built-in global variables compatibility issues

C API updates

  • ruby_show_version() will no longer exits the process, if RUBY_SHOW_COPYRIGHT_TO_DIE is set to 0. This will be the default in the future.

Supported platform changes

Implementation improvements