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