1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Update NEWS for $SAFE/taint changes

This commit is contained in:
Jeremy Evans 2019-11-14 12:15:01 -08:00
parent 3a0de05bee
commit 4c7dc9fbe6
Notes: git 2019-11-18 08:01:10 +09:00

9
NEWS
View file

@ -198,6 +198,15 @@ sufficient information, see the ChangeLog file or Redmine
block arguments.
Note that the parentheses are mandatory. `bar ...` is parsed as an endless range.
* Access and setting of <code>$SAFE</code> is now always warned. <code>$SAFE</code>
will become a normal global variable in Ruby 3.0. [Feature #16131]
* <code>Object#{taint,untaint,trust,untrust}</code> and related functions in the C-API
no longer have an effect (all objects are always considered untainted), and are now
warned in verbose mode. This warning will be disabled even in non-verbose mode in
Ruby 3.0, and the methods and C functions will be removed in Ruby 3.2.
[Feature #16131]
=== Core classes updates (outstanding ones only)
Array::