Skip to content

Commit 3179eab

Browse files
authored
Improve the changelog for 4.1 (#915)
1 parent c58950a commit 3179eab

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

doc/changelog.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ Changes in Version 4.1
88

99
PyMongo 4.1 brings a number of improvements including:
1010

11-
- Type Hinting support (formerly provided by ``pymongo-stubs``). See :doc:`examples/type_hints` for more information.
11+
- Type Hinting support (formerly provided by `pymongo-stubs`_). See :doc:`examples/type_hints` for more information.
12+
- Added support for the ``comment`` parameter to all helpers. For example see
13+
:meth:`~pymongo.collection.Collection.insert_one`.
1214
- Added support for the ``let`` parameter to
1315
:meth:`~pymongo.collection.Collection.update_one`,
1416
:meth:`~pymongo.collection.Collection.update_many`,
@@ -31,6 +33,16 @@ PyMongo 4.1 brings a number of improvements including:
3133
MongoDB >= 5.0.
3234
- :meth:`gridfs.grid_file.GridOut.seek` now returns the new position in the file, to
3335
conform to the behavior of :meth:`io.IOBase.seek`.
36+
- Improved reuse of implicit sessions (`PYTHON-2956`_).
37+
38+
Bug fixes
39+
.........
40+
41+
- Fixed bug that would cause SDAM heartbeat timeouts and connection churn on
42+
AWS Lambda and other FaaS environments (`PYTHON-3186`_).
43+
- Fixed bug where :class:`~pymongo.mongo_client.MongoClient`,
44+
:class:`~pymongo.database.Database`, and :class:`~pymongo.collection.Collection`
45+
mistakenly implemented :class:`typing.Iterable` (`PYTHON-3084`_).
3446

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

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

4359
Changes in Version 4.0
4460
----------------------

0 commit comments

Comments
 (0)