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 formongoc_client_encryption_encrypt_string_*to match the generally available "String" algorithm.- The
TextPreviewalgorithm is deprecated. UseStringinstead.
New Features
- The Queryable Encryption "String" algorithm (
MONGOC_ENCRYPT_ALGORITHM_STRING) is now generally available, supportingprefix,suffix, andsubstringquery types.- The
prefixPreview,suffixPreview, andsubstringPreviewquery types remains experimental.
- The
- Snapshot sessions expose APIs to get and set snapshot times.
- Support AWS STS regional endpoints.
Fixes
- Fix handling of verbose results in
bulkWritereplies. - 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