diff options
author | Jeremy Evans <code@jeremyevans.net> | 2019-11-14 12:15:01 -0800 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2019-11-18 01:00:25 +0200 |
commit | 4c7dc9fbe604cc0c8343b1225c96d4e5219b8147 (patch) | |
tree | 7fa29722e9efd0ba90db5a67a14bb9914eb7563c /NEWS | |
parent | 3a0de05beeb997ec77d35755d9d303e1ca858cb7 (diff) |
Update NEWS for $SAFE/taint changes
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/2476
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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:: |