@@ -4,6 +4,11 @@ Changelog
44Changes in Version 3.13.0
55-------------------------
66
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+
712Notable improvements
813....................
914- Added :attr: `pymongo.mongo_client.MongoClient.options ` for read-only access
@@ -43,11 +48,11 @@ Deprecations
4348- Deprecated :attr: `pymongo.mongo_client.MongoClient.retry_reads `.
4449 Use :attr: `~pymongo.mongo_client.options.retry_reads ` instead.
4550- 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::
5156
5257 max_bson_size = client.max_bson_size
5358 max_message_size = client.max_message_size
@@ -65,6 +70,7 @@ can be changed to this::
6570See the `PyMongo 3.13.0 release notes in JIRA `_ for the list of resolved issues
6671in this release.
6772
73+ .. _PyMongo 4 Migration Guide : https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html
6874.. _PYTHON-3222 : https://jira.mongodb.org/browse/PYTHON-3222
6975.. _PyMongo 3.13.0 release notes in JIRA : https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=31570
7076
0 commit comments