diff --git a/doc/changelog.rst b/doc/changelog.rst index 585ea045c8..b3e1c75319 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -21,9 +21,8 @@ PyMongo 4.17 brings a number of changes including: - Added the :meth:`~pymongo.asynchronous.client_session.AsyncClientSession.bind` and :meth:`~pymongo.client_session.ClientSession.bind` methods that allow users to bind a session to all database operations within the scope of a context manager instead of having to explicitly pass the session to each individual operation. See the `Transactions docs `_ for examples and more information. -- Added support for MongoDB's Intelligent Workload Management (IWM) and ingress connection rate limiting features. - The driver now gracefully handles write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability. - See the `IWM `_ or `Overload Errors `_ docs for more information. +- Added support for MongoDB's Intelligent Workload Management (IWM) and ingress connection rate limiting features in MongoDB server version 9.0. + The driver will gracefully handle write-blocking scenarios and optimizes connection establishment during high-load conditions to maintain application availability. Changes in Version 4.16.0 (2026/01/07) -------------------------------------- diff --git a/pymongo/asynchronous/mongo_client.py b/pymongo/asynchronous/mongo_client.py index 6aeea53f4c..834831c4ef 100644 --- a/pymongo/asynchronous/mongo_client.py +++ b/pymongo/asynchronous/mongo_client.py @@ -609,6 +609,7 @@ def __init__( details. | **Overload retry options:** + | (Requires MongoDB server version 9.0+.) - `max_adaptive_retries`: (int) How many retries to allow for overload errors. Defaults to ``2``. - `enable_overload_retargeting`: (boolean) Whether overload retargeting is enabled for this client. diff --git a/pymongo/synchronous/mongo_client.py b/pymongo/synchronous/mongo_client.py index 6b7c5d9c98..ac6974bbfa 100644 --- a/pymongo/synchronous/mongo_client.py +++ b/pymongo/synchronous/mongo_client.py @@ -610,6 +610,7 @@ def __init__( details. | **Overload retry options:** + | (Requires MongoDB server version 9.0+.) - `max_adaptive_retries`: (int) How many retries to allow for overload errors. Defaults to ``2``. - `enable_overload_retargeting`: (boolean) Whether overload retargeting is enabled for this client.