Skip to content

MongoDB C++11 Driver 3.0.1

Compare
Choose a tag to compare
@acmorrow acmorrow released this 30 Mar 18:48
· 1396 commits to master since this release

This is the first patch release of the new MongoDB C++11 driver. Please see the release notes for the 3.0.0 driver below for additional details on this new driver.

Please note that this version of the driver requires the MongoDB C driver 1.3.4 in order to build and exhibit expected behavior.

Please note that this version includes a small breaking change, related to CXX-862. Some operations on array and document elements that previously would throw exceptions now return invalid elements instead, which is more consistent with the overall library design.

Please note the following known issues in this release:

Known Issues

  • [CXX-778] - C++ driver SSL cannot be configured independently of C driver
  • [CXX-771] - Max time argument to some collection methods is ignored
  • [CXX-784] - Cannot use `document::view` with stream builder
  • [CXX-834] - Return local mongoc errors and server errors in different error spaces
  • [CXX-804] - ABI is not set
  • [CXX-880] - Fails to build on FreeBSD
  • [CXX-879] - Error-prone use of std::time_t in bsoncxx::types::b_date
  • [CXX-878] - max_time->count(), seconds.count() ambiguous
  • [CXX-875] - Database::has_collection has ambiguous error modes

The following issues have been resolved in 3.0.1 since the prior 3.0.0 release:

Bug

  • [CXX-758] - ReadConcern should be inherited from a parent when not set
  • [CXX-835] - Support lint when run from non-repository root
  • [CXX-836] - Missing #include <string> in mongo-cxx-driver
  • [CXX-839] - cursor_type isn't propagated
  • [CXX-847] - Add documentation for model/write
  • [CXX-863] - Failing to compile when MONGOC_HAVE_SSL is defined
  • [CXX-864] - Evergreen builds do not enable SSL
  • [CXX-865] - Could not build with clang 3.8
  • [CXX-868] - Fails to build on VS2015 with error C2719
  • [CXX-877] - Have no idea how to add bsoncxx::document::value to another document

Improvement

  • [CXX-837] - Update website links to point to C++11 driver api documentation
  • [CXX-843] - Add the $sample pipeline operator
  • [CXX-862] - The element and array type operator[] function should not throw
  • [CXX-872] - Add an example for providing custom adapaters for the bsoncxx stream builder