Skip to content

Commit 8fdda68

Browse files
committed
BUMP 3.11.0b1
1 parent 6d2f2b5 commit 8fdda68

File tree

4 files changed

+17
-8
lines changed

4 files changed

+17
-8
lines changed

doc/changelog.rst

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Changelog
22
=========
33

4-
Changes in Version 3.11.0b1.dev0
5-
--------------------------------
4+
Changes in Version 3.11.0b1
5+
---------------------------
66

77
Version 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

doc/installation.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ but can be found on the
275275
`GitHub tags page <https://github.com/mongodb/mongo-python-driver/tags>`_.
276276
They can be installed by passing the full URL for the tag to pip::
277277

278-
$ python -m pip install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b0.tar.gz
278+
$ python -m pip install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b1.tar.gz
279279

280280
or easy_install::
281281

282-
$ python -m easy_install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b0.tar.gz
282+
$ python -m easy_install https://github.com/mongodb/mongo-python-driver/archive/3.11.0b1.tar.gz

pymongo/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
ALL = 2
7171
"""Profile all operations."""
7272

73-
version_tuple = (3, 11, 0, 'b1.dev0')
73+
version_tuple = (3, 11, 0, 'b1')
7474

7575
def get_version_string():
7676
if isinstance(version_tuple[-1], str):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
except ImportError:
4040
_HAVE_SPHINX = False
4141

42-
version = "3.11.0b1.dev0"
42+
version = "3.11.0b1"
4343

4444
f = open("README.rst")
4545
try:

0 commit comments

Comments
 (0)