github mongodb/mongo-cxx-driver legacy-1.0.6
MongoDB Legacy C++ Driver 1.0.6

latest releases: r3.10.1, r3.10.0, debian/3.9.0-1...
8 years ago

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:

Don't miss a new mongo-cxx-driver release

NewReleases is sending notifications on new releases.