Skip to content

Commit dda2239

Browse files
DOCSP-5094 v2.0.2 Release (#124) (#125)
(cherry picked from commit 7607af4) Co-authored-by: Stephanie <[email protected]>
1 parent a28705a commit dda2239

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2222
[constants]
2323

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

source/whats-new.txt

Lines changed: 40 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 2.0.2 <c-version-2.0.2>`
2930
* :ref:`Version 2.0.1 <c-version-2.0.1>`
3031
* :ref:`Version 2.0.0 <c-version-2.0.0>`
3132
* :ref:`Version 1.30.3 <c-version-1.30.3>`
@@ -45,6 +46,45 @@ Learn what's new in:
4546

4647
.. _c-upcoming-breaking-changes:
4748

49+
.. _c-version-2.0.2:
50+
51+
What's New in 2.0.2
52+
-------------------
53+
54+
The following sections describe the changes in the 2.0.2 release of
55+
the {+driver-short+}.
56+
57+
{+libbson+}
58+
~~~~~~~
59+
60+
This release includes several fixes to the ``bson_validate`` family of functions,
61+
with the following minor behavioral changes:
62+
63+
- When you specify the ``BSON_VALIDATE_UTF8`` setting, the driver rejects invalid UTF-8
64+
sequences instead of accepting them as in previous versions.
65+
66+
- The driver validates the scope document in a deprecated "code with scope"
67+
element with a fixed set of rules and treats it as an opaque JavaScript
68+
object.
69+
70+
- The driver enforces a document nesting limit during validation.
71+
72+
{+libmongoc+}
73+
~~~~~~~~~
74+
75+
The 2.0.2 release of ``{+libmongoc+}`` includes the following changes:
76+
77+
Fixes
78+
`````
79+
80+
- Fixes a message of ``bson_strerror_r`` on Windows.
81+
82+
- Fixes memory leaks with Windows Secure Channel.
83+
84+
- Fixes loading PKCS#8 RSA keys with Windows Secure Channel.
85+
86+
For more information about this release, see the :github:`v1.30.5 release notes </mongodb/mongo-c-driver/releases/tag/2.0.2>`.
87+
4888
.. _c-version-2.0.1:
4989

5090
What's New in 2.0.1

0 commit comments

Comments
 (0)