2018-10-17 07:35:28 -04:00
|
|
|
# -*- rdoc -*-
|
2017-12-26 06:36:07 -05:00
|
|
|
|
2018-12-25 10:58:49 -05:00
|
|
|
= NEWS for Ruby 2.7.0
|
2017-12-26 06:36:07 -05:00
|
|
|
|
|
|
|
This document is a list of user visible feature changes made between
|
|
|
|
releases except for bug fixes.
|
|
|
|
|
2018-08-18 05:53:11 -04:00
|
|
|
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
|
2018-10-17 07:35:28 -04:00
|
|
|
(e.g. <tt>https://bugs.ruby-lang.org/issues/$FEATURE_OR_BUG_NUMBER</tt>)
|
2017-12-26 06:36:07 -05:00
|
|
|
|
2018-12-25 10:58:49 -05:00
|
|
|
== Changes since the 2.6.0 release
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Language changes
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2018-12-31 10:00:37 -05:00
|
|
|
* Method reference operator, <code>.:</code> is introduced as an
|
|
|
|
experimental feature. [Feature #12125] [Feature #13581]
|
|
|
|
|
2019-01-10 03:19:14 -05:00
|
|
|
* Proc.new and proc with no block in a method called with a block is warned
|
|
|
|
now.
|
|
|
|
|
|
|
|
* lambda with no block in a method called with a block errs.
|
|
|
|
|
2019-03-11 08:48:33 -04:00
|
|
|
* Non-Symbol keys in a keyword arguments hash was prohibited at 2.6.0, but
|
|
|
|
now allowed again. [Bug #15658]
|
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Core classes updates (outstanding ones only)
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2019-02-07 03:14:10 -05:00
|
|
|
Enumerable::
|
|
|
|
|
|
|
|
New method::
|
|
|
|
|
|
|
|
* Added Enumerable#tally. [Feature #11076]
|
|
|
|
|
2019-03-11 05:52:40 -04:00
|
|
|
Enumerator::
|
|
|
|
|
|
|
|
New method::
|
|
|
|
|
|
|
|
* Added Enumerator::Yielder#to_proc so that a Yielder object can be
|
|
|
|
directly passed to another method as a block argument.
|
|
|
|
[Feature #15618]
|
|
|
|
|
2019-03-05 22:15:06 -05:00
|
|
|
Regexp/String::
|
|
|
|
|
|
|
|
* Update Unicode version and Emoji version from 11.0.0 to 12.0.0.
|
|
|
|
[Feature #15321]
|
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Stdlib updates (outstanding ones only)
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2019-02-02 01:38:09 -05:00
|
|
|
CSV::
|
2019-01-25 01:49:59 -05:00
|
|
|
|
|
|
|
* Upgrade to 3.0.4.
|
|
|
|
See https://github.com/ruby/csv/blob/master/NEWS.md.
|
|
|
|
|
2019-02-02 01:38:09 -05:00
|
|
|
RSS::
|
2019-01-25 01:35:04 -05:00
|
|
|
|
|
|
|
* Upgrade to RSS 0.2.8.
|
|
|
|
See https://github.com/ruby/rss/blob/master/NEWS.md.
|
|
|
|
|
2018-11-05 02:01:47 -05:00
|
|
|
=== Compatibility issues (excluding feature bug fixes)
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Stdlib compatibility issues (excluding feature bug fixes)
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== C API updates
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Implementation improvements
|
2017-12-28 15:09:24 -05:00
|
|
|
|
2018-10-17 07:35:28 -04:00
|
|
|
=== Miscellaneous changes
|
2019-01-10 03:22:23 -05:00
|
|
|
|
|
|
|
* Require compilers to support C99 [Misc #15347]
|
|
|
|
* Details of our dialect: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/C99
|