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
112
-
converts automatically to ``org.mongodb.scala.SingleObservable[Void]``. The
113
-
API also exposes ``org.mongodb.scala.Observable[Unit]`` instead of
114
-
``org.mongodb.scala.Observable[Void]``.
115
91
116
92
.. After the 5.0 Scala API docs are released, this line will be uncommented.
117
93
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>`__.
118
94
119
-
- This driver version removes the ``Parameterizable`` interface. Instead of
95
+
- Removes the ``Parameterizable`` interface. Instead of
120
96
implementing this interface on a custom ``Codec`` type,
121
97
override the ``CodecProvider.get()`` method on the
122
98
codec's ``CodecProvider`` if the codec is intended for a parameterized
123
99
type.
124
100
125
-
- This driver version removes the ``isSlaveOk()`` method from the
101
+
- Removes the ``isSlaveOk()`` method from the
126
102
``ReadPreference`` and ``TaggableReadPreference`` classes. To check whether a read preference allows
127
103
reading from a secondary member of a replica set, use the ``isSecondaryOk()`` methods from
128
104
these classes instead.
129
105
130
-
- This driver version removes the ``DBCollection.getStats()`` and ``DBCollection.isCapped()``
106
+
- Removes the ``DBCollection.getStats()`` and ``DBCollection.isCapped()``
131
107
helper methods for the ``collStats`` command. Instead of these methods, you can use the
132
108
``$collStats`` aggregation pipeline stage. For an example of how to use this pipeline
133
109
stage, see :manual:`What's New <java-deprecations-4.11>` for v4.11 of the {+driver-short+}.
134
110
135
-
- This driver version removes the ``IterableCodec`` and ``MapCodec`` types.
136
-
Use ``MapCodecProvider`` instead of ``MapCodec`` and ``CollectionCodecProvider``
111
+
- Removes the ``IterableCodec`` and ``MapCodec`` types.
112
+
Use ``MapCodecProvider`` instead of ``MapCodec``, and ``CollectionCodecProvider``
137
113
instead of ``IterableCodec``.
138
114
139
-
- This driver version removes the ``sharded`` and ``nonAtomic`` options from the
115
+
- Removes the ``sharded`` and ``nonAtomic`` options from the
140
116
``MapReducePublisher`` and ``MapReduceIterable`` classes.
141
117
142
-
- This driver version removes the following methods for use with ``geoHaystack`` indexes:
118
+
- Removes the following methods for use with ``geoHaystack`` indexes:
143
119
144
120
- ``Indexes.geoHaystack()``
145
121
- ``IndexOptions.getBucketSize()``
@@ -149,7 +125,7 @@ Version 5.0 Breaking Changes
149
125
query operator on a 2d index. For more information, see the
150
126
:manual:`Geospatial Queries page </geospatial-queries>` in the {+mdb-server+} manual.
151
127
152
-
- This driver version removes the ``oplogReplay`` option from find operations. This
128
+
- Removes the ``oplogReplay`` option from find operations. This
153
129
includes the following methods:
154
130
155
131
- ``DBCursor.oplogReplay()``
@@ -158,28 +134,27 @@ Version 5.0 Breaking Changes
158
134
- ``FindPublisher.oplogReplay()``
159
135
- ``FindIterable.oplogReplay()``
160
136
161
-
- This driver version removes the following ``Exception`` constructors:
137
+
- Removes the following ``Exception`` constructors:
0 commit comments