File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 49
49
"""BSON binary subtype for a UUID.
50
50
51
51
This is the new BSON binary subtype for UUIDs. The
52
- current default is :data:`OLD_UUID_SUBTYPE` but will
53
- change to this in a future release.
52
+ current default is :data:`OLD_UUID_SUBTYPE`.
54
53
55
54
.. versionchanged:: 2.1
56
55
Changed to subtype 4.
Original file line number Diff line number Diff line change @@ -94,6 +94,10 @@ Changes in Version 3.8.0.dev0
94
94
:meth: `~pymongo.cursor.Cursor.hint ` of which index to use. The find command
95
95
is expected to require a :meth: `~pymongo.cursor.Cursor.hint ` when using
96
96
min/max starting in MongoDB 4.2.
97
+ - Documented support for the uuidRepresentation URI option, which has been
98
+ supported since PyMongo 2.7. Valid values are `pythonLegacy ` (the default),
99
+ `javaLegacy `, `csharpLegacy ` and `standard `. New applications should consider
100
+ setting this to `standard ` for cross language compatibility.
97
101
98
102
Issues Resolved
99
103
...............
Original file line number Diff line number Diff line change @@ -294,6 +294,11 @@ def __init__(
294
294
are -1 through 9. -1 tells the zlib library to use its default
295
295
compression level (usually 6). 0 means no compression. 1 is best
296
296
speed. 9 is best compression. Defaults to -1.
297
+ - `uuidRepresentation`: The BSON representation to use when encoding
298
+ from and decoding to instances of :class:`~uuid.UUID`. Valid
299
+ values are `pythonLegacy` (the default), `javaLegacy`,
300
+ `csharpLegacy` and `standard`. New applications should consider
301
+ setting this to `standard` for cross language compatibility.
297
302
298
303
| **Write Concern options:**
299
304
| (Only set if passed. No default values.)
You can’t perform that action at this time.
0 commit comments