From 09acafaccf35b37cd7557d783f667ae6281ce7c1 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Mon, 24 Aug 2020 15:38:03 +0900 Subject: NEWS.md: add an example, add references, and move some items --- NEWS.md | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) (limited to 'NEWS.md') diff --git a/NEWS.md b/NEWS.md index 4c9d975078..7d023f3adc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -149,6 +149,16 @@ Outstanding ones only. the other modules and classes included or prepended the receiver. [[Feature #9573]] + +```ruby +class C; end +module M1; end +module M2; end +C.include M1 +M1.include M2 +p C.ancestors #=> [C, M1, M2, Object, Kernel, BasicObject] +``` + * Symbol * Modified method @@ -179,7 +189,7 @@ Outstanding ones only. * Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take request headers as a Hash in the second argument when the first - argument is a URI. + argument is a URI. [[Feature #16686]] ## Compatibility issues @@ -191,13 +201,6 @@ Excluding feature bug fixes. /foo/.frozen? #=> true ``` -* Bundled gems - - * net-telnet and xmlrpc have been removed from the bundled gems. - If you are interested in maintaining them, please comment on - your plan to https://github.com/ruby/xmlrpc - or https://github.com/ruby/net-telnet. - * EXPERIMENTAL: Hash#each consistently yields a 2-element array [[Bug #12706]] * Now `{ a: 1 }.each(&->(k, v) { })` raises an ArgumentError @@ -210,15 +213,20 @@ Excluding feature bug fixes. * `TRUE`/`FALSE`/`NIL` constants are no longer defined. -* SDBM have been removed from ruby standard library. +* `Integer#zero?` overrides `Numeric#zero?` for optimization. [[Misc #16961]} - * The issues of sdbm will handle at https://github.com/ruby/sdbm +## Stdlib compatibility issues -* `Integer#zero?` overrides `Numeric#zero?` for optimization. +* Bundled gems -## Stdlib compatibility issues + * net-telnet and xmlrpc have been removed from the bundled gems. + If you are interested in maintaining them, please comment on + your plan to https://github.com/ruby/xmlrpc + or https://github.com/ruby/net-telnet. -Excluding feature bug fixes. +* SDBM have been removed from ruby standard library. [[Bug #8446]] + + * The issues of sdbm will handle at https://github.com/ruby/sdbm ## C API updates -- cgit v1.2.3