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 @@ -102,6 +102,16 @@ Version 4.0 Breaking Changes
102
102
UUID values must explicitly specify which representation to use. You can
103
103
specify the representation in the ``uuidRepresentation`` property of
104
104
``MongoClientSettings``.
105
+
106
+ The UUID representation that you specify strictly controls how the driver
107
+ decodes UUIDs. In previous versions of the driver, if you specified the
108
+ ``JAVA_LEGACY`` representation, the driver would decode binary objects
109
+ of subtypes 3 and 4 as UUIDs. In version 4.0, the ``JAVA_LEGACY``
110
+ representation works only with subtype 3.
111
+
112
+ For a list of members in the ``UuidRepresentation`` enum, see the
113
+ `API documentation. <https://http://mongodb.github.io/mongo-java-driver/4.0/apidocs/bson/org/bson/UuidRepresentation.html>`__
114
+
105
115
- The connection pool no longer restricts the number of wait queue threads
106
116
or asynchronous tasks that require a connection to MongoDB. The
107
117
application should throttle requests as necessary rather than depend on
You can’t perform that action at this time.
0 commit comments