diff --git a/doc/changelog.rst b/doc/changelog.rst index 219070356..32666bfff 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -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 diff --git a/doc/installation.rst b/doc/installation.rst index 0bda72e16..f34991740 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -275,8 +275,8 @@ but can be found on the `GitHub tags page `_. 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 diff --git a/pymongo/__init__.py b/pymongo/__init__.py index 74246e72c..dd02d9e72 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -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): diff --git a/setup.py b/setup.py index fc1ee93f7..c8f6b9668 100755 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ except ImportError: except ImportError: _HAVE_SPHINX = False -version = "3.11.0b1.dev0" +version = "3.11.0b1" f = open("README.rst") try: