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
class. This means the ``org.reactivestreams.Publisher[Void]`` type no longer
117
-
converts automatically to ``org.mongodb.scala.SingleObservable[Void]``. The
118
-
API also exposes ``org.mongodb.scala.Observable[Unit]`` instead of
119
-
``org.mongodb.scala.Observable[Void]``.
120
113
121
114
.. After the 5.0 Scala API docs are released, this line will be uncommented.
122
115
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
116
124
-
- This driver changes how ``ClusterSettings`` computes
117
+
- Changes how ``ClusterSettings`` computes
125
118
``ClusterConnectionMode``, making it more consistent by using the specified
126
119
replica set name, regardless of how it is configured. Previously, replica set
127
120
name was only considered if it was set by the connection string.
@@ -147,34 +140,35 @@ Version 5.0 Breaking Changes
147
140
.build()
148
141
.getMode()
149
142
150
-
- This driver changes how ``BsonDecimal128`` values respond to method calls, by
143
+
- Changes how ``BsonDecimal128`` values respond to method calls, by
151
144
responding in the same way as ``Decimal128`` values. In particular,
152
145
``BsonDecimal128.isNumber()`` now returns ``true``, and
153
146
``BsonDecimal128.asNumber()`` returns the equivalent ``BsonNumber``.
154
-
- This driver version removes the ``Parameterizable`` interface. Instead of
147
+
148
+
- Removes the ``Parameterizable`` interface. Instead of
155
149
implementing this interface on a custom ``Codec`` type,
156
150
override the ``CodecProvider.get()`` method on the
157
151
codec's ``CodecProvider`` if the codec is intended for a parameterized
158
152
type.
159
153
160
-
- This driver version removes the ``isSlaveOk()`` method from the
154
+
- Removes the ``isSlaveOk()`` method from the
161
155
``ReadPreference`` and ``TaggableReadPreference`` classes. To check whether a read preference allows
162
156
reading from a secondary member of a replica set, use the ``isSecondaryOk()`` methods from
163
157
these classes instead.
164
158
165
-
- This driver version removes the ``DBCollection.getStats()`` and ``DBCollection.isCapped()``
159
+
- Removes the ``DBCollection.getStats()`` and ``DBCollection.isCapped()``
166
160
helper methods for the ``collStats`` command. Instead of these methods, you can use the
167
161
``$collStats`` aggregation pipeline stage. For an example of how to use this pipeline
168
162
stage, see :manual:`What's New <java-deprecations-4.11>` for v4.11 of the {+driver-short+}.
169
163
170
-
- This driver version removes the ``IterableCodec`` and ``MapCodec`` types.
171
-
Use ``MapCodecProvider`` instead of ``MapCodec`` and ``CollectionCodecProvider``
164
+
- Removes the ``IterableCodec`` and ``MapCodec`` types.
165
+
Use ``MapCodecProvider`` instead of ``MapCodec``, and ``CollectionCodecProvider``
172
166
instead of ``IterableCodec``.
173
167
174
-
- This driver version removes the ``sharded`` and ``nonAtomic`` options from the
168
+
- Removes the ``sharded`` and ``nonAtomic`` options from the
175
169
``MapReducePublisher`` and ``MapReduceIterable`` classes.
176
170
177
-
- This driver version removes the following methods for use with ``geoHaystack`` indexes:
171
+
- Removes the following methods for use with ``geoHaystack`` indexes:
178
172
179
173
- ``Indexes.geoHaystack()``
180
174
- ``IndexOptions.getBucketSize()``
@@ -184,7 +178,7 @@ Version 5.0 Breaking Changes
184
178
query operator on a 2d index. For more information, see the
185
179
:manual:`Geospatial Queries page </geospatial-queries>` in the {+mdb-server+} manual.
186
180
187
-
- This driver version removes the ``oplogReplay`` option from find operations. This
181
+
- Removes the ``oplogReplay`` option from find operations. This
188
182
includes the following methods:
189
183
190
184
- ``DBCursor.oplogReplay()``
@@ -193,28 +187,27 @@ Version 5.0 Breaking Changes
193
187
- ``FindPublisher.oplogReplay()``
194
188
- ``FindIterable.oplogReplay()``
195
189
196
-
- This driver version removes the following ``Exception`` constructors:
190
+
- Removes the following ``Exception`` constructors:
0 commit comments