Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
mongo-cxx-driver-r4.1.0.tar.gz.asc | 2025-05-01 | 833 Bytes | |
mongo-cxx-driver-r4.1.0.tar.gz | 2025-05-01 | 1.8 MB | |
MongoDB C++11 Driver r4.1.0 source code.tar.gz | 2025-05-01 | 1.9 MB | |
MongoDB C++11 Driver r4.1.0 source code.zip | 2025-05-01 | 3.2 MB | |
README.md | 2025-05-01 | 2.2 kB | |
Totals: 5 Items | 7.0 MB | 0 |
Fixed
- The API version of auto-downloaded C Driver libraries no longer incorrectly inherits the C++ Driver's
BUILD_VERSION
value. - Potentially unchecked narrowing conversion in
bsoncxx::v_noabi::builder::core::append()
now throws an exception with error codek_cannot_append_string
.
Added
storage_engine()
inmongocxx::v_noabi::options::index
.- Support for sort option with replaceOne and updateOne operations.
- Support for BSON Binary Vector.
- Support $lookup in CSFLE and QE.
Deprecated
- Support for MacOS 11 (EOL since Nov 2020) and MacOS 12 (EOL since Oct 2021).
storage_options()
inmongocxx::v_noabi::options::index
: usestorage_engine()
instead.base_storage_options
andwiredtiger_storage_options
inmongocxx::v_noabi::options::index
are also deprecated.hedge()
inmongocxx::v_noabi::read_preference
: hedged reads will no longer be supported by MongoDB.
Changed
- Bump the minimum required C Driver version to 2.0.0.
- Set CMake maximum policy version to 4.0.
- The CMake minimum required version is still 3.15.
- C++17 polyfill implementations for
optional<T>
andstring_view
are now declared in thebsoncxx::v1::stdx
namespace. - The
bsoncxx::v_noabi::stdx
namespace now contains type aliases to theirv1
equivalents. - This is an ABI breaking change for all symbols which reference
bsoncxx::v_noabi::stdx
in their declaration (including mongocxx library symbols).- This does not affect users who compile with C++17 or newer and have not set
BSONCXX_POLY_USE_IMPLS=ON
.
- This does not affect users who compile with C++17 or newer and have not set
See the full list of changes in Jira.
Feedback
To report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
- Create an account and login.
- Navigate to the CXX project
- Click
Create
.
Signature Verification
Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.