From 7d4bfb5308a9c81ce20a4927f7fb0edef80b94d0 Mon Sep 17 00:00:00 2001 From: mrkn Date: Mon, 17 Dec 2018 03:08:46 +0000 Subject: 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 --- NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'NEWS') 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] -- cgit v1.2.3