File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ Version 5.0 Breaking Changes
115
115
guide. This change breaks binary compatibility (requires recompiling) but does not
116
116
require code changes.
117
117
118
+ This change breaks binary compatibility (requires recompiling) but does not
119
+ require code changes.
120
+
118
121
- This driver version removes the ``Filters.eqFull()`` method, released
119
122
exclusively in ``Beta``, which allowed you
120
123
to construct an equality filter when performing a vector search.
Original file line number Diff line number Diff line change @@ -48,16 +48,14 @@ What's New in 5.0
48
48
49
49
The 5.0 driver release introduces the following features:
50
50
51
- - Consistent computation of the ``ClusterConnectionMode`` type after
52
- instantiating a ``ClusterSettings``. The connection mode defaults to
53
- ``SINGLE`` if you specify one host and do not specify a replica set
54
- name, or it defaults to ``MULTIPLE`` if you specify more than one
55
- host.
56
-
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.
51
+ - ``ClusterSettings`` computes ``ClusterConnectionMode`` more consistently using
52
+ the specified replica set name, regardless of how it is configured.
53
+ Previously, replica set name was only considered if it was set by the
54
+ connection string.
55
+
56
+ - ``BsonDecimal128`` values respond to method calls in the same way as
57
+ ``Decimal128`` values. In particular, ``BsonDecimal128.isNumber`` now returns
58
+ ``true``, and ``BsonDecimal128.asNumber`` returns the equivalent ``BsonNumber``.
61
59
62
60
- The ``getElapsedTime()`` method on ``com.mongodb.event.ConnectionReadyEvent``
63
61
includes the time taken to deliver the ``ConnectionCreatedEvent``. That is,
You can’t perform that action at this time.
0 commit comments