You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/upgrade.txt
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,17 @@ Version 5.0 Breaking Changes
121
121
.. After the 5.0 Scala API docs are released, this line will be uncommented.
122
122
For more information, see the `Observable trait documentation <https://mongodb.github.io/mongo-java-driver/5.0/apidocs/mongo-scala-driver/org/mongodb/scala/Observable.html>`__.
123
123
124
+
- This driver changes how ``ClusterSettings`` computes
125
+
``ClusterConnectionMode``, making it more consistent by using the specified
126
+
replica set name, regardless of how it is configured. Previously, replica set
127
+
name was only considered if it was set by the connection string. This may
128
+
change how
129
+
130
+
- This driver changes how ``BsonDecimal128`` values respond to method calls, by
131
+
responding in the same way as ``Decimal128`` values. In particular,
132
+
``BsonDecimal128.isNumber()`` now returns ``true``, and
133
+
``BsonDecimal128.asNumber()`` returns the equivalent ``BsonNumber``.
0 commit comments