diff --git a/doc/changelog.rst b/doc/changelog.rst index 88c1b7cd20..308019be9a 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -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 ---------------------- diff --git a/pymongo/__init__.py b/pymongo/__init__.py index 4ac46672e7..d74e3111bd 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -53,7 +53,7 @@ .. _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): diff --git a/setup.py b/setup.py index 158eb9a42b..20548e0bc0 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ except ImportError: _HAVE_SPHINX = False -version = "4.0.1.dev0" +version = "4.0.1" f = open("README.rst") try: