aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-28 12:12:20 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-02-28 12:12:20 +0000
commitc7546f0b1f72d9409bf9ea5f4f91703030c65992 (patch)
tree9fbc71b510b1cc22e3ecd5a108d891b8520df39e /NEWS
parenteea568acd005c7018eaa2b9906ea07a24d820863 (diff)
downloadruby-c7546f0b1f72d9409bf9ea5f4f91703030c65992.tar.gz
erb.rb: relax warn level of ERB.new
I changed my mind and thought branching ERB.new in all libraries is too hard. Code becomes too ugly. I increased the warn level to 2, and the old initializer will be removed when Ruby 2.5 becomes EOL. -S option of erb(1) stays in the same policy: will be removed at Ruby 2.7. NEWS: note about the direction git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 272b9ba475..9f62dabf17 100644
--- a/NEWS
+++ b/NEWS
@@ -97,8 +97,10 @@ with all sufficient information, see the ChangeLog file or Redmine
* ERB
- * 2nd, 3rd and 4th arguments of ERB.new are deprecated. 2nd argument (safe_level) will be dropped in the future
- and some of those arguments (trim_mode, eoutvar) are changed to keyword arguments. [Feature #14256]
+ * Add :trim_mode and :eoutvar keyword arguments to ERB.new. Now non-keyword arguments other than first one
+ are softly deprecated and will be removed when Ruby 2.5 becomes EOL.
+
+ * erb command's -S option is deprecated, which will be removed in the next version.
* Matrix