Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 22 additions & 5 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
@@ -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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also "Fixed a bug where connections created in the background were not authenticated": https://jira.mongodb.org/browse/PYTHON-2360

And also "Fixed a memory leak in the bson module when using a TypeRegistry":
https://jira.mongodb.org/browse/PYTHON-2382

- 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
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion pymongo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
except ImportError:
_HAVE_SPHINX = False

version = "3.11.1.dev1"
version = "3.11.1"

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