Added
- Getter for the
start_at_operation_time
option inmongocxx::v_noabi::options::change_stream
.
Changed
- Bump the minimum required C Driver version to 1.29.0.
- CMake option
ENABLE_TESTS
is nowOFF
by default.- Set
ENABLE_TESTS=ON
to re-enable building test targets. - Set
BUILD_TESTING=ON
to include test targets in the "all" target whenENABLE_TESTS=ON
(since 3.9.0,OFF
by default).
- Set
- Layout of
mongocxx::v_noabi::options::change_stream
to support the new optionalstart_at_operation_time
accessor.
Deprecated
- Support for MongoDB Server 4.0.
Removed
- Support for external polyfill libraries.
ENABLE_BSONCXX_POLY_USE_IMPLS=ON
is now implicit behavior.- The following CMake options are no longer supported:
ENABLE_BSONCXX_POLY_USE_IMPLS
BSONCXX_POLY_USE_MNMLSTC
BSONCXX_POLY_USE_MNMLSTC_SYSTEM
BSONCXX_POLY_USE_BOOST
- Support for CMake option
MONGOCXX_OVERRIDE_DEFAULT_INSTALL_PREFIX
.MONGOCXX_OVERRIDE_DEFAULT_INSTALL_PREFIX=OFF
is now implicit behavior.
- Redeclarations of
bsoncxx::stdx
interfaces in themongocxx::stdx
namespace.- Use
bsoncxx::stdx::optional<T>
instead ofmongocxx::stdx::optional<T>
. - Use
bsoncxx::stdx::string_view
instead ofmongocxx::stdx::string_view
.
- Use
- Inline namespace macros for bsoncxx and mongocxx namespace:
*_INLINE_NAMESPACE_*
. - The
<bsoncxx/stdx/make_unique.hpp>
header. - The
<bsoncxx/types/value.hpp>
header. - The
<bsoncxx/util/functor.hpp>
header. - The
<mongocxx/options/create_collection.hpp>
header. - References to deprecated
utf8
which have equivalentstring
alternatives.k_utf8
inbsoncxx::v_noabi::type
. Usek_string
instead.b_utf8
inbsoncxx::v_noabi::types
. Useb_string
instead.get_utf8
inbsoncxx::v_noabi::document::element
,bsoncxx::v_noabi::array::element
, andbsoncxx::v_noabi::types::bson_value::view
. Useget_string
instead.k_cannot_append_utf8
andk_need_element_type_k_utf8
inbsoncxx::v_noabi::exception::error_code
. Usek_cannot_append_string
andk_need_element_type_k_string
instead.
- Undocumented using-directives and using-declarations.
bsoncxx::builder::types
in<bsoncxx/builder/list.hpp>
. Usebsoncxx::types
in<bsoncxx/types.hpp>
instead.bsoncxx::builder::stream::concatenate
in<bsoncxx/builder/stream/helpers.hpp>
. Usebsoncxx::builder::concatenate
in<bsoncxx/builder/concatenate.hpp>
instead.mongocxx::events::read_preference
in<mongocxx/events/topology_description.hpp>
. Usemongocxx::read_preference
in<mongocxx/read_preference.hpp>
instead.
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.