Skip to content

Commit

Permalink
BUMP 4.0.2 (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneHarvey committed Mar 3, 2022
1 parent 2a36f89 commit e2dcb86
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
20 changes: 20 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -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
-------------------------

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


def get_version_string():
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
except ImportError:
_HAVE_SPHINX = False

version = "4.0.2.dev0"
version = "4.0.2"

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

0 comments on commit e2dcb86

Please sign in to comment.