@@ -26,6 +26,7 @@ and deprecations made in each version of the driver libraries.
2626
2727Learn what's new in:
2828
29+ * :ref:`Version 1.30.0 <c-version-1.30.0>`
2930* :ref:`Version 1.29.0 <c-version-1.29.0>`
3031* :ref:`Version 1.28.0 <c-version-1.28.0>`
3132* :ref:`Version 1.27.6 <c-version-1.27.6>`
@@ -41,6 +42,99 @@ Learn what's new in:
4142
4243.. _c-upcoming-breaking-changes:
4344
45+ .. _c-version-1.30.0:
46+
47+ What's New in 1.30.0
48+ --------------------
49+
50+ The following sections describe the changes in the 1.30.0 release of
51+ the {+driver-short+}.
52+
53+ {+libbson+}
54+ ~~~~~~~
55+
56+ The 1.30.0 release of ``{+libbson+}`` includes the following changes:
57+
58+ Deprecations
59+ ````````````
60+
61+ - Deprecates support for Debian 9 and Debian 10
62+
63+ Improvements
64+ ````````````
65+
66+ - Improves the performance of BSON to JSON serialization for
67+ nested documents
68+
69+ Fixes
70+ `````
71+
72+ - Updates the truncated output of the ``bson_as_json_with_opts()`` function to no
73+ longer split valid UTF-8 sequences
74+
75+ - Updates generated JSON text in the following ways:
76+
77+ - Serializes all empty arrays and documents with one space
78+ - Serializes arrays that the driver omits because of the maximum recursion limit
79+ to ``[ ... ]`` instead of ``{ ... }``
80+ - Applies the maximum recursion limit to legacy CodeWScope documents
81+
82+ - Fixes an output parameter leaked after unsuccessful calls to the
83+ ``bson_append_array_builder_begin()`` function
84+
85+ {+libmongoc+}
86+ ~~~~~~~~~
87+
88+ The 1.30.0 release of ``{+libmongoc+}`` includes the following changes:
89+
90+ Deprecations
91+ ````````````
92+
93+ - Deprecates support for Debian 9 and Debian 10
94+
95+ New Features
96+ ````````````
97+
98+ - Adds support for structured logging. To configure this feature, use
99+ the ``mongoc_client_set_structured_log_opts()`` and ``mongoc_client_pool_set_structured_log_opts()``
100+ functions.
101+
102+ - Adds support for cache lifetime configuration of In-Use Encryption data
103+ encryption keys. To configure this feature, use the ``mongoc_auto_encryption_opts_set_key_expiration()``
104+ and ``mongoc_client_encryption_opts_set_key_expiration()`` functions.
105+
106+ To learn more about In-Use Encryption, see :manual:`In-Use Encryption </core/security-in-use-encryption/>`
107+ in the {+mdb-server+} manual.
108+
109+ - Adds support for the ``sort`` option for update and replace operations.
110+
111+ - Adds support for constructing a ``mongoc_bulkwrite_t`` type without
112+ a client by using the ``mongoc_bulkwrite_new()`` and ``mongoc_bulkwrite_set_client()``
113+ functions.
114+
115+ Improvements
116+ ````````````
117+
118+ - Improves the performance of the ``mongoc_server_description_new_copy()``
119+ function
120+
121+ Fixes
122+ `````
123+
124+ - Includes the following APM event fixes required by the
125+ :spec:`SDAM specification </server-selection/server-selection.md>`:
126+
127+ - After delivering a ``server_opening`` event, the driver must deliver a
128+ corresponding ``server_closed`` event before delivering ``topology_closed``
129+ - Before delivering a ``topology_closed`` event, the driver delivers a ``topology_changed``
130+ event that has a ``new_description`` of type ``Unknown``
131+
132+ - Fixes possible crashes when the driver reports the inserted document
133+ IDs in the verbose results of client bulk writes
134+
135+ For more information about this release, see the :github:`v1.30 release notes
136+ </mongodb/mongo-c-driver/releases/tag/1.30.0>`.
137+
44138.. _c-version-1.29.0:
45139
46140What's New in 1.29.0
0 commit comments