NEWS.md 1.7 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 14
* $SAFE is now a normal global variable with no special behavior. [Feature #16131]

15
## Command line options
Y
Yusuke Endoh 已提交
16

17
## Core classes updates (outstanding ones only)
Y
Yusuke Endoh 已提交
18

19 20 21 22 23 24 25
* Dir

    * Modified method

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

26
* Hash
Y
Yusuke Endoh 已提交
27

28
    * Modified method
Y
Yusuke Endoh 已提交
29

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

33
## Stdlib updates (outstanding ones only)
Y
Yusuke Endoh 已提交
34

35
## Compatibility issues (excluding feature bug fixes)
Y
Yusuke Endoh 已提交
36

37
* Regexp literals are frozen [[Feature #8948]] [[Feature #16377]]
38

39
    ```ruby
40 41
    /foo/.frozen? #=> true
    ```
42

43 44
* The bundled gems

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

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

51
## C API updates
Y
Yusuke Endoh 已提交
52

53
## Implementation improvements
Y
Yusuke Endoh 已提交
54

55
## Miscellaneous changes
56 57


58
[Feature #8709]:  https://bugs.ruby-lang.org/issues/8709
59 60 61
[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