Skip to content

Commit fe89dd9

Browse files
DOCSP-49002 Auto-downloaded C Driver incorrectly inherits BUILD_VERSION (#124) (#126)
* DOCSP-49002 Auto-downloaded C Driver incorrectly inherits BUILD_VERSION * edit * edit * MW review * tech review * vale check * remove build version mention * edit (cherry picked from commit ff0ddd8) Co-authored-by: lindseymoore <[email protected]>
1 parent c343347 commit fe89dd9

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

source/whats-new.txt

+24
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ The v4.0 driver release includes the following new features:
4242
- Adds a getter method for the ``start_at_operation_time`` field of a
4343
``mongocxx::options::change_stream`` instance.
4444

45+
The release includes the following bug:
46+
47+
- CMake might incorrectly set the API version for an
48+
auto-downloaded C driver to ``0.0.0`` when the CMake project is configured
49+
more than once or to the same value as the C++ driver's
50+
API version when ``BUILD_VERSION`` is explicitly set during initial configuration.
51+
CMake will only auto-download the C driver with the C++ driver
52+
if it cannot find an existing C driver installation by using ``find_package()``.
53+
This bug will be fixed in an upcoming patch release.
54+
55+
To learn more about this release, see the
56+
`v4.0 Release Notes <https://github.com/mongodb/mongo-cxx-driver/releases/tag/r4.0.0>`__
57+
on GitHub.
58+
4559
.. _version-3.11:
4660

4761
What's New in 3.11
@@ -61,6 +75,16 @@ The v3.11 driver release includes the following new features:
6175
Encryption </core/queryable-encryption>` in the {+mdb-server+} manual.
6276
- Adds ``empty()`` member function for ``mongocxx::v_noabi::bulk_write``.
6377

78+
The release includes the following bug:
79+
80+
- CMake might incorrectly set the API version for an
81+
auto-downloaded C driver to ``0.0.0`` when the CMake project is configured
82+
more than once or to the same value as the C++ driver's
83+
API version when ``BUILD_VERSION`` is explicitly set during initial configuration.
84+
CMake will only auto-download the C driver with the C++ driver
85+
if it cannot find an existing C driver installation by using ``find_package()``.
86+
This bug will be fixed in an upcoming patch release.
87+
6488
To learn more about this release, see the
6589
`v3.11 Release Notes <https://github.com/mongodb/mongo-cxx-driver/releases/tag/r3.11.0>`__
6690
on GitHub.

0 commit comments

Comments
 (0)