summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorJunichi Ito <jit@sonicgarden.jp>2020-12-13 17:15:34 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-13 18:18:15 +0900
commita3adb10aacb48efe0ecb059f012969dc08145360 (patch)
tree520e336bce7ffd21f7f3e224618b47a9a4dad8e1 /NEWS.md
parentc7530f0d568e9772bef22a93907f92d8cd872995 (diff)
Add NEWS about open-uri and Kernel#open
There might be a lot of codes using redefined Kernel#open via open-uri, so it's worth mentioning that.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3894
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 3cd98b25b5..42a7f8b881 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -426,6 +426,9 @@ Excluding feature bug fixes.
* Integer#zero? overrides Numeric#zero? for optimization. [[Misc #16961]]
+* Requiring 'open-uri' no longer redefines `Kernel#open`.
+ Call `URI.open` directly or `use URI#open` instead. [[Misc #15893]]
+
## Stdlib compatibility issues
* Default gems
@@ -640,6 +643,7 @@ end
[Feature #16815]: https://bugs.ruby-lang.org/issues/16815
[Feature #16828]: https://bugs.ruby-lang.org/issues/16828
[Misc #16961]: https://bugs.ruby-lang.org/issues/16961
+[Misc #15893]: https://bugs.ruby-lang.org/issues/15893
[Feature #17055]: https://bugs.ruby-lang.org/issues/17055
[Feature #17104]: https://bugs.ruby-lang.org/issues/17104
[Feature #17122]: https://bugs.ruby-lang.org/issues/17122