Skip to content

Commit 5e37556

Browse files
mongoKartkevinAlbs
andauthored
DOCSP-45567 - v4.0 Updates (#82)
Co-authored-by: Kevin Albertson <[email protected]>
1 parent 1bca700 commit 5e37556

8 files changed

+75
-22
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 3.11 master
3+
define: versions v3.10 v3.11 v4.0 master
44

5-
symlink: current -> v3.11
5+
symlink: current -> v4.0
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
@@ -24,7 +24,7 @@ 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.11"
27+
version = "4.0"
2828
full-version = "{+version+}.0"
2929
api = "https://mongocxx.org/api/current"
3030
string-data-type = "``string``"

source/advanced-installation.txt

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -170,22 +170,11 @@ Install the MongoDB C Driver
170170

171171
The mongocxx driver builds on top of the `MongoDB C driver <https://www.mongodb.com/docs/drivers/c/>`__.
172172

173-
The build of mongocxx-3.9.0 automatically downloads and installs the C driver if the C driver is not detected.
174-
To use an existing install of the C driver, set ``CMAKE_PREFIX_PATH`` to the directory containing the C driver install.
175-
176-
- For mongocxx-3.11.x, libmongoc 1.28.0 or later is required.
177-
- For mongocxx-3.10.x, libmongoc 1.25.0 or later is required.
178-
- For mongocxx-3.9.x, libmongoc 1.25.0 or later is required.
179-
- For mongocxx-3.8.x, libmongoc 1.24.0 or later is required.
180-
- For mongocxx-3.7.x, libmongoc 1.22.1 or later is required.
181-
- For mongocxx-3.6.x, libmongoc 1.17.0 or later is required.
182-
- For mongocxx-3.5.x, libmongoc 1.15.0 or later is required.
183-
- For mongocxx-3.4.x, libmongoc 1.13.0 or later is required.
184-
- For mongocxx-3.3.x, libmongoc 1.10.1 or later is required.
185-
- For mongocxx-3.2.x, libmongoc 1.9.2 or later is required.
186-
- For mongocxx-3.1.4+, libmongoc 1.7.0 or later is required.
187-
- For mongocxx-3.1.[0-3], libmongoc 1.5.0 or later is required.
188-
- For mongocxx-3.0.x, we recommend the last 1.4.x version of libmongoc
173+
The build of mongocxx-3.9.0 automatically downloads and installs the C driver if the
174+
C driver is not detected. To use an existing install of the C driver, set
175+
``CMAKE_PREFIX_PATH`` to the directory containing the C driver install. For information
176+
about the minimum required ``libmongoc`` version for each version of the C++ driver, see
177+
:ref:`cpp-libmongoc-compatibility`.
189178

190179
Unless you know that your package manager offers a sufficiently recent version, you
191180
will need to download and build from the source code. Get a tarball from

source/compatibility.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,16 @@ The first column lists the driver version.
4141

4242
.. include:: /includes/language-compatibility-table-cxx.rst
4343

44+
.. _cpp-libmongoc-compatibility:
45+
46+
libmongoc Compatibility
47+
-----------------------
48+
49+
The following compatibility table specifies the required version of libmongoc.
50+
51+
The first column lists the driver version.
52+
53+
.. include:: /includes/libmongoc-compatibility-table-cxx.rst
54+
4455
For more information on how to read the compatibility tables, see our guide on
4556
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`

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.11
12+
* - 3.8 to 4.0
1313
- ✓
1414
- ✓
1515
- ✓
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.. list-table::
2+
:header-rows: 1
3+
:stub-columns: 1
4+
:class: compatibility-large
5+
6+
* - C++ Driver Version
7+
- Minimum libmongoc Version
8+
9+
* - 4.0.x
10+
- 1.29.0
11+
12+
* - 3.11.x
13+
- 1.28.0
14+
15+
* - 3.9.x and 3.10.x
16+
- 1.25.0
17+
18+
* - 3.8.x
19+
- 1.24.0
20+
21+
* - 3.7.x
22+
- 1.22.1
23+
24+
* - 3.6.x
25+
- 1.17.0
26+
27+
* - 3.5.x
28+
- 1.15.0
29+
30+
* - 3.4.x
31+
- 1.13.0
32+
33+
* - 3.3.x
34+
- 1.10.0
35+
36+
* - 3.2.x
37+
- 1.9.2
38+
39+
* - 3.1.4
40+
- 1.7.0
41+
42+
* - 3.1.0 to 3.1.3
43+
- 1.5.0
44+
45+
* - 3.0.1 to 3.0.3
46+
- 1.3.4
47+
* - 3.0.0
48+
- 1.3.1

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
- MongoDB 2.6
1919
- MongoDB 2.4
2020

21-
* - 3.11
21+
* - 3.11 to 4.0
2222
- ✓
2323
- ✓
2424
- ✓

source/index.txt

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

168-
* - mongocxx 3.11.x
168+
* - mongocxx 4.0.x
169169
- Stable
170170
- Bug fixes only
171171
- Current stable C++ driver release
172+
173+
* - mongocxx 3.11.x
174+
- Stable
175+
- Bug fixes until November 2025
176+
- Previous stable C++ driver release
172177

173178
* - mongocxx 3.10.x
174179
- Stable

0 commit comments

Comments
 (0)