Skip to content

Commit d84f4fb

Browse files
authored
DOCSP-31377: connection pool created event options v6 (#735)
1 parent cd02956 commit d84f4fb

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

source/upgrade.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ Version 6.x Breaking Changes
6161
:manual:`createUser </reference/command/createUser>` MongoDB Shell command instead.
6262
- The driver removes support for the ``collStats`` operation. Use the
6363
:manual:`$collStats </reference/operator/aggregation/collStats>` aggregation operator
64-
instead.
64+
instead.
65+
- The driver deprecates all of the ``ssl``-prefixed options and the
66+
``tlsCertificateFile`` option in the ``MongoClientOptions`` type.
67+
Create a ``SecureContext`` object or set the ``tls``-prefixed options
68+
in your ``MongoClientOptions`` instance instead.
6569

6670
.. _node-breaking-changes-v5.x:
6771

source/whats-new.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,21 @@ The {+driver-short+} v6.0 release includes the following features:
6464

6565
- Removes support for the ``addUser()`` helper command. Use the
6666
:manual:`createUser </reference/command/createUser>` MongoDB Shell command instead.
67+
6768
- Removes support for the ``collStats`` operation. Use the
6869
:manual:`$collStats </reference/operator/aggregation/collStats>` aggregation operator
6970
instead.
7071

72+
- The ``options`` field of the ``ConnectionPoolCreatedEvent`` type
73+
contains only the following fields, which are the non-default pool
74+
options:
75+
76+
- ``maxConnecting``
77+
- ``maxPoolSize``
78+
- ``minPoolSize``
79+
- ``maxIdleTimeMS``
80+
- ``waitQueueTimeoutMS``
81+
7182
.. _version-5.7:
7283

7384
What's New in 5.7

0 commit comments

Comments
 (0)