From 69d48d6401aa40c5c101817eda26cea9ed588d96 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Wed, 2 Mar 2022 15:53:52 -0800 Subject: [PATCH] BUMP 4.0.2 --- doc/changelog.rst | 20 ++++++++++++++++++++ pymongo/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 22 insertions(+), 2 deletions(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 308019be9a..f645f4674c 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,6 +1,26 @@ Changelog ========= +Changes in Version 4.0.2 +------------------------- + +Issues Resolved +............... + +Version 4.0.2 fixes a number of bugs: + +- Fixed a bug :meth:`pymongo.collection.Collection.bulk_write` did not apply + the collection's CodecOptions to ``upserted_ids`` result (`PYTHON-3075`_). +- Fixes the :doc:`/examples/high_availability` example for initializing a + replica set (`PYTHON-3041`_). + +See the `PyMongo 4.0.2 release notes in JIRA`_ for the list of resolved issues +in this release. + +.. _PYTHON-3041: https://jira.mongodb.org/browse/PYTHON-3027 +.. _PYTHON-3075: https://jira.mongodb.org/browse/PYTHON-3075 +.. _PyMongo 4.0.2 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=32522 + Changes in Version 4.0.1 ------------------------- diff --git a/pymongo/__init__.py b/pymongo/__init__.py index 8a1d3464ff..366eacc2a0 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, 2, ".dev0") +version_tuple = (4, 0, 2) def get_version_string(): diff --git a/setup.py b/setup.py index cb764ca99f..8c70b920c2 100755 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ except ImportError: _HAVE_SPHINX = False -version = "4.0.2.dev0" +version = "4.0.2" f = open("README.rst") try: