Skip to content

Commit d2c85e9

Browse files
v3.11 Release (#60)
1 parent 3ff38e4 commit d2c85e9

File tree

7 files changed

+81
-5
lines changed

7 files changed

+81
-5
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/languages/cpp/cpp-driver
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v3.10 master
3+
define: versions v3.10 3.11 master
44

55
symlink: current -> v3.10
66
symlink: upcoming -> master

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
2424
driver = "cpp"
2525
driver-long = "MongoDB C++ Driver"
2626
driver-short = "C++ driver"
27-
version = "3.10"
28-
full-version = "{+version+}.2"
27+
version = "3.11"
28+
full-version = "{+version+}.0"
2929
api = "https://mongocxx.org/api/current"
3030
string-data-type = "``string``"
3131
int-data-type = "``int``"

source/advanced-installation.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ The mongocxx driver builds on top of the `MongoDB C driver <https://www.mongodb.
173173
The build of mongocxx-3.9.0 automatically downloads and installs the C driver if the C driver is not detected.
174174
To use an existing install of the C driver, set ``CMAKE_PREFIX_PATH`` to the directory containing the C driver install.
175175

176+
- For mongocxx-3.11.x, libmongoc 1.28.0 or later is required.
176177
- For mongocxx-3.10.x, libmongoc 1.25.0 or later is required.
177178
- For mongocxx-3.9.x, libmongoc 1.25.0 or later is required.
178179
- For mongocxx-3.8.x, libmongoc 1.24.0 or later is required.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- C++14
1010
- C++11
1111

12-
* - 3.8 to 3.10
12+
* - 3.8 to 3.11
1313
- ✓
1414
- ✓
1515
- ✓

source/index.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,16 @@ For documentation about previous releases, see the `legacy documentation <https:
147147
- Active development
148148
- New feature development
149149

150-
* - mongocxx 3.10.x
150+
* - mongocxx 3.11.x
151151
- Stable
152152
- Bug fixes only
153153
- Current stable C++ driver release
154154

155+
* - mongocxx 3.10.x
156+
- Stable
157+
- None
158+
- Previous stable C++ driver release
159+
155160
* - mongocxx 3.9.x
156161
- Stable
157162
- None

source/upgrade.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,32 @@ and upgrade versions.
6666
If you're upgrading the {+driver-short+} from version 3.0 to version 3.10,
6767
address all breaking changes listed for versions 3.1 to 3.10, if any.
6868

69+
.. _version-3.11-breaking-changes:
70+
71+
Version 3.11 Breaking Changes
72+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73+
74+
- Drops support for {+mdb-server+} v3.6.
75+
- Requires MongoDB C Driver v1.28.0 or later.
76+
- Removes export of the following private member functions in the bsoncxx
77+
ABI:
78+
79+
- ``bsoncxx::v_noabi::types::bson_value::value::value(const uint8_t*, uint32_t, uint32_t, uint32_t)``
80+
- ``bsoncxx::v_noabi::types::bson_value::view::_init(void*)``
81+
- ``bsoncxx::v_noabi::types::bson_value::view::view(const uint8_t*, uint32_t, uint32_t, uint32_t)``
82+
- ``bsoncxx::v_noabi::types::bson_value::view::view(void*)``
83+
84+
- Removes export of the following private member functions in the mongocxx
85+
ABI:
86+
87+
- ``mongocxx::v_noabi::options::change_stream::as_bson()``
88+
- ``mongocxx::v_noabi::options::aggregate::append(bsoncxx::v_noabi::builder::basic::document&)``
89+
- ``mongocxx::v_noabi::options::index::storage_options()``
90+
91+
- Declare all exported functions symbols with ``__cdecl`` when compiled with
92+
MSVC. This is an ABI breaking change if you use an alternative
93+
default calling convention when building projects.
94+
6995
.. _version-3.10-breaking-changes:
7096

7197
Version 3.10 Breaking Changes

source/whats-new.txt

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Overview
2222

2323
Learn what's new in:
2424

25+
* :ref:`Version 3.11 <version-3.11>`
2526
* :ref:`Version 3.10 <version-3.10>`
2627
* :ref:`Version 3.9 <version-3.9>`
2728

@@ -73,6 +74,49 @@ New versions of the {+driver-short+} can introduce the following types of breaki
7374

7475
.. _upcoming-breaking-changes:
7576

77+
.. _version-3.11:
78+
79+
What's New in 3.11
80+
------------------
81+
82+
.. warning:: Breaking Changes
83+
84+
The v3.11 driver introduces the following breaking changes:
85+
86+
- Drops support for {+mdb-server+} v3.6.
87+
- Requires MongoDB C Driver v1.28.0 or later.
88+
- Removes export of the following private member functions in the bsoncxx
89+
ABI:
90+
91+
- ``bsoncxx::v_noabi::types::bson_value::value::value(const uint8_t*, uint32_t, uint32_t, uint32_t)``
92+
- ``bsoncxx::v_noabi::types::bson_value::view::_init(void*)``
93+
- ``bsoncxx::v_noabi::types::bson_value::view::view(const uint8_t*, uint32_t, uint32_t, uint32_t)``
94+
- ``bsoncxx::v_noabi::types::bson_value::view::view(void*)``
95+
96+
- Removes export of the following private member functions in the mongocxx
97+
ABI:
98+
99+
- ``mongocxx::v_noabi::options::change_stream::as_bson()``
100+
- ``mongocxx::v_noabi::options::aggregate::append(bsoncxx::v_noabi::builder::basic::document&)``
101+
- ``mongocxx::v_noabi::options::index::storage_options()``
102+
103+
- Declare all exported functions symbols with ``__cdecl`` when compiled with
104+
MSVC. This is an ABI breaking change if you use an alternative
105+
default calling convention when building projects.
106+
107+
The v3.11 driver release includes the following new features:
108+
109+
- Adds support for {+mdb-server+} v8.0.
110+
- Adds support for Queryable Encryption range queries. To use this
111+
feature, your app must connect to {+mdb-server+} 8.0 or later. For
112+
more information about Queryable Encryption, see :manual:`Queryable
113+
Encryption </core/queryable-encryption>` in the {+mdb-server+} manual.
114+
- Adds ``empty()`` member function for ``mongocxx::v_noabi::bulk_write``.
115+
116+
To learn more about this release, see the
117+
`v3.11 Release Notes <https://github.com/mongodb/mongo-cxx-driver/releases/tag/r3.11.0>`__
118+
on GitHub.
119+
76120
.. _version-3.10:
77121

78122
What's New in 3.10

0 commit comments

Comments
 (0)