File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,16 @@ Version 6.x Breaking Changes
7676- Automatic Encryption methods are now in the {+driver-short+}. You must
7777 import these methods from the driver instead of from
7878 ``mongodb-client-encryption``.
79+ - Removed the ``ObjectId`` constructor that accepted a 12-character string.
80+ - Modified ``abortTransaction()`` and ``commitTransaction()`` methods to return
81+ ``null`` instead of the raw command results.
82+ - Removed connection option helpers that accepted values other than ``true``
83+ or ``false`` as booleans. You must provide either ``true`` or ``false`` values in
84+ the connection string or to the MongoClient constructor.
85+ - Removed the ``Binary`` BSON type constructor that accepted a string.
86+ - The ``Binary.write()`` method no longer accepts a string to write to the binary
87+ BSON object.
88+ - The ClientEncryption API returns promises instead of callbacks.
7989
8090.. _node-breaking-changes-v5.x:
8191
Original file line number Diff line number Diff line change @@ -60,6 +60,22 @@ What's New in 6.0
6060 import these methods from the driver instead of from
6161 ``mongodb-client-encryption``.
6262
63+ - Removed the ``ObjectId`` constructor that accepted a 12-character string.
64+
65+ - Modified ``abortTransaction()`` and ``commitTransaction()`` methods to return
66+ ``null`` instead of the raw command results.
67+
68+ - Removed connection option helpers that accepted values other than ``true``
69+ or ``false`` as booleans. You must provide either ``true`` or ``false`` values in
70+ the connection string or to the MongoClient constructor.
71+
72+ - Removed the ``Binary`` BSON type constructor that accepted a string.
73+
74+ - The ``Binary.write()`` method no longer accepts a string to write
75+ to the binary BSON object.
76+
77+ - The ClientEncryption API returns promises instead of callbacks.
78+
6379The {+driver-short+} v6.0 release includes the following features:
6480
6581.. important:: Deprecation Notice
You can’t perform that action at this time.
0 commit comments