Releases: mongodb/mongo-cxx-driver
MongoDB 2.6 Compatible C++ Driver 2.6.10
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.1.
See MongoDB Server r2.6.9..r2.6.10 change log for details on the changes in this release.
MongoDB C++11 Driver 0.2.0 (Alpha)
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
MongoDB C++11 Driver 0.1.0 (Alpha)
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
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
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
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
Bug
- [CXX-498] - Reparent OperationException below DBException
MongoDB Legacy C++ Driver 1.0.0-rc4
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
See MongoDB Server 2.6.7 Release Notes for Details