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
and map-reduce methods on `MongoCollection <{+api+}/apidocs/mongodb-driver-sync/com/mongodb/client/MongoCollection.html#mapReduce(com.mongodb.client.ClientSession,java.lang.String,java.lang.String)>`__
35
+
are deprecated in MongoDB v4.2 and later, and will be replaced by the
36
+
aggregation framework.
37
+
30
38
.. _version-4.9:
31
39
32
40
What's New in 4.9
33
41
-----------------
34
42
35
43
- Added a new exception to identify when a constructor annotated by
36
-
``BsonCreator`` contains parameters with annotations other than
44
+
``BsonCreator`` contains parameters with annotations other than
37
45
``BsonProperty`` or ``BsonId``.
38
46
- Changed the log message format for command monitoring messages reported
39
47
by the ``org.mongodb.driver.protocol.command`` package.
40
-
- Added support for the ``$documents`` aggregation pipeline stage to the
and `LoggerSettings.Builder.maxDocumentLength() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/LoggerSettings.Builder.html#maxDocumentLength(int)>`__
45
-
methods that let you specify a maximum length for the extended JSON representation of a
46
-
BSON document in a log message.
52
+
and `LoggerSettings.Builder.maxDocumentLength() <{+api+}/apidocs/mongodb-driver-core/com/mongodb/LoggerSettings.Builder.html#maxDocumentLength(int)>`__
53
+
methods that let you specify a maximum length for the extended JSON representation of a
54
+
BSON document in a log message.
47
55
48
56
.. _version-4.8:
49
57
50
58
What's New in 4.8
51
59
-----------------
52
60
53
-
- The 4.8 driver ends support for MongoDB v3.4 and earlier. To learn
54
-
more about breaking changes in this driver version and how to address
55
-
them, see :ref:`<java-server-release-change-v4.8>`.
61
+
.. warning:: Breaking Changes in v4.8
56
62
57
-
- The ``RecordCodec`` now deserializes POJOs and record classes that are
58
-
specified as type parameters of ``List`` and ``Map`` fields of a record as
59
-
their respective classes. To learn more about this change and how this may
60
-
affect the behavior of your application, see
61
-
:ref:`<java-breaking-changes-v4.8>`.
63
+
The v4.8 driver contains breaking changes. See :ref:`<java-breaking-changes-v4.8>`
64
+
and :ref:`<java-server-release-change-v4.8>` for more information.
62
65
63
66
.. important:: Deprecation Notice
64
67
@@ -92,7 +95,7 @@ New features of the 4.8 driver release include:
92
95
when the ``showExpandedEvents`` server feature is enabled on MongoDB v6.1
93
96
and later. Learn more about this field from the `getDisambiguatedPaths() <https://mongodb.github.io/mongo-java-driver/4.8/apidocs/mongodb-driver-core/com/mongodb/client/model/changestream/UpdateDescription.html#getDisambiguatedPaths()>`__
94
97
API documentation. Learn more about the ``showExpandedEvents`` setting from
95
-
the :manual:`Expanded Events </reference/change-events/#expanded-events>`
98
+
the :manual:`Expanded Events </reference/change-events/#expanded-events>`
96
99
server documentation.
97
100
98
101
.. _version-4.7.1:
@@ -121,6 +124,11 @@ loss of your DEKs.
121
124
What's New in 4.7
122
125
-----------------
123
126
127
+
.. warning:: Breaking Changes in v4.7
128
+
129
+
The v4.7 driver contains breaking changes. See :ref:`<java-breaking-changes-v4.7>`
130
+
for more information.
131
+
124
132
New features of the 4.7 driver release include:
125
133
126
134
- Added full support for MongoDB 6.0.
@@ -307,6 +315,11 @@ in the field names of documents:
307
315
What's New in 4.2
308
316
-----------------
309
317
318
+
.. warning:: Breaking Changes in v4.2
319
+
320
+
The v4.2 driver contains breaking changes. See :ref:`<java-breaking-changes-v4.2>`
321
+
for more information.
322
+
310
323
New features of the 4.2 Java driver release include:
311
324
312
325
- Added Azure and GCP key stores to client-side field level encryption
@@ -316,12 +329,6 @@ New features of the 4.2 Java driver release include:
316
329
- Added a `BsonRepresentation <https://mongodb.github.io/mongo-java-driver/4.2/apidocs/bson/org/bson/codecs/pojo/annotations/BsonRepresentation.html>`_ annotation that allows you to represent the ``ObjectId`` BSON values as a ``String`` in `POJO <https://en.wikipedia.org/wiki/Plain_old_Java_object>`_ classes
317
330
- Added a `Filters.empty() <https://mongodb.github.io/mongo-java-driver/4.2/apidocs/mongodb-driver-core/com/mongodb/client/model/Filters.html#empty()>`_ method
318
331
319
-
.. important::
320
-
321
-
There are breaking changes that may affect your application. See the
0 commit comments