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
76
76
- Automatic Encryption methods are now in the {+driver-short+}. You must
77
77
import these methods from the driver instead of from
78
78
``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.
79
89
80
90
.. _node-breaking-changes-v5.x:
81
91
Original file line number Diff line number Diff line change @@ -60,6 +60,22 @@ What's New in 6.0
60
60
import these methods from the driver instead of from
61
61
``mongodb-client-encryption``.
62
62
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
+
63
79
The {+driver-short+} v6.0 release includes the following features:
64
80
65
81
.. important:: Deprecation Notice
You can’t perform that action at this time.
0 commit comments