C++ Driver for MongoDB
ENABLE_ABI_TAG_IN_PKGCONFIG_FILENAMES=OFF
.MSVC_RUNTIME_LIBRARY
target property into an ABI tag parameter in library and package filenames did not account for generator expressions.See the full list of changes in Jira.
To report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.ENABLE_BSONCXX_USE_POLY_IMPLS
(OFF by default) allows selecting bsoncxx implementations of C++17 polyfills by default when no polyfill library is requested.BSONCXX_POLY_USE_IMPLS
(OFF by default) allows selecting bsoncxx implementations of C++17 polyfills instead of external libraries or the C++ standard library.bsoncxx::v_noabi
and mongocxx::v_noabi
namespaces are no longer declared inline
.
bsoncxx::document
is still equivalent to bsoncxx::v_noabi::document
, mongocxx::client
is still equivalent to mongocxx::v_noabi::client
, etc.). Argument-dependent lookup and template instantiations are expected to remain equivalent to their prior behavior.bsoncxx-v_noabi-rhs-x64-v142-md.lib
.
ENABLE_ABI_TAG_IN_LIBRARY_FILENAMES=OFF
when configuring the CXX Driver.libbsoncxx-v_noabi-rhs-x64-v142-md.pc
. This is disabled by default; enable by setting ENABLE_ABI_TAG_IN_PKGCONFIG_FILENAMES=ON
(requires ENABLE_ABI_TAG_IN_LIBRARY_FILENAMES=ON
).find_package(libbsoncxx)
and find_package(libmongocxx)
are no longer supported.
Use find_package(bsoncxx)
and find_package(mongocxx)
instead.LIBBSONCXX_*
and LIBMONGOCXX_*
CMake variables provided by the legacy CMake package config files are no longer supported. Use the mongo::bsoncxx_*
and mongo::mongocxx_*
CMake targets instead.LIBBSONCXX_*
and LIBMONGOCXX_*
CMake variables are superseded by the target_link_libraries()
CMake command, which automatically propagates the necessary compile definitions, include directories, and link libraries to dependent targets via mongo::bsoncxx_*
and mongo::mongocxx_*
interface properties.BSONCXX_POLY_USE_STD_EXPERIMENTAL
.See the full list of changes in Jira.
To report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.MONGOCXX_OVERRIDE_DEFAULT_INSTALL_PREFIX
(default is TRUE
for backwards-compatibility). If enabled, CMAKE_INSTALL_PREFIX
defaults to the build directory.all
target. Configure with BUILD_TESTING=ON
to build tests.FetchContent
instead of ExternalProject
to download and build the library.find_dependency()
for all installed CXX Driver package configurations.See the full list of changes in Jira.
To report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Support for below operating systems will be dropped in an upcoming release.
See full list of changes in JIRA.
Includes support for MongoDB Atlas Serverless.