Skip to content

Commit eb9e036

Browse files
authored
BUMP 4.0.1 (#811)
1 parent f0d1563 commit eb9e036

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

doc/changelog.rst

+21
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
Changelog
22
=========
33

4+
Changes in Version 4.0.1
5+
-------------------------
6+
7+
Issues Resolved
8+
...............
9+
10+
Version 4.0.1 fixes a number of bugs:
11+
12+
- Fixed a bug that prevented :meth:`bson.json_util.loads` from
13+
decoding a document with a non-string "$regex" field (`PYTHON-3028`_).
14+
- Fixed a bug where a client may select a hidden/ghost or not yet initialized
15+
replica set member leading to unexpected "connection pool paused" errors
16+
(`PYTHON-3027`_).
17+
18+
See the `PyMongo 4.0.1 release notes in JIRA`_ for the list of resolved issues
19+
in this release.
20+
21+
.. _PYTHON-3027: https://jira.mongodb.org/browse/PYTHON-3027
22+
.. _PYTHON-3028: https://jira.mongodb.org/browse/PYTHON-3028
23+
.. _PyMongo 4.0.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=32504
24+
425
Changes in Version 4.0
526
----------------------
627

pymongo/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
.. _text index: http://docs.mongodb.org/manual/core/index-text/
5454
"""
5555

56-
version_tuple = (4, 0, 1, '.dev0')
56+
version_tuple = (4, 0, 1)
5757

5858
def get_version_string():
5959
if isinstance(version_tuple[-1], str):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
except ImportError:
3737
_HAVE_SPHINX = False
3838

39-
version = "4.0.1.dev0"
39+
version = "4.0.1"
4040

4141
f = open("README.rst")
4242
try:

0 commit comments

Comments
 (0)