Skip to content

Releases: mongodb/mongo-cxx-driver

MongoDB C++11 Driver 0.2.0 (Alpha)

15 May 22:16
Compare
Choose a tag to compare
Pre-release

This is the second alpha release of the next-generation MongoDB C++ Driver.

Please see our blog post for a full description of the new driver's design goals.

As specified in the Quickstart Guide, building the driver requires a C++11 conformant compiler and depends on the 1.2.0-dev branch of the MongoDB C Driver.

The driver cannot currently be built with MSVC - please use clang 3.4 or g++ 4.8 (or newer). We are planning to incorporate support for MSVC 2015 after it ships.

While we also plan to commit to a stable ABI in the future, the prerelease versions before 1.0.0 will not offer a stable ABI. The library currently has a soname ABI version of 0 which indicates no stability guarantee.

API documentation can be found here. Please file JIRA tickets if you encounter any problems using the driver.

Changes in 0.2.0 since 0.1.0:

  • [CXX-587] - to_json() throws exception on empty array
  • [CXX-588] - Cannot use kvp() with a std::string parameter
  • [CXX-590] - unit test compile failure on clang 3.4
  • [CXX-589] - Expose a view() method on pipeline
  • [CXX-593] - missing bsoncxx::document::view::empty
  • [CXX-595] - Add bsoncxx::from_json methods
  • [CXX-591] - list_collections() and list_databases()
  • [CXX-592] - database:command returns an empty response
  • [CXX-596] - implement collection::list_indexes

Special thanks to community contributors @yhager and @tracyJsonar for their contributions to this release.

MongoDB Legacy C++ Driver 1.0.2-rc0

12 May 19:19
Compare
Choose a tag to compare
Pre-release

Improvement

  • [CXX-579] - kill read_preference_tests tests if SetUpTestCase fails

Task

  • [CXX-572] - Backport server r3.0.1..r3.0.2 changes

Select portions of the following relevant SERVER tickets were backported to this release in CXX-572:

MongoDB C++11 Driver 0.1.0 (Alpha)

24 Apr 17:30
Compare
Choose a tag to compare
Pre-release

This is an alpha release of the next-generation MongoDB C++ Driver.

Please see our blog post for a full description of the new driver's design goals.

As specified in the Quickstart Guide, building the driver requires a C++11 conformant compiler and depends on the 1.2.0-dev branch of the MongoDB C Driver.

The driver cannot currently be built with MSVC - please use clang 3.4 or g++ 4.8 (or newer). We are planning to incorporate support for MSVC 2015 after it ships.

While we also plan to commit to a stable ABI in the future, the prerelease versions before 1.0.0 will not offer a stable ABI. The library currently has a soname ABI version of 0 which indicates no stability guarantee.

API documentation can be found here. Please file JIRA tickets if you encounter any problems using the driver.

MongoDB Legacy C++ Driver 1.0.1

13 Apr 18:15
Compare
Choose a tag to compare

There are no material differences between this release and the legacy-1.0.1-rc0 release. Please see the release notes for that release for details on what has changed since legacy-1.0.0

MongoDB Legacy C++ Driver 1.0.1-rc0

04 Apr 17:04
Compare
Choose a tag to compare
Pre-release

Bug

  • [CXX-536] - Query::getMaxTimeMs() does not use the correct field name
  • [CXX-546] - CreateCollectionAdvanced failing against rc9
  • [CXX-559] - Backport server r3.0.0-rc6..r3.0.1 changes
  • [CXX-560] - mongo::OID::asTimeT() and mongo::OID::asDateT() should be const

Improvement

  • [CXX-538] - scons abort if the python directory contains spaces

New Feature

  • [CXX-516] - Support the nolock option in DBClientWithCommands::eval

Task

  • [CXX-517] - Ensure we are adding $maxDistance inside of "$near"
  • [CXX-518] - Write a test for and ensure we don't allow sending _id with nested '$' key
  • [CXX-519] - Ensure null bytes are not allowed within cstrings (keys, db/coll name, regex)

Additionally, select portions of the following relevant SERVER tickets were backported to this release:

MongoDB 2.6 Compatible C++ Driver 2.6.9

31 Mar 14:17
Compare
Choose a tag to compare

PLEASE NOTE: You should prefer the stable legacy-1.0 release series if possible. At the time of this writing, the most current release in the legacy-1.0 release series is https://github.com/mongodb/mongo-cxx-driver/releases/tag/legacy-1.0.0.

See MongoDB Server r2.6.7..r2.6.9 Release Notes for Details

Additionally fixed in this release:

  • [CXX-508] - Export logging related symbols

MongoDB Legacy C++ Driver 1.0.0

28 Jan 22:57
Compare
Choose a tag to compare

Bug

  • [CXX-498] - Reparent OperationException below DBException

MongoDB Legacy C++ Driver 1.0.0-rc4

23 Jan 23:24
Compare
Choose a tag to compare
Pre-release

Bug

  • [CXX-449] - Aggregate cursor with no results against MongoDB 2.2/2.4 responds true to more()
  • [CXX-451] - Driver doesn't compile on systems without strnlen
  • [CXX-452] - Cannot build as shared library on Solaris

Improvement

  • [CXX-229] - Ensure internally iterated cursor pointers are not null
  • [CXX-286] - Support additional custom compiler and linker options when invoking scons (e.g. rpath)
  • [CXX-355] - Remove thread name support from driver
  • [CXX-389] - Add support for auth to CopyDb helper
  • [CXX-465] - Remove legacy BSON typedefs
  • [CXX-284] - Build fall back to environment boost libraries when providing custom version

MongoDB 2.6 Compatible C++ Driver 2.6.7

16 Jan 16:24
Compare
Choose a tag to compare

See MongoDB Server 2.6.7 Release Notes for Details

MongoDB Legacy C++ Driver 1.0.0-rc3

19 Dec 22:11
Compare
Choose a tag to compare
Pre-release

Improvement

  • [CXX-395] - client examples should take both host and port arguments, not just port
  • [CXX-405] - Integration test that SCRAM is the default auth mechanism for wire version 3
  • [CXX-438] - ConnectionString should default to using the specified DB and use a default mechanism
  • [CXX-441] - Support cursor in listCollections command
  • [CXX-445] - SIGABRT on shutdown with SSL enabled
  • [CXX-446] - ConnectionString doesn't work with UNIX socket format
  • [CXX-450] - Support cursor in listIndexes command

New Feature

  • [CXX-193] - Validate driver functions on strictly aligned big-endian architecture