@@ -4,18 +4,55 @@ Changelog
4
4
Changes in Version 3.12.0
5
5
-------------------------
6
6
7
- .. warning :: Support for Python 2.7, 3.4 and 3.5 is deprecated. Those Python
8
- versions will not be supported by PyMongo 4.
7
+ .. warning :: PyMongo 3.12.0 deprecates support for Python 2.7, 3.4 and 3.5.
8
+ These Python versions will not be supported by PyMongo 4.
9
9
10
10
- PyMongoCrypt 1.1.0 or later is now required for client side field level
11
11
encryption support.
12
- - Added :attr: `pymongo.mongo_client.MongoClient.topology_description `.
13
-
14
12
15
13
Notable improvements
16
14
....................
17
15
18
16
- Support for MongoDB Versioned API, see :class: `~pymongo.server_api.ServerApi `.
17
+ - Added :attr: `pymongo.mongo_client.MongoClient.topology_description `.
18
+ - Added hash support to :class: `~pymongo.mongo_client.MongoClient `,
19
+ :class: `~pymongo.database.Database ` and
20
+ :class: `~pymongo.collection.Collection ` (`PYTHON-2466 `_).
21
+
22
+ Bug fixes
23
+ .........
24
+
25
+ - Fixed a bug that could cause the driver to deadlock during automatic
26
+ client side field level encryption (`PYTHON-2472 `_).
27
+ - Fixed a bug that prevented PyMongo from retrying writes after
28
+ a ``writeConcernError `` on MongoDB 4.4+ (`PYTHON-2452 `_).
29
+ - Fixed a memory leak caused by failing SDAM monitor checks on Python 3 (`PYTHON-2433 `_).
30
+ - Fixed a regression that changed the string representation of
31
+ :exc: `~pymongo.errors.BulkWriteError ` (`PYTHON-2438 `_).
32
+ - Fixed a bug that made it impossible to use
33
+ :meth: `bson.codec_options.CodecOptions.with_options ` and
34
+ :meth: `~bson.json_util.JSONOptions.with_options ` on some early versions of
35
+ Python 3.4 and Python 3.5 due to a bug in the standard library implementation
36
+ of :meth: `collections.namedtuple._asdict ` (`PYTHON-2440 `_).
37
+ - Fixed a bug that resulted in a :exc: `TypeError ` exception when a PyOpenSSL
38
+ socket was configured with a timeout of ``None `` (`PYTHON-2443 `_).
39
+ - Improved the error message returned by
40
+ :meth: `~pymongo.collection.Collection.insert_many ` when supplied with an
41
+ argument of incorrect type (`PYTHON-1690 `_).
42
+
43
+ Deprecations
44
+ ............
45
+
46
+ - Deprecated support for Python 2.7, 3.4 and 3.5.
47
+
48
+ .. _PYTHON-2472 : https://jira.mongodb.org/browse/PYTHON-2472
49
+ .. _PYTHON-2466 : https://jira.mongodb.org/browse/PYTHON-2466
50
+ .. _PYTHON-2433 : https://jira.mongodb.org/browse/PYTHON-2433
51
+ .. _PYTHON-2438 : https://jira.mongodb.org/browse/PYTHON-2438
52
+ .. _PYTHON-2440 : https://jira.mongodb.org/browse/PYTHON-2440
53
+ .. _PYTHON-2443 : https://jira.mongodb.org/browse/PYTHON-2443
54
+ .. _PYTHON-2452 : https://jira.mongodb.org/browse/PYTHON-2452
55
+ .. _PYTHON-1690 : https://jira.mongodb.org/browse/PYTHON-1690
19
56
20
57
Issues Resolved
21
58
...............
0 commit comments