NEWS.md 1.6 KB
Newer Older
Y
Yusuke Endoh 已提交
1 2
# NEWS for Ruby 2.8.0 (tentative; to be 3.0.0)

3 4
This document is a list of user visible feature changes since the
 **2.7.0** release, except for bug fixes.
Y
Yusuke Endoh 已提交
5 6 7 8 9 10

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`).

11
## Language changes
Y
Yusuke Endoh 已提交
12

13
## Command line options
Y
Yusuke Endoh 已提交
14

15
## Core classes updates (outstanding ones only)
Y
Yusuke Endoh 已提交
16

17 18 19 20 21 22 23
* Dir

    * Modified method

        * Dir.glob and Dir.[] now sort the results by default, and
          accept `sort:` keyword option.  [[Feature #8709]]

24
* Hash
Y
Yusuke Endoh 已提交
25

26
    * Modified method
Y
Yusuke Endoh 已提交
27

28
        * Hash#transform_keys now accepts a hash that maps keys to new
29
          keys.  [[Feature #16274]]
Y
Yusuke Endoh 已提交
30

31
## Stdlib updates (outstanding ones only)
Y
Yusuke Endoh 已提交
32

33
## Compatibility issues (excluding feature bug fixes)
Y
Yusuke Endoh 已提交
34

35
* Regexp literals are frozen [[Feature #8948]] [[Feature #16377]]
36

37 38 39
    ```
    /foo/.frozen? #=> true
    ```
40

41 42
* The bundled gems

43
    net-telnet and xmlrpc has been removed from the bundled gems.
44 45 46
    If you interested in the maintain them, Please comment your plan
    to https://github.com/ruby/xmlrpc or https://github.com/ruby/net-telnet.

47
## Stdlib compatibility issues (excluding feature bug fixes)
Y
Yusuke Endoh 已提交
48

49
## C API updates
Y
Yusuke Endoh 已提交
50

51
## Implementation improvements
Y
Yusuke Endoh 已提交
52

53
## Miscellaneous changes
54 55


56
[Feature #8709]:  https://bugs.ruby-lang.org/issues/8709
57 58 59
[Feature #8948]:  https://bugs.ruby-lang.org/issues/8948
[Feature #16274]: https://bugs.ruby-lang.org/issues/16274
[Feature #16377]: https://bugs.ruby-lang.org/issues/16377