Skip to content

Commit cfbd182

Browse files
DOCSP-31924 mongodb-client-encryption changes for 6.0 (#739)
1 parent 5e7ec53 commit cfbd182

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

source/upgrade.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ Version 6.x Breaking Changes
7070
``tlsCertificateKeyFile`` connection options when you call the
7171
``MongoClient.connect()`` method, not when you create the
7272
``MongoClient`` instance.
73+
- If you add ``mongodb-client-encryption`` as a dependency,
74+
the major version number must match that of the {+driver-short+}. For example,
75+
{+driver-short+} v6.x.x requires ``mongodb-client-encryption`` v6.x.x.
76+
- Automatic Encryption methods are now in the {+driver-short+}. You must
77+
import these methods from the driver instead of from
78+
``mongodb-client-encryption``.
7379

7480
.. _node-breaking-changes-v5.x:
7581

source/whats-new.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,15 @@ What's New in 6.0
4848

4949
.. important:: Breaking Changes in v6.0
5050

51-
Version 6.0 of the {+driver-short+} requires Node.js v16.20.1 or later.
51+
- Version 6.0 of the {+driver-short+} requires Node.js v16.20.1 or later.
52+
53+
- If you add ``mongodb-client-encryption`` as a dependency,
54+
the major version number must match that of the {+driver-short+}. For example,
55+
{+driver-short+} v6.x.x requires ``mongodb-client-encryption`` v6.x.x.
56+
57+
- Automatic Encryption methods are now in the {+driver-short+}. You must
58+
import these methods from the driver instead of from
59+
``mongodb-client-encryption``.
5260

5361
The {+driver-short+} v6.0 release includes the following features:
5462

0 commit comments

Comments
 (0)