Download Latest Version MongoDB C++11 Driver r4.1.0 source code.tar.gz (1.9 MB)
Email in envelope

Get an email when there's a new version of MongoDB C++ Driver Database

Home / r4.1.0
Name Modified Size InfoDownloads / 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 code k_cannot_append_string.

Added

  • storage_engine() in mongocxx::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() in mongocxx::v_noabi::options::index: use storage_engine() instead.
  • base_storage_options and wiredtiger_storage_options in mongocxx::v_noabi::options::index are also deprecated.
  • hedge() in mongocxx::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> and string_view are now declared in the bsoncxx::v1::stdx namespace.
  • The bsoncxx::v_noabi::stdx namespace now contains type aliases to their v1 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.

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:

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.

Source: README.md, updated 2025-05-01