1
1
Changelog
2
2
=========
3
3
4
- Changes in Version 3.11.0b1.dev0
5
- --------------------------------
4
+ Changes in Version 3.11.0b1
5
+ ---------------------------
6
6
7
7
Version 3.11 adds support for MongoDB 4.4. Highlights include:
8
8
@@ -14,6 +14,11 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
14
14
- Support for the :ref: `MONGODB-AWS ` authentication mechanism.
15
15
- Support for the ``directConnection `` URI option and kwarg to
16
16
:class: `~pymongo.mongo_client.MongoClient `.
17
+ - Support for speculative authentication attempts in connection handshakes
18
+ which reduces the number of network roundtrips needed to authenticate new
19
+ connections on MongoDB 4.4+.
20
+ - Support for creating collections in multi-document transactions with
21
+ :meth: `~pymongo.database.Database.create_collection ` on MongoDB 4.4+.
17
22
- Added index hinting support to the
18
23
:meth: `~pymongo.collection.Collection.replace_one `,
19
24
:meth: `~pymongo.collection.Collection.update_one `,
@@ -34,8 +39,12 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
34
39
of this parameter see the MongoDB documentation for the `validate command `_.
35
40
- Added the ``allow_disk_use `` parameters to
36
41
:meth: `pymongo.collection.Collection.find `.
37
- - Support for creating collections in multi-document transactions with
38
- :meth: `~pymongo.database.Database.create_collection ` on MongoDB 4.4+.
42
+ - Added the ``hedge `` parameter to
43
+ :class: `~pymongo.read_preferences.PrimaryPreferred `,
44
+ :class: `~pymongo.read_preferences.Secondary `,
45
+ :class: `~pymongo.read_preferences.SecondaryPreferred `,
46
+ :class: `~pymongo.read_preferences.Nearest ` to support disabling
47
+ (or explicitly enabling) hedged reads in MongoDB 4.4+.
39
48
- Deprecated the ``oplog_replay `` parameter to
40
49
:meth: `pymongo.collection.Collection.find `. Starting in MongoDB 4.4, the
41
50
server optimizes queries against the oplog collection without requiring
0 commit comments