Skip to content

Improve the changelog for 4.1 #915

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 31, 2022
Merged
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
18 changes: 17 additions & 1 deletion doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ Changes in Version 4.1

PyMongo 4.1 brings a number of improvements including:

- Type Hinting support (formerly provided by ``pymongo-stubs``). See :doc:`examples/type_hints` for more information.
- Type Hinting support (formerly provided by `pymongo-stubs`_). See :doc:`examples/type_hints` for more information.
- Added support for the ``comment`` parameter to all helpers. For example see
:meth:`~pymongo.collection.Collection.insert_one`.
- Added support for the ``let`` parameter to
:meth:`~pymongo.collection.Collection.update_one`,
:meth:`~pymongo.collection.Collection.update_many`,
Expand All @@ -31,6 +33,16 @@ PyMongo 4.1 brings a number of improvements including:
MongoDB >= 5.0.
- :meth:`gridfs.grid_file.GridOut.seek` now returns the new position in the file, to
conform to the behavior of :meth:`io.IOBase.seek`.
- Improved reuse of implicit sessions (`PYTHON-2956`_).

Bug fixes
.........

- Fixed bug that would cause SDAM heartbeat timeouts and connection churn on
AWS Lambda and other FaaS environments (`PYTHON-3186`_).
- Fixed bug where :class:`~pymongo.mongo_client.MongoClient`,
:class:`~pymongo.database.Database`, and :class:`~pymongo.collection.Collection`
mistakenly implemented :class:`typing.Iterable` (`PYTHON-3084`_).

Issues Resolved
...............
Expand All @@ -39,6 +51,10 @@ See the `PyMongo 4.1 release notes in JIRA`_ for the list of resolved issues
in this release.

.. _PyMongo 4.1 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=30619
.. _PYTHON-2956: https://jira.mongodb.org/browse/PYTHON-2956
.. _PYTHON-3084: https://jira.mongodb.org/browse/PYTHON-3084
.. _PYTHON-3186: https://jira.mongodb.org/browse/PYTHON-3186
.. _pymongo-stubs: https://github.com/mongodb-labs/pymongo-stubs

Changes in Version 4.0
----------------------
Expand Down