11Changelog
22=========
33
4- Changes in Version 3.11.0b1.dev0
5- --------------------------------
4+ Changes in Version 3.11.0b1
5+ ---------------------------
66
77Version 3.11 adds support for MongoDB 4.4. Highlights include:
88
@@ -14,6 +14,11 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
1414- Support for the :ref: `MONGODB-AWS ` authentication mechanism.
1515- Support for the ``directConnection `` URI option and kwarg to
1616 :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+.
1722- Added index hinting support to the
1823 :meth: `~pymongo.collection.Collection.replace_one `,
1924 :meth: `~pymongo.collection.Collection.update_one `,
@@ -34,8 +39,12 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
3439 of this parameter see the MongoDB documentation for the `validate command `_.
3540- Added the ``allow_disk_use `` parameters to
3641 :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+.
3948- Deprecated the ``oplog_replay `` parameter to
4049 :meth: `pymongo.collection.Collection.find `. Starting in MongoDB 4.4, the
4150 server optimizes queries against the oplog collection without requiring
0 commit comments