Skip to content

Commit

Permalink
BUMP 4.0.1 (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Dec 7, 2021
1 parent f0d1563 commit eb9e036
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -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
----------------------

Expand Down
2 changes: 1 addition & 1 deletion pymongo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
except ImportError:
_HAVE_SPHINX = False

version = "4.0.1.dev0"
version = "4.0.1"

f = open("README.rst")
try:
Expand Down

0 comments on commit eb9e036

Please sign in to comment.