summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorMarc-Andre Lafortune <github@marc-andre.ca>2020-12-22 03:27:18 -0500
committerMarc-André Lafortune <github@marc-andre.ca>2020-12-22 13:48:13 -0500
commit228fa3ac6ec25eba5139674d04a74f07a34f2874 (patch)
treed8b76d38a6e0ca7f39f7b50ec46495681fe5af57 /NEWS.md
parentfd745cc92c5e4dfa226cbdbbeb118f6b780666e1 (diff)
NEWS: Mention deprecation warnings not being shown by default
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3974
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index e86c710d7c..595d28e98e 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -94,6 +94,10 @@ sufficient information, see the ChangeLog file or Redmine
* {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a
type analysis tool for Ruby programs.
+* Deprecation warnings are no longer shown by default (since Ruby 2.7.2).
+ Turn them on with `-W:deprecated` (or with `-w` to show other warnings too).
+ [[Feature #16345]]
+
* $SAFE and $KCODE are now normal global variables with no special behavior.
C-API methods related to $SAFE have been removed.
[[Feature #16131]] [[Feature #17136]]
@@ -724,6 +728,7 @@ end
[Feature #16233]: https://bugs.ruby-lang.org/issues/16233
[Feature #16260]: https://bugs.ruby-lang.org/issues/16260
[Feature #16274]: https://bugs.ruby-lang.org/issues/16274
+[Feature #16345]: https://bugs.ruby-lang.org/issues/16345
[Feature #16377]: https://bugs.ruby-lang.org/issues/16377
[Feature #16378]: https://bugs.ruby-lang.org/issues/16378
[Feature #16555]: https://bugs.ruby-lang.org/issues/16555