Skip to content

Commit e2dcb86

Browse files
authored
BUMP 4.0.2 (#891)
1 parent 2a36f89 commit e2dcb86

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

doc/changelog.rst

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

4+
Changes in Version 4.0.2
5+
-------------------------
6+
7+
Issues Resolved
8+
...............
9+
10+
Version 4.0.2 fixes a number of bugs:
11+
12+
- Fixed a bug :meth:`pymongo.collection.Collection.bulk_write` did not apply
13+
the collection's CodecOptions to ``upserted_ids`` result (`PYTHON-3075`_).
14+
- Fixes the :doc:`/examples/high_availability` example for initializing a
15+
replica set (`PYTHON-3041`_).
16+
17+
See the `PyMongo 4.0.2 release notes in JIRA`_ for the list of resolved issues
18+
in this release.
19+
20+
.. _PYTHON-3041: https://jira.mongodb.org/browse/PYTHON-3027
21+
.. _PYTHON-3075: https://jira.mongodb.org/browse/PYTHON-3075
22+
.. _PyMongo 4.0.2 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=32522
23+
424
Changes in Version 4.0.1
525
-------------------------
626

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, 2, ".dev0")
56+
version_tuple = (4, 0, 2)
5757

5858

5959
def get_version_string():

setup.py

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

38-
version = "4.0.2.dev0"
38+
version = "4.0.2"
3939

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

0 commit comments

Comments
 (0)