@@ -8,7 +8,9 @@ Changes in Version 4.1
8
8
9
9
PyMongo 4.1 brings a number of improvements including:
10
10
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 `.
12
14
- Added support for the ``let `` parameter to
13
15
:meth: `~pymongo.collection.Collection.update_one `,
14
16
:meth: `~pymongo.collection.Collection.update_many `,
@@ -31,6 +33,16 @@ PyMongo 4.1 brings a number of improvements including:
31
33
MongoDB >= 5.0.
32
34
- :meth: `gridfs.grid_file.GridOut.seek ` now returns the new position in the file, to
33
35
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 `_).
34
46
35
47
Issues Resolved
36
48
...............
@@ -39,6 +51,10 @@ See the `PyMongo 4.1 release notes in JIRA`_ for the list of resolved issues
39
51
in this release.
40
52
41
53
.. _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
42
58
43
59
Changes in Version 4.0
44
60
----------------------
0 commit comments