Skip to content

Commit 7316fc0

Browse files
authored
[C++] v4.1 release (#129)
* release v4.1 * what's new * format * updates * what's new * KA feedback
1 parent c69521b commit 7316fc0

File tree

5 files changed

+26
-4
lines changed

5 files changed

+26
-4
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/cpp/cpp-driver
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v3.10 v3.11 v4.0 master
3+
define: versions v3.10 v3.11 v4.0 v4.1 master
44

5-
symlink: current -> v4.0
5+
symlink: current -> v4.1
66
symlink: upcoming -> master
77

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

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2323
driver = "cpp"
2424
driver-long = "MongoDB C++ Driver"
2525
driver-short = "C++ driver"
26-
version = "4.0"
26+
version = "4.1"
2727
full-version = "{+version+}.0"
2828
api = "https://mongocxx.org/api/current"
2929
string-data-type = "``string``"

source/index.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,15 @@ For documentation about previous releases, see the `legacy documentation <https:
182182
- Active development
183183
- New feature development
184184

185-
* - mongocxx 4.0.x
185+
* - mongocxx 4.1.x
186186
- Stable
187187
- Bug fixes only
188188
- Current stable C++ driver release
189+
190+
* - mongocxx 4.0.x
191+
- Stable
192+
- None
193+
- Previous stable C++ driver release
189194

190195
* - mongocxx 3.11.x
191196
- Stable

source/upgrade.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ Build System Breaking Changes in v4.1
134134
The v4.1 driver introduces the following breaking changes to the build system:
135135

136136
- Requires MongoDB C Driver v2.0.0 or later.
137+
- Declares C++17 polyfill implementations for ``optional<T>`` and ``string_view`` in the ``bsoncxx::v1::stdx`` namespace. The
138+
``bsoncxx::v_noabi::stdx`` namespace now contains type aliases to their v1
139+
equivalents.
140+
141+
.. note::
142+
143+
This does not affect users who compile with C++17 or newer and have not set ``BSONCXX_POLY_USE_IMPLS=ON``
137144

138145
.. _version-4.0-breaking-changes:
139146

source/whats-new.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,20 @@ What's New in 4.1
4040

4141
The v4.1 driver release includes the following new features:
4242

43+
- Deprecates ``storage_options()`` method for the newly added ``storage_engine()`` method in ``mongocxx::v_noabi::options::index``
44+
45+
4346
- Adds support for the BSON Binary Vector type.
4447

4548
For more information, see the following resources:
4649

4750
- :manual:`Binary Data BSON Types </reference/bson-types/#binary-data>` in the {+mdb-server+} manual
4851
- :github:`BSON Binary Vector </mongodb/mongo-cxx-driver/blob/master/examples/bsoncxx/bson_binary_vector.cpp>` usage example on GitHub
52+
- Fixes the :ref:`C driver API version bug <v4.0-cmake-api-version-bug>` noted in the v4.0 release
53+
54+
To learn more about this release, see the
55+
`v4.1 Release Notes <https://github.com/mongodb/mongo-cxx-driver/releases/tag/r4.1.0>`__
56+
on GitHub.
4957

5058
.. _version-4.0:
5159

@@ -64,6 +72,8 @@ The v4.0 driver release includes the following new features:
6472

6573
The release includes the following bug:
6674

75+
.. _v4.0-cmake-api-version-bug:
76+
6777
- CMake might incorrectly set the API version for an
6878
auto-downloaded C driver to ``0.0.0`` when the CMake project is configured
6979
more than once or to the same value as the C++ driver's

0 commit comments

Comments
 (0)