From a3adb10aacb48efe0ecb059f012969dc08145360 Mon Sep 17 00:00:00 2001 From: Junichi Ito Date: Sun, 13 Dec 2020 17:15:34 +0900 Subject: 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. --- NEWS.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS.md') 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 -- cgit v1.2.3