github mongodb/mongo-cxx-driver r4.6.0
MongoDB C++11 Driver r4.6.0

latest release: debian/4.6.0-1
4 hours ago

Added

  • Support for In-Use Encryption String Indexes, replacing the experimental "text" API:
    • mongocxx::v1::string_options and mongocxx::string_options.
    • mongocxx::v1::encrypt_options::string_opts() and mongocxx::options::encrypt::string_opts().
      • This is a distinct field from the deprecated text_opts(). When both are set, string_opts takes precedence and text_opts is ignored.
    • mongocxx::v1::encrypt_options::encryption_algorithm::k_string ("String").
    • mongocxx::v1::encrypt_options::encryption_query_type::k_prefix ("prefix"), k_suffix ("suffix"), and k_substring ("substring").
  • Expose atClusterTime parameter in snapshot sessions

Deprecated

  • The In-Use Encryption "text" API, which is superseded by the "string" API above. These remain documented as experimental and may be removed in a future release:
    • mongocxx::v1::text_options, mongocxx::text_options, and mongocxx::options::text.
    • mongocxx::v1::encrypt_options::text_opts() and mongocxx::options::encrypt::text_opts().
    • mongocxx::v1::encrypt_options::encryption_algorithm::k_textPreview ("TextPreview").
    • mongocxx::v1::encrypt_options::encryption_query_type::k_prefixPreview, k_suffixPreview, and k_substringPreview.

Changed

  • Bump the minimum required C Driver version to 2.5.3.

See the full list of changes in Jira.

Feedback

To report a bug or request a feature, please open a ticket in the MongoDB issue management tool Jira:

Signature Verification

Release artifacts may be verified by using the accompanying detached signature (.asc) and the cpp-driver public key obtained from https://pgp.mongodb.com.

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

NewReleases is sending notifications on new releases.