Skip to content

mongo-c-driver 2.4.0

Latest

Choose a tag to compare

@kevinAlbs kevinAlbs released this 04 Aug 14:03
2.4.0
9dbd691

Announcing 2.4.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.

libbson

No changes since 2.3.3. Version incremented to match the libmongoc version.

libmongoc

Notes

  • Raise required version of libmongocrypt from 1.15.1 to 1.20.0 to support In-Use Encryption (corresponds to the CMake option: ENABLE_CLIENT_SIDE_ENCRYPTION).
  • In a future minor release the minimum supported MongoDB Server version will be raised from 4.2 to 4.4. This is in accordance with MongoDB Software Lifecycle Schedules.

Deprecations

  • The Queryable Encryption "Text" APIs are deprecated for "String" APIs
    • mongoc_client_encryption_encrypt_text_* is deprecated for mongoc_client_encryption_encrypt_string_* to match the generally available "String" algorithm.
    • The TextPreview algorithm is deprecated. Use String instead.

New Features

  • The Queryable Encryption "String" algorithm (MONGOC_ENCRYPT_ALGORITHM_STRING) is now generally available, supporting prefix, suffix, and substring query types.
    • The prefixPreview, suffixPreview, and substringPreview query types remains experimental.
  • Snapshot sessions expose APIs to get and set snapshot times.
  • Support AWS STS regional endpoints.

Fixes

  • Fix handling of verbose results in bulkWrite replies.
  • Fix handling of SCRAM replies.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Ezra Chung
  • Colby Pike
  • Connor MacDonald
  • Adrian Dole
  • bvalente