Releases · mongodb/mongo-cxx-driver
MongoDB C++11 Driver r4.1.1 FixedENABLE_TESTS
(OFF
by default) is no longer overwritten by the auto-downloaded C Driver (ON
by default) during CMake configuration.GCC
/GNU
/Clang
/MSVC
are already defined.See the full list of changes in Jira.
FeedbackTo report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.
MongoDB C++11 Driver r4.1.0 FixedBUILD_VERSION
value.bsoncxx::v_noabi::builder::core::append()
now throws an exception with error code k_cannot_append_string
.storage_engine()
in mongocxx::v_noabi::options::index
.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.optional<T>
and string_view
are now declared in the bsoncxx::v1::stdx
namespace.
bsoncxx::v_noabi::stdx
namespace now contains type aliases to their v1
equivalents.bsoncxx::v_noabi::stdx
in their declaration (including mongocxx library symbols).
BSONCXX_POLY_USE_IMPLS=ON
.See the full list of changes in Jira.
FeedbackTo report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.
MongoDB C++11 Driver r4.0.0 Addedstart_at_operation_time
option in mongocxx::v_noabi::options::change_stream
.ENABLE_TESTS
is now OFF
by default.
ENABLE_TESTS=ON
to re-enable building test targets.BUILD_TESTING=ON
to include test targets in the "all" target when ENABLE_TESTS=ON
(since 3.9.0, OFF
by default).mongocxx::v_noabi::options::change_stream
to support the new optional start_at_operation_time
accessor.ENABLE_BSONCXX_POLY_USE_IMPLS=ON
is now implicit behavior.ENABLE_BSONCXX_POLY_USE_IMPLS
BSONCXX_POLY_USE_MNMLSTC
BSONCXX_POLY_USE_MNMLSTC_SYSTEM
BSONCXX_POLY_USE_BOOST
MONGOCXX_OVERRIDE_DEFAULT_INSTALL_PREFIX
.
MONGOCXX_OVERRIDE_DEFAULT_INSTALL_PREFIX=OFF
is now implicit behavior.bsoncxx::stdx
interfaces in the mongocxx::stdx
namespace.
bsoncxx::stdx::optional<T>
instead of mongocxx::stdx::optional<T>
.bsoncxx::stdx::string_view
instead of mongocxx::stdx::string_view
.*_INLINE_NAMESPACE_*
.<bsoncxx/stdx/make_unique.hpp>
header.<bsoncxx/types/value.hpp>
header.<bsoncxx/util/functor.hpp>
header.<mongocxx/options/create_collection.hpp>
header.utf8
which have equivalent string
alternatives.
k_utf8
in bsoncxx::v_noabi::type
. Use k_string
instead.b_utf8
in bsoncxx::v_noabi::types
. Use b_string
instead.get_utf8
in bsoncxx::v_noabi::document::element
, bsoncxx::v_noabi::array::element
, and bsoncxx::v_noabi::types::bson_value::view
. Use get_string
instead.k_cannot_append_utf8
and k_need_element_type_k_utf8
in bsoncxx::v_noabi::exception::error_code
. Use k_cannot_append_string
and k_need_element_type_k_string
instead.bsoncxx::builder::types
in <bsoncxx/builder/list.hpp>
. Use bsoncxx::types
in <bsoncxx/types.hpp>
instead.bsoncxx::builder::stream::concatenate
in <bsoncxx/builder/stream/helpers.hpp>
. Use bsoncxx::builder::concatenate
in <bsoncxx/builder/concatenate.hpp>
instead.mongocxx::events::read_preference
in <mongocxx/events/topology_description.hpp>
. Use mongocxx::read_preference
in <mongocxx/read_preference.hpp>
instead.See the full list of changes in Jira and upgrade guide
FeedbackTo report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.
MongoDB C++11 Driver r3.11.0Important
This is the final v3 minor release. Patch releases containing backports for relevant bug fixes will be supported for up to one year after the first v4 release. New features will not be backported.
Addedempty()
member function for mongocxx::v_noabi::bulk_write
.bsoncxx::v_noabi::stdx::basic_string_view<...>::npos
.bsoncxx::v_noabi::operator"" _bson(const char*, size_t)
.<string>
include directives.bsoncxx::v_noabi::to_json
error handling given invalid BSON documents.waitQueueTimeoutMS
.__cdecl
when compiled with MSVC.
/Gz
, /Gv
, etc.). See Argument Passing and Naming Conventions for more information.FetchContent_MakeAvailable()
is used to populate dependencies instead of FetchContent_Populate()
for the C Driver (when not provided by CMAKE_PREFIX_PATH
) and mnmlstc/core (when automatically selected or when BSONCXX_POLY_USE_MNMLSTC=ON
).
FetchContent_Populate()
is still used for mnmlstc/core for CMake versions prior to 3.18 to avoid add_subdirectory()
behavior.ENABLE_TESTS=ON
.ENABLE_TESTS=OFF
to avoid the C++14 requirement when building C++ Driver libraries.bsoncxx/util/functor.hpp
header.bsoncxx::util
namespace.bsoncxx::v_noabi::types::bson_value::value::value(const uint8_t*, uint32_t, uint32_t, uint32_t)
bsoncxx::v_noabi::types::bson_value::view::_init(void*)
bsoncxx::v_noabi::types::bson_value::view::view(const uint8_t*, uint32_t, uint32_t, uint32_t)
bsoncxx::v_noabi::types::bson_value::view::view(void*)
mongocxx::v_noabi::options::change_stream::as_bson()
mongocxx::v_noabi::options::aggregate::append(bsoncxx::v_noabi::builder::basic::document&)
mongocxx::v_noabi::options::index::storage_options()
See the full list of changes in Jira.
FeedbackTo report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.
MongoDB C++11 Driver r3.10.2 Addedmongocxx::v_noabi::events::topology_description::server_descriptions
object due to uninitialized data member access.See the full list of changes in Jira.
FeedbackTo report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:
Create
.Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.
MongoDB C++11 Driver r3.10.1 FixedENABLE_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.
FeedbackTo 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.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.
FeedbackTo 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
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.
FeedbackTo 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.
Reporting IssuesThink you’ve found a bug? Want to see a new feature in the C++ Driver? Please open a case in our issue management tool, Jira:
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4