BUMP 4.0.1 (#811)

This commit is contained in:
Shane Harvey 2021-12-07 14:32:49 -08:00 committed by GitHub
parent f0d1563c1f
commit eb9e036b72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 2 deletions

View File

@ -1,6 +1,27 @@
Changelog
=========
Changes in Version 4.0.1
-------------------------
Issues Resolved
...............
Version 4.0.1 fixes a number of bugs:
- Fixed a bug that prevented :meth:`bson.json_util.loads` from
decoding a document with a non-string "$regex" field (`PYTHON-3028`_).
- Fixed a bug where a client may select a hidden/ghost or not yet initialized
replica set member leading to unexpected "connection pool paused" errors
(`PYTHON-3027`_).
See the `PyMongo 4.0.1 release notes in JIRA`_ for the list of resolved issues
in this release.
.. _PYTHON-3027: https://jira.mongodb.org/browse/PYTHON-3027
.. _PYTHON-3028: https://jira.mongodb.org/browse/PYTHON-3028
.. _PyMongo 4.0.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=32504
Changes in Version 4.0
----------------------

View File

@ -53,7 +53,7 @@ TEXT = "text"
.. _text index: http://docs.mongodb.org/manual/core/index-text/
"""
version_tuple = (4, 0, 1, '.dev0')
version_tuple = (4, 0, 1)
def get_version_string():
if isinstance(version_tuple[-1], str):

View File

@ -36,7 +36,7 @@ except ImportError:
except ImportError:
_HAVE_SPHINX = False
version = "4.0.1.dev0"
version = "4.0.1"
f = open("README.rst")
try: