Skip to content

Commit 5b9e657

Browse files
authored
DOCSP-47127: v1.30 release (#83)
* DOCSP-47127: v1.30 release * edits * fix * MW feedback * tech feedback * link
1 parent a8ff697 commit 5b9e657

File tree

5 files changed

+100
-6
lines changed

5 files changed

+100
-6
lines changed

config/redirects

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
define: prefix docs/languages/c/c-driver
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v1.26 v1.27 v1.28 v1.29 master
3+
define: versions v1.26 v1.27 v1.28 v1.29 v1.30 master
44

5-
symlink: current -> v1.29
5+
symlink: current -> v1.30
66
symlink: upcoming -> master
77

88
raw: ${prefix}/ -> ${base}/current/

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2222

2323
[constants]
2424

25-
version = "1.29"
26-
full-version = "{+version+}.1"
25+
version = "1.30"
26+
full-version = "{+version+}.0"
2727
is-experimental = "is part of the experimental Queryable Encryption API and may be subject to breaking changes in future releases."
2828
range-is-experimental = "Range algorithm is experimental only and not intended for public use. It is subject to breaking changes."
2929
api-is-experimental = "This API {+is-experimental+}"

source/includes/compatibility/language-compatibility-table-c.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- C99
1111
- C89
1212

13-
* - 1.24 to 1.29
13+
* - 1.24 to 1.30
1414
- ✓
1515
- ✓
1616
- ✓

source/includes/compatibility/mongodb-compatibility-table-c.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- MongoDB 4.0
1616
- MongoDB 3.6
1717

18-
* - 1.28 to 1.29
18+
* - 1.28 to 1.30
1919
- ✓
2020
- ✓
2121
- ✓

source/whats-new.txt

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and deprecations made in each version of the driver libraries.
2626

2727
Learn 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

46140
What's New in 1.29.0

0 commit comments

Comments
 (0)