@@ -4,6 +4,11 @@ Changelog
4
4
Changes in Version 3.13.0
5
5
-------------------------
6
6
7
+ Version 3.13 provides an upgrade path to PyMongo 4.x. Most of the API changes
8
+ from PyMongo 4.0 have been backported in a backward compatible way, allowing
9
+ applications to be written against PyMongo >= 3.13, rather then PyMongo 3.x or
10
+ PyMongo 4.x. See the `PyMongo 4 Migration Guide `_ for detailed examples.
11
+
7
12
Notable improvements
8
13
....................
9
14
- Added :attr: `pymongo.mongo_client.MongoClient.options ` for read-only access
@@ -43,11 +48,11 @@ Deprecations
43
48
- Deprecated :attr: `pymongo.mongo_client.MongoClient.retry_reads `.
44
49
Use :attr: `~pymongo.mongo_client.options.retry_reads ` instead.
45
50
- Deprecated :attr: `pymongo.mongo_client.MongoClient.max_bson_size `,
46
- :attr: `pymongo.mongo_client.MongoClient.max_message_size `, and
47
- :attr: `pymongo.mongo_client.MongoClient.max_write_batch_size `. These helpers
48
- were incorrect when in ``loadBalanced=true mode `` and ambiguous in clusters
49
- with mixed versions. Use the `hello command `_ to get the authoritative
50
- value from the remote server instead. Code like this::
51
+ :attr: `pymongo.mongo_client.MongoClient.max_message_size `, and
52
+ :attr: `pymongo.mongo_client.MongoClient.max_write_batch_size `. These helpers
53
+ were incorrect when in ``loadBalanced=true mode `` and ambiguous in clusters
54
+ with mixed versions. Use the `hello command `_ to get the authoritative
55
+ value from the remote server instead. Code like this::
51
56
52
57
max_bson_size = client.max_bson_size
53
58
max_message_size = client.max_message_size
@@ -65,6 +70,7 @@ can be changed to this::
65
70
See the `PyMongo 3.13.0 release notes in JIRA `_ for the list of resolved issues
66
71
in this release.
67
72
73
+ .. _PyMongo 4 Migration Guide : https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html
68
74
.. _PYTHON-3222 : https://jira.mongodb.org/browse/PYTHON-3222
69
75
.. _PyMongo 3.13.0 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=31570
70
76
0 commit comments