@@ -12,6 +12,7 @@ What's New
12
12
13
13
Learn what's new in:
14
14
15
+ * :ref:`Version 6.2 <version-6.2>`
15
16
* :ref:`Version 6.1 <version-6.1>`
16
17
* :ref:`Version 6.0 <version-6.0>`
17
18
* :ref:`Version 5.8 <version-5.8>`
@@ -44,6 +45,40 @@ Learn what's new in:
44
45
* :ref:`Version 3.7 <version-3.7>`
45
46
* :ref:`Version 3.6 <version-3.6>`
46
47
48
+ .. _version-6.2:
49
+
50
+ What's New in 6.2
51
+ -----------------
52
+
53
+ The {+driver-short+} v6.2 release includes the following features:
54
+
55
+ - Updates the ``bson`` package version to 6.2.0 to include
56
+ color visualization of types, as shown in the following image:
57
+
58
+ .. figure:: /includes/figures/bson-color.png
59
+ :alt: A screenshot of the terminal that shows printing in color
60
+
61
+ To learn more, see the `bson v6.2.0 release notes
62
+ <https://github.com/mongodb/js-bson/releases/tag/v6.2.0>`__.
63
+
64
+ - Ensures that the ``result.insertedIds`` property of a bulk write error type
65
+ contains the ``_id`` values of successfully inserted documents. In
66
+ previous versions, when a bulk write operation rejected an insert
67
+ operation, the ``result.insertedIds`` property contained the
68
+ ``_id`` values for all attempted inserts.
69
+
70
+ - Closes the implicit session created when running the ``findOne()``
71
+ method on a time series collection regardless of the outcome of the
72
+ operation.
73
+
74
+ - Allows the creation of collections that have names that start or end with the
75
+ ``.`` character. This change aligns the driver's database and
76
+ collection name-checking behavior with the server's.
77
+
78
+ To learn more about this release, see the
79
+ `v6.2.0 Release Highlights
80
+ <https://github.com/mongodb/node-mongodb-native/releases/tag/v6.2.0>`__.
81
+
47
82
.. _version-6.1:
48
83
49
84
What's New in 6.1
0 commit comments