From 1d651b9be8c155131c669516896fce2b832e6dc7 Mon Sep 17 00:00:00 2001 From: Prashant Mital <5883388+prashantmital@users.noreply.github.com> Date: Mon, 16 Nov 2020 16:01:14 -0800 Subject: [PATCH] BUMP 3.11.1 (#516) --- doc/changelog.rst | 27 ++++++++++++++++++++++----- pymongo/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 24 insertions(+), 7 deletions(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 2143c18ea..5d3729582 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,22 +1,39 @@ Changelog ========= -Changes in Version 3.12.0 +Changes in Version 3.11.1 ------------------------- -Version 3.12 adds support for Python 3.9 and includes a number of bug fixes. +Version 3.11.1 adds support for Python 3.9 and includes a number of bugfixes. Highlights include: - Support for Python 3.9. -- New method :class:`bson.json_util.JSONOptions.with_options`. +- Initial support for Azure and GCP KMS providers for client side field level + encryption is in beta. See the docstring for + :class:`~pymongo.mongo_client.MongoClient`, + :class:`~pymongo.encryption_options.AutoEncryptionOpts`, + and :mod:`~pymongo.encryption`. **Note: Backwards-breaking changes may be + made before the final release.** +- Fixed a bug where the :class:`bson.json_util.JSONOptions` API did not match + the :class:`bson.codec_options.CodecOptions` API due to the absence of + a :meth:`bson.json_util.JSONOptions.with_options` method. This method has now + been added. +- Fixed a bug which made it impossible to serialize + :class:`~pymongo.errors.BulkWriteError` instances using :mod:`pickle`. +- Fixed a bug wherein PyMongo did not always discard an implicit session after + encountering a network error. +- Fixed a bug where connections created in the background were not + authenticated. +- Fixed a memory leak in the :mod:`bson` module when using a + :class:`~bson.codec_options.TypeRegistry`. Issues Resolved ............... -See the `PyMongo 3.12.0 release notes in JIRA`_ for the list of resolved issues +See the `PyMongo 3.11.1 release notes in JIRA`_ for the list of resolved issues in this release. -.. _PyMongo 3.12.0 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=29594 +.. _PyMongo 3.11.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=29997 Changes in Version 3.11.0 ------------------------- diff --git a/pymongo/__init__.py b/pymongo/__init__.py index 315ee2c5b..399e6ba22 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -74,7 +74,7 @@ SLOW_ONLY = 1 ALL = 2 """Profile all operations.""" -version_tuple = (3, 11, 1, '.dev1') +version_tuple = (3, 11, 1) def get_version_string(): if isinstance(version_tuple[-1], str): diff --git a/setup.py b/setup.py index 28ab6f6a3..3bfcb1507 100755 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ except ImportError: except ImportError: _HAVE_SPHINX = False -version = "3.11.1.dev1" +version = "3.11.1" f = open("README.rst") try: