summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-08-24 15:38:03 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-08-24 15:38:03 +0900
commit09acafaccf35b37cd7557d783f667ae6281ce7c1 (patch)
tree9f0b4b1453e31728bc4d3c7bd0750e17e72fb792
parentf292bb245e301b7cbb1d7e7b289b1f930532d1fa (diff)
NEWS.md: add an example, add references, and move some items
-rw-r--r--NEWS.md34
1 files changed, 21 insertions, 13 deletions
diff --git a/NEWS.md b/NEWS.md
index 4c9d975078d..7d023f3adc0 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