summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authormrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-17 03:08:46 +0000
committermrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-12-17 03:08:46 +0000
commit7d4bfb5308a9c81ce20a4927f7fb0edef80b94d0 (patch)
tree0cfe03875a513a2f459937024964fa20627c6fab /NEWS
parent6da6492d194cb403675701d65427b1ff1d6bdaeb (diff)
NEWS: Note for the bigdecimal versions
The differences between bigdecimal 1.3.5, 1.4.0, and 1.5.0 are explained. [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS17
1 files changed, 17 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 385c12bb70..086abe7dc2 100644
--- a/NEWS
+++ b/NEWS
@@ -353,6 +353,23 @@ sufficient information, see the ChangeLog file or Redmine
* BigDecimal() accepts new keyword "exception:" similar to Float().
+ [Note for the differences among recent versions]
+
+ You should want to know the differences among recent versions of bigdecimal.
+ Please select the suitable version of bigdecimal according to the following
+ information.
+
+ * 1.3.5 has BigDecimal.new without "exception:" keyword. You can see the
+ deprecation warning of BigDecimal.new when you specify "-w" option.
+ BigDecimal(), BigDecimal.new, and Object#to_d methods are same.
+
+ * 1.4.0 has BigDecimal.new with "exception:" keyword. You always see the
+ deprecation warning of BigDecimal.new. Object#to_d method is different
+ from BigDecimal() and BigDecimal.new.
+
+ * 1.5.0 will be released after releasing Ruby 2.6.0. This version doesn't
+ have BigDecimal.new method.
+
[Bundler]
* Add Bundler to Standard Library. [Feature #12733]