BUMP 3.11.0b1
This commit is contained in:
parent
6d2f2b516e
commit
8fdda6857f
@ -1,8 +1,8 @@
|
||||
Changelog
|
||||
=========
|
||||
|
||||
Changes in Version 3.11.0b1.dev0
|
||||
--------------------------------
|
||||
Changes in Version 3.11.0b1
|
||||
---------------------------
|
||||
|
||||
Version 3.11 adds support for MongoDB 4.4. Highlights include:
|
||||
|
||||
@ -14,6 +14,11 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
|
||||
- Support for the :ref:`MONGODB-AWS` authentication mechanism.
|
||||
- Support for the ``directConnection`` URI option and kwarg to
|
||||
:class:`~pymongo.mongo_client.MongoClient`.
|
||||
- Support for speculative authentication attempts in connection handshakes
|
||||
which reduces the number of network roundtrips needed to authenticate new
|
||||
connections on MongoDB 4.4+.
|
||||
- Support for creating collections in multi-document transactions with
|
||||
:meth:`~pymongo.database.Database.create_collection` on MongoDB 4.4+.
|
||||
- Added index hinting support to the
|
||||
:meth:`~pymongo.collection.Collection.replace_one`,
|
||||
:meth:`~pymongo.collection.Collection.update_one`,
|
||||
@ -34,8 +39,12 @@ Version 3.11 adds support for MongoDB 4.4. Highlights include:
|
||||
of this parameter see the MongoDB documentation for the `validate command`_.
|
||||
- Added the ``allow_disk_use`` parameters to
|
||||
:meth:`pymongo.collection.Collection.find`.
|
||||
- Support for creating collections in multi-document transactions with
|
||||
:meth:`~pymongo.database.Database.create_collection` on MongoDB 4.4+.
|
||||
- Added the ``hedge`` parameter to
|
||||
:class:`~pymongo.read_preferences.PrimaryPreferred`,
|
||||
:class:`~pymongo.read_preferences.Secondary`,
|
||||
:class:`~pymongo.read_preferences.SecondaryPreferred`,
|
||||
:class:`~pymongo.read_preferences.Nearest` to support disabling
|
||||
(or explicitly enabling) hedged reads in MongoDB 4.4+.
|
||||
- Deprecated the ``oplog_replay`` parameter to
|
||||
:meth:`pymongo.collection.Collection.find`. Starting in MongoDB 4.4, the
|
||||
server optimizes queries against the oplog collection without requiring
|
||||
|
||||
@ -275,8 +275,8 @@ but can be found on the
|
||||
`GitHub tags page <https://github.com/mongodb/mongo-python-driver/tags>`_.
|
||||
They can be installed by passing the full URL for the tag to pip::
|
||||
|
||||
$ python -m pip install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b0.tar.gz
|
||||
$ python -m pip install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b1.tar.gz
|
||||
|
||||
or easy_install::
|
||||
|
||||
$ python -m easy_install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b0.tar.gz
|
||||
$ python -m easy_install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b1.tar.gz
|
||||
|
||||
@ -70,7 +70,7 @@ SLOW_ONLY = 1
|
||||
ALL = 2
|
||||
"""Profile all operations."""
|
||||
|
||||
version_tuple = (3, 11, 0, 'b1.dev0')
|
||||
version_tuple = (3, 11, 0, 'b1')
|
||||
|
||||
def get_version_string():
|
||||
if isinstance(version_tuple[-1], str):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user