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
.. After the 5.0 Scala API docs are released, this line will be uncommented.
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>`__.
94
-
95
90
- Removes the ``Parameterizable`` interface. Instead of
96
91
implementing this interface on a custom ``Codec`` type,
97
92
override the ``CodecProvider.get()`` method on the
@@ -108,11 +103,12 @@ This driver version introduces the following breaking changes:
108
103
``$collStats`` aggregation pipeline stage. For an example of how to use this pipeline
109
104
stage, see :manual:`What's New <java-deprecations-4.11>` for v4.11 of the {+driver-short+}.
110
105
111
-
- Removes the ``IterableCodec`` and ``MapCodec`` types.
112
-
Use ``MapCodecProvider`` instead of ``MapCodec``, and ``CollectionCodecProvider``
113
-
instead of ``IterableCodec``.
106
+
- The ``MapCodec`` and ``IterableCodec`` classes are deprecated.
107
+
Instead of ``MapCodec``, use ``MapCodecProvider``. Instead of ``IterableCodec``,
108
+
use ``CollectionCodecProvider``, or ``IterableCodecProvider`` for ``Iterable``
109
+
types that aren't ``Collection``s.
114
110
115
-
- Removes the ``sharded`` and ``nonAtomic`` options from the
111
+
- Removes the ``sharded()`` and ``nonAtomic()`` methods from the
116
112
``MapReducePublisher`` and ``MapReduceIterable`` classes.
117
113
118
114
- Removes the following methods for use with ``geoHaystack`` indexes:
@@ -146,7 +142,7 @@ This driver version introduces the following breaking changes:
class from the Scala driver package. This means the
186
185
``org.reactivestreams.Publisher[Void]`` type no longer
187
186
converts automatically to ``org.mongodb.scala.SingleObservable[Void]``. The
188
187
API also exposes ``org.mongodb.scala.Observable[Unit]`` instead of
189
-
``org.mongodb.scala.Observable[Void]``.
188
+
``org.mongodb.scala.Observable[Void]``.
189
+
190
+
.. After the 5.0 Scala API docs are released, this line will be uncommented.
191
+
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>`__.
190
192
191
193
- Introduces the following changes to the ``ConnectionId`` class:
0 commit comments