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 @@ -132,6 +132,16 @@ Version 4.0 Breaking Changes
132
132
UUID values must explicitly specify which representation to use. You can
133
133
specify the representation in the ``uuidRepresentation`` property of
134
134
``MongoClientSettings``.
135
+
136
+ The UUID representation that you specify strictly controls how the driver
137
+ decodes UUIDs. In previous versions of the driver, if you specified the
138
+ ``JAVA_LEGACY`` representation, the driver would decode binary objects
139
+ of subtypes 3 and 4 as UUIDs. In version 4.0, the ``JAVA_LEGACY``
140
+ representation works only with subtype 3.
141
+
142
+ For a list of members in the ``UuidRepresentation`` enum, see the
143
+ `API documentation. <https://http://mongodb.github.io/mongo-java-driver/4.0/apidocs/bson/org/bson/UuidRepresentation.html>`__
144
+
135
145
- The connection pool no longer restricts the number of wait queue threads
136
146
or asynchronous tasks that require a connection to MongoDB. The
137
147
application should throttle requests as necessary rather than depend on
You can’t perform that action at this time.
0 commit comments