File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,16 @@ Version 4.0 Breaking Changes
89
89
UUID values must explicitly specify which representation to use. You can
90
90
specify the representation in the ``uuidRepresentation`` property of
91
91
``MongoClientSettings``.
92
+
93
+ The UUID representation that you specify strictly controls how the driver
94
+ decodes UUIDs. In previous versions of the driver, if you specified the
95
+ ``JAVA_LEGACY`` representation, the driver would decode binary objects
96
+ of subtypes 3 and 4 as UUIDs. In version 4.0, the ``JAVA_LEGACY``
97
+ representation works only with subtype 3.
98
+
99
+ For a list of members in the ``UuidRepresentation`` enum, see the
100
+ `API documentation. <https://http://mongodb.github.io/mongo-java-driver/4.0/apidocs/bson/org/bson/UuidRepresentation.html>`__
101
+
92
102
- The connection pool no longer restricts the number of wait queue threads
93
103
or asynchronous tasks that require a connection to MongoDB. The
94
104
application should throttle requests as necessary rather than depend on
You can’t perform that action at this time.
0 commit comments