Skip to content

Commit 92d3aff

Browse files
authored
[JAVA] Java driver throws exception for asNumber for BsonDecimal128 (#500)
* what's new: bsondecimal128 responses match java
1 parent 19a6c21 commit 92d3aff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/whats-new.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ The 5.0 driver release introduces the following features:
5454
name, or it defaults to ``MULTIPLE`` if you specify more than one
5555
host.
5656

57+
- ``BsonDecimal128`` values respond to method calls in the same way as Java
58+
``Decimal128`` values. In particular, the error responses for the
59+
``isNumber()`` and ``asNumber()`` methods match the Java responses for
60+
equivalent ``Decimal128`` values.
61+
5762
.. _version-4.11:
5863

5964
What's New in 4.11

0 commit comments

Comments
 (0)