Skip to content

Releases: mongodb/mongo-cxx-driver

MongoDB Legacy C++ Driver 1.1.0-rc0

17 Nov 16:09
Compare
Choose a tag to compare
Pre-release

This is a release candidate for the next minor version of the Legacy C++ driver, legacy-1.1, which will include support for the upcoming MongoDB 3.2 release.

This is an unstable release and is not suitable for production use. Testing is greatly appreciated! Bugs should be filed in the MongoDB C++ Driver JIRA Project.

To fully explore the new features identified below, you will need to install MongoDB 3.2-rc2 or newer.

The following tickets were resolved in this release candidate. Many of these tickets reflect new features associated with MongoDB 3.2.

Improvement

  • [CXX-657] - Use constant-time hash comparison functions

New Feature

  • [CXX-685] - Support Filtered (Partial) Indexes
  • [CXX-689] - Support bypassDocumentValidation
  • [CXX-692] - findAndModify take a write concern
  • [CXX-696] - Ensure spec compliance for unacknowledged write concerns.

Please note that support for the new read-committed isolation level added in MongoDB 3.2 is not being implemented in the legacy C++ driver.

MongoDB Legacy C++ Driver 1.0.6

19 Oct 18:25
Compare
Choose a tag to compare

This is a larger than typical release for the legacy C++ driver. Several bugs were reported against legacy-1.0.5 which have been fixed in this release. Please see the links to the JIRA tickets below for more details.

Additionally, the Legacy C++ driver has been run through clang-format. All files are now uniformly formatted, and all whitespace errors have been corrected.

Finally, please note that the various "eval" helpers in DBClientInterface have been deprecated. MongoDB 3.0 deprecated "eval", but the driver had erroneously not yet deprecated the associated helper methods. The methods have been deprecated by adding the compiler appropriate deprecation attribute, which will issue a warning if the deprecated method is used.

If you need to avoid the deprecation warning for these helpers in existing code, you can replace any call to a deprecated method "X" with a call to "Xdeprecated", which has the same behavior, but will not issue a deprecation warning.

Given the atypical size of this release, we reiterate our standing advice to test the new driver release in an acceptance test environment before deploying to production.

Bug

  • [CXX-646] - C++ driver does not connect to replica sets when all members specified
  • [CXX-664] - No way to enable IPv6 support
  • [CXX-698] - DBClientTest.Comment uses incorrect query on profiling collection for 3.2+ servers
  • [CXX-699] - Queries may return incomplete result sets due to incorrect calculation of nToReturn
  • [CXX-707] - don't run tests that create v0 indexes against 3.1+ servers
  • [CXX-709] - Legacy C++ Driver Tests do not compile with VS 2015

Improvement

  • [CXX-662] - Build error with g++ using '-pedantic-errors' key

Task

  • [CXX-622] - Backport server r3.0.5..r3.0.6 changes
  • [CXX-623] - clang-format the legacy driver
  • [CXX-656] - Deprecate eval helpers

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

MongoDB Legacy C++ Driver 1.0.5

18 Aug 17:10
Compare
Choose a tag to compare

Task

  • [CXX-621] - Backport server r3.0.4..r3.0.5 changes

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

Please note that the --ssl-fips-capability flag has been removed. The build system will now auto-detect whether the OpenSSL libraries provide FIPS support. If you previously used the --ssl-fips-capability flag, you no longer need to do so.

MongoDB 2.6 Compatible C++ Driver 2.6.11

14 Aug 16:21
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.4.

See MongoDB Server r2.6.10..r2.6.11 change log for details on the changes in this release.

MongoDB Legacy C++ Driver 1.0.4

29 Jul 21:01
Compare
Choose a tag to compare

There are only minor differences between this release and the legacy-1.0.4-rc0 release, as identified below. Please see the release notes for legacy-1.0.4-rc0 for details on what has changed since legacy-1.0.3.

Bug

  • [CXX-639] - verifyFailed() in assert_util.cpp has undesired behavior in _DEBUG

MongoDB Legacy C++ Driver 1.0.4-rc0

06 Jul 23:40
Compare
Choose a tag to compare
Pre-release

Bug

  • [CXX-597] - Use electionId to detect stale primaries.
  • [CXX-618] - scons install does not copy mongo/bson/bson_validate.h

Task

  • [CXX-607] - Backport server 3.0.3..3.0.4 changes

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

MongoDB Legacy C++ Driver 1.0.3

09 Jun 14:02
Compare
Choose a tag to compare

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

MongoDB Legacy C++ Driver 1.0.3-rc0

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

Bug

  • [CXX-603] - The gridfs api class GridFileBuilder corrupts data.

Task

  • [CXX-599] - Backport server r3.0.2..r3.0.3 changes

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

Note that many of the above tickets are SSL related. If you make heavy use of SSL with the legacy C++ driver, we strongly encourage you to test this release candidate.

MongoDB Legacy C++ Driver 1.0.2

18 May 23:58
Compare
Choose a tag to compare

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

MongoDB 2.6 Compatible C++ Driver 2.6.10

18 May 22:05
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.1.

See MongoDB Server r2.6.9..r2.6.10 change log for details on the changes in this release.