Changelog History
Page 1
-
v6.2 Changes
December 01, 2020 -
v6.1 Changes
November 03, 2020π Release Notes - C++ Driver - Version 3.6.1
π Bug
- [CXX-2121] - Compilation error with libc++ and C++ 17
-
v6.0 Changes
July 30, 2020π Release Notes - C++ Driver - Version 3.6.0
π Bug
- [CXX-1950] - Drivers must run SDAM flow even when server description is equal to the last one
- [CXX-2025] - $changeStream must be the first stage in a change stream
- [CXX-2028] - Explicit write concern is incorrectly applied to collection::find_one_and_* methods
- π [CXX-2037] - Cannot build on Windows with Visual Studio 2019
- β [CXX-2079] - s390x Ubuntu 16.04 (MongoDB Latest) test failures
π New Feature
- π [CXX-1687] - Support Client-side Field Level Encryption
- π [CXX-1716] - Add support for Zstandard compression
- [CXX-1746] - Ensure that getMore right after a resume is retried
- β‘οΈ [CXX-1785] - Spec: Finer-grained updates from aggregation via $merge
- β‘οΈ [CXX-1853] - support ability to pass hint to update
- π [CXX-1872] - MONGODB-AWS Support
- π [CXX-1873] - Support for allowDiskUse on find operations
- β‘οΈ [CXX-1874] - Allow passing hint to findAndModify update and replace operations
- [CXX-1936] - Reduce Client Time To Recovery On Topology Changes
- [CXX-1947] - Allow hinting the delete command
- π [CXX-1966] - Driver support for server Hedged Reads
- π [CXX-1998] - 'CommitQuorum' option support for 'createIndexesβ command on MongoDB 4.4
π Improvement
- [CXX-1880] - bsoncxx::element::array does not expose key() function
- π [CXX-1910] - OCSP Support
- [CXX-1912] - Raise error if hint specified for unacknowledged update using OP_MSG or OP_UPDATE
- π§ [CXX-1934] - Unify behavior around configuration for replica set discovery
- [CXX-1948] - Do not repeatedly resume if getMore receives the same error
- [CXX-1965] - Ensure that the WriteConcernError "errInfo" object is propagated
- [CXX-1969] - Add URI option to disable certificate revocation checking
- [CXX-1972] - Implement b_type struct -> bson_value_t conversions
- [CXX-1973] - Bump minimum required C driver
- β [CXX-1976] - Add RetryableWriteError error labels to retryable transaction tests
- π [CXX-1978] - Deprecate geoHaystack and geoSearch
- [CXX-1994] - Add missing URI option getters
- β [CXX-2000] - Don't use admin database for FLE tests
- [CXX-2007] - Hidden Indexes
- π [CXX-2024] - allowDiskUse option for find should be documented as only being supported in 4.4+
- β‘οΈ [CXX-2058] - Update our testing framework (catch)
- [CXX-2059] - Add key_id getter to mongocxx::options::encrypt
- [CXX-2063] - options::encrypt::key_id() should take a bson_value
- [CXX-2066] - implement a make_value helper
- [CXX-2069] - Treat CursorNotFound as a resumable change stream error
-
v6.0-rc0 Changes
July 21, 2020π Release Notes - C++ Driver - Version 3.6.0-rc0
π Bug
- [CXX-1950] - Drivers must run SDAM flow even when server description is equal to the last one
- [CXX-2025] - $changeStream must be the first stage in a change stream
- [CXX-2028] - Explicit write concern is incorrectly applied to collection::find_one_and_* methods
- π [CXX-2037] - Cannot build on Windows with Visual Studio 2019
π New Feature
- π [CXX-1687] - Support Client-side Field Level Encryption
- π [CXX-1716] - Add support for Zstandard compression
- [CXX-1746] - Ensure that getMore right after a resume is retried
- β‘οΈ [CXX-1785] - Spec: Finer-grained updates from aggregation via $merge
- β‘οΈ [CXX-1853] - support ability to pass hint to update
- π [CXX-1872] - MONGODB-AWS Support
- π [CXX-1873] - Support for allowDiskUse on find operations
- β‘οΈ [CXX-1874] - Allow passing hint to findAndModify update and replace operations
- [CXX-1936] - Reduce Client Time To Recovery On Topology Changes
- [CXX-1947] - Allow hinting the delete command
- π [CXX-1966] - Driver support for server Hedged Reads
- π [CXX-1998] - 'CommitQuorum' option support for 'createIndexesβ command on MongoDB 4.4
π Improvement
- [CXX-1880] - bsoncxx::element::array does not expose key() function
- π [CXX-1910] - OCSP Support
- [CXX-1912] - Raise error if hint specified for unacknowledged update using OP_MSG or OP_UPDATE
- π§ [CXX-1934] - Unify behavior around configuration for replica set discovery
- [CXX-1948] - Do not repeatedly resume if getMore receives the same error
- [CXX-1965] - Ensure that the WriteConcernError "errInfo" object is propagated
- [CXX-1969] - Add URI option to disable certificate revocation checking
- [CXX-1972] - Implement b_type struct -> bson_value_t conversions
- [CXX-1973] - Bump minimum required C driver
- β [CXX-1976] - Add RetryableWriteError error labels to retryable transaction tests
- π [CXX-1978] - Deprecate geoHaystack and geoSearch
- [CXX-1994] - Add missing URI option getters
- β [CXX-2000] - Don't use admin database for FLE tests
- π [CXX-2024] - allowDiskUse option for find should be documented as only being supported in 4.4+
- β‘οΈ [CXX-2058] - Update our testing framework (catch)
- [CXX-2059] - Add key_id getter to mongocxx::options::encrypt
- [CXX-2063] - options::encrypt::key_id() should take a bson_value
- [CXX-2066] - implement a make_value helper
- [CXX-2069] - Treat CursorNotFound as a resumable change stream error
-
v5.1 Changes
June 03, 2020π Release Notes - C++ Driver - Version 3.5.1
π The MongoDB C++ Driver Team is pleased to announce the availability of mongocxx-3.5.1. This release provides bug fixes since r3.5.0.
π Please note that this version of mongocxx requires the MongoDB C driver 1.15.0 or higher.
π See the MongoDB C++ Driver Manual and the Driver Installation Instructions for more details on downloading, installing, and using this driver.
π The mongocxx 3.5.x series does not promise API or ABI stability across patch releases.
π Please feel free to post any questions to the MongoDB community forum in the Drivers, ODMs, and Connectors category with the cxx-driver tag. Bug reports should be filed against the CXX project in the MongoDB JIRA. Your feedback on the C++11 driver is greatly appreciated.
π The following are user-visible issues that have been resolved in 3.5.1 since the prior release:
π Bug
- [CXX-2028] - Explicit write concern is incorrectly applied to collection::find_one_and_* methods.
-
v5.0 Changes
March 31, 2020π Release Notes - C++ Driver - Version 3.5.0
π The MongoDB C++ Driver Team is pleased to announce the availability of mongocxx-3.5.0. This release provides support for new features in MongoDB 4.2.
π Please note that this version of mongocxx requires the MongoDB C driver 1.15.0 or higher.
π See the MongoDB C++ Driver Manual and the Driver Installation Instructions for more details on downloading, installing, and using this driver.
π The mongocxx 3.5.x series does not promise API or ABI stability across patch releases.
π Please feel free to post any questions to the MongoDB community forum in the Drivers, ODMs, and Connectors category with the cxx-driver tag. Bug reports should be filed against the CXX project in the MongoDB JIRA. Your feedback on the C++11 driver is greatly appreciated.
π The following are user-visible issues that have been resolved in 3.5.0 since the prior release:
π Bug
- [CXX-1688] - MongoDB CXX driver does not compile with standard polyfill.
- [CXX-1689] - database::_create_collection is not using C++17-compatible string conversion.
- β [CXX-1693] - Test with latest gcc
- π§ [CXX-1720] - clang 7.0.1, Linux, c++14, libc++, ambiguous overload in change_stream.cpp
- [CXX-1769] - ChangeStream spec's Resumable Error definition is too broad
- π [CXX-1901] - Building C++ driver from master fails to find cmake packages of C driver
- [CXX-1922] - scoped_bson_t::steal() doesn't clear _is_initialized flag
- β [CXX-1938] - Catch does not guarantee running at least one test SECTION per TEST_CASE run
π New Feature
- [CXX-1669] - Add an uninstall target
- π [CXX-1678] - std::aligned_storage build failure with extra alignment
- [CXX-1681] - Implement Unified URI Options
- [CXX-1682] - Implement Convenient API for Transactions
- π [CXX-1684] - Support mongos pinning for sharded transactions
- [CXX-1685] - Retryable Reads
- [CXX-1691] - Connections survive primary stepdown
- π [CXX-1695] - Support sharded transactions recovery token
- [CXX-1696] - Aggregate command must be sent to a primary if it uses $out
- β [CXX-1701] - Resync transactions tests to include test with session1 in APM expectations
- [CXX-1702] - Add database aggregate helper
- π [CXX-1711] - Add CMake flags to build both shared and static libraries
- π [CXX-1715] - Support 'startAfter' option to the $changeStream stage
- [CXX-1719] - Drivers should use majority write concern when retrying commitTransaction
- [CXX-1721] - Drivers should ignore batchSize=0 for aggregate with $out
- 0οΈβ£ [CXX-1732] - Support Retryable Writes on by Default
- π [CXX-1734] - Support postBatchResumeToken in change streams
- β [CXX-1742] - Resync transaction spec tests for bulk write error reporting change
- π [CXX-1743] - Add support for majority read concern level to Aggregation $out
- β [CXX-1755] - Require retryable writes network error tests to run on mongos 4.2+
- β‘οΈ [CXX-1756] - Add the ability to specify a pipeline to an update command
- [CXX-1759] - Document connection string and URI option precedence rules
- β [CXX-1761] - Use runOn syntax to specify transaction test requirements
- [CXX-1771] - Allow applications to set maxTimeMS for commitTransaction
- β‘οΈ [CXX-1805] - Operating System Removals/Updates for 4.2
- π [CXX-1806] - Raise an actionable error message when retryWrites fails due to using an unsupported storage engine
π Improvement
- [CXX-1532] - Demonstrate "pool" in thread-safety.md
- [CXX-1572] - Retryable writes should consider more errors retryable
- π [CXX-1637] - Delete deprecated collection::replace_one overloads
- β [CXX-1670] - Add test that reads ignore db/collection readConcern in transaction
- [CXX-1680] - COPYING and THIRD_PARTY_NOTICES should be installed to $PREFIX/share/doc/mongo-cxx-driver
- [CXX-1707] - Export targets for CMake project
- π [CXX-1752] - Remove GitPython from calc_release_version.py
- [CXX-1783] - Don't send $readPreference to standalone servers
- β [CXX-1790] - Test MongoDB 4.2 in Evergreen
- β [CXX-1795] - Use runOn syntax to specify CRUD test requirements
- [CXX-1820] - Deprecation warning on mongoc_uri_get_ssl
- [CXX-1834] - Make pipeline extensible
- βοΈ [CXX-1899] - Typos in install guide
-
v4.2 Changes
June 03, 2020π Release Notes - C++ Driver - Version 3.4.2
π The MongoDB C++ Driver Team is pleased to announce the availability of mongocxx-3.4.2. This release provides bug fixes since r3.4.1.
π Please note that this version of mongocxx requires the MongoDB C driver 1.13.0 or higher.
π See the MongoDB C++ Driver Manual and the Driver Installation Instructions for more details on downloading, installing, and using this driver.
π The mongocxx 3.4.x series does not promise API or ABI stability across patch releases.
π Please feel free to post any questions to the MongoDB community forum in the Drivers, ODMs, and Connectors category with the cxx-driver tag. Bug reports should be filed against the CXX project in the MongoDB JIRA. Your feedback on the C++11 driver is greatly appreciated.
π The following are user-visible issues that have been resolved in 3.4.2 since the prior release:
π Bug
- [CXX-2028] - Explicit write concern is incorrectly applied to collection::find_one_and_* methods.
-
v4.1 Changes
March 03, 2020π This patch release addresses compilation issues when compiling without a polyfill on C++17 supporting compilers.
Please note that this version of mongocxx requires the MongoDB C driver 1.13.0.
π See the MongoDB C++ Driver Manual and the Driver Installation Instructions for more details on downloading, installing, and using this driver.
π NOTE: The mongocxx 3.4.x series does not promise API or ABI stability across patch releases.
π Here is the full list of user-visible issues that have been resolved in 3.4.1 since the prior 3.4.0 release:
π Bug
-
v4.0 Changes
October 15, 2018π This is the first stable release in the mongocxx 3.4 series.
π This release provides support for new features MongoDB 4.0 (most notably transactions) as well as command monitoring and SDAM monitoring.
Please note that this version of mongocxx requires the MongoDB C driver 1.13.0.
π See the MongoDB C++ Driver Manual and the Driver Installation Instructions for more details on downloading, installing, and using this driver.
π NOTE: The mongocxx 3.4.x series does not promise API or ABI stability across patch releases.
Here is the full list of user-visible issues that have been resolved in 3.4.0 since the prior 3.3 series:
π New Feature
- [CXX-1385] - Add API for subscribing to SDAM events
- [CXX-1386] - Implement command monitoring API
- [CXX-1433] - Implement Database Enumeration spec
- π [CXX-1478] - Support ReplaceOptions in CRUD API
- [CXX-1505] - Implement SASLPrep
- π [CXX-1509] - SCRAM-SHA-256 Support
- [CXX-1531] - Implement Transactions spec
- [CXX-1538] - Delete public bulk_write constructor
- [CXX-1541] - Handshake changes for SDAM and Auth
- [CXX-1558] - Remove collection::bulk_write(bulk_write&)
- β‘οΈ [CXX-1559] - Update SCRAM-SHA-256 implementation and tests for spec change
- π [CXX-1582] - Support nameOnly option in listCollections command
- [CXX-1584] - Add helpers and options for Change Streams Follow-on Work
- π [CXX-1585] - Remove MD5 from ObjectID generation
- [CXX-1592] - Add MongoDB 4.0 to the Evergreen matrix
- [CXX-1594] - Implement new count API
- π [CXX-1616] - Remove equality/inequality operators from options classes
- β [CXX-1622] - Test only the initial command in a transaction includes readConcern
- π [CXX-1639] - Support new readConcern level "available"
- [CXX-1658] - Generate C Driver version number when installing
π Bug
- [CXX-1595] - GNU 4.9.3: 'max_align_t' was not declared
- [CXX-1625] - Android NDK r17 compiler error
- 0οΈβ£ [CXX-1626] - CRUD operations set ordered to false by default
- [CXX-1638] - Don't call string_view::to_string
π Improvement
- [CXX-1499] - Don't access bson_iter_t internals
- [CXX-1500] - document::view::find should use bson_iter...w_len functions
- π [CXX-1528] - Deprecate snapshot option
- β [CXX-1562] - Port session tests to mongocxx command monitoring API
- β [CXX-1573] - Spec tests should use the same format for bulk writes
- [CXX-1577] - Flexible collection creation
- π [CXX-1578] - Remove options::aggregate::use_cursor
- β [CXX-1580] - Log backtraces in test failures on Evergreen
- [CXX-1586] - Add user commands to list of commands that write
- [CXX-1591] - Only send bypassDocumentValidation if it's true
- [CXX-1596] - Use mongoc_cursor_new_from_command_reply_with_opts
- β‘οΈ [CXX-1601] - Update ChangeStream spec to detail usage of startAtOperationTime
- π [CXX-1620] - Migrate from functions deprecated in libmongoc 1.12
- [CXX-1651] - Rewrite "Contributing" page
- π [CXX-1653] - Remove database::modify_collection
- [CXX-1657] - Require libbson and libmongoc 1.13.0
- β [CXX-1660] - Fix doxygen warnings
- π [CXX-1666] - improve documentation of element::bool()
-
v3.6.2-1
December 01, 2020