Releases: mongodb/mongo-c-driver
mongo-c-driver 1.24.2
Announcing 1.24.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.24.1. Version incremented to match the libmongoc version.
libmongoc
Fixes:
- Fix possible crash if thread creation fails.
- Fix possible assertion if
mongoc_cursor_new_from_command_reply_with_opts
is called with open cursor and noserverId
option.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
mongo-c-driver 1.24.1
Announcing 1.24.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.24.0. Version incremented to match the libmongoc version.
libmongoc
Fixes:
* Remove unnecessary assert in bulk API. May result in an abort when creating bulk operations with the `mongoc_bulk_operation_new` API intended for wrapping drivers.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
mongo-c-driver 1.24.0
Announcing 1.24.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
New Features:
- Add extended JSON helpers for top-level BSON arrays
bson_array_as_canonical_extended_json
andbson_array_as_relaxed_extended_json
.
Language Standard Support:
- C89 support has been dropped. C99 is the default tested C standard.
Platform Support:
- Support for macOS 10.14 will be dropped in an upcoming release.
- Support for Ubuntu 14.04 will be dropped in an upcoming release.
- Support for Debian 8.1 will be dropped in an upcoming release.
libmongoc
New Features:
- Support MongoDB server version 7.0.
- Support updated Queryable Encryption protocol.
- Introduces backwards breaking changes to the Queryable Encryption protocol. Using Queryable Encryption now requires MongoDB server version 7.0+.
- Support new Queryable Encryption features.
- Add
mongoc_client_encryption_create_encrypted_collection
to automatically create data encryption keys when creating a new encrypted collection.
- Add
- Support new security features.
- Add ability to fetch KMS credentials automatically from Azure, GCP, and AWS environments.
- Support authentication with KMS AWS temporary credentials.
- Cache fetched AWS credentials.
- Support AWS IAM Roles for service accounts, EKS in particular.
- Retry operations if the connection handshake fails.
- Add index creation helper:
mongoc_collection_create_indexes_with_opts
.
Fixes:
- Fix default applied credentials for Kerberos with SSPI on Windows.
- Fix possible overcounting in Performance Counters used by
mongoc-stat
.
Language Standard Support:
- C89 support has been dropped. C99 is the default tested C standard.
Platform Support:
- Support for macOS 10.14 will be dropped in an upcoming release.
- Support for Ubuntu 14.04 will be dropped in an upcoming release.
- Support for Debian 8.1 will be dropped in an upcoming release.
Build Configuration:
- The
ENABLE_BSON
configure-time option has been removed. Build scripts that
usedENABLE_BSON=SYSTEM
should be updated to useUSE_SYSTEM_LIBBSON=TRUE
.
If the build script needs to support building arbitrary versions of the C
driver, add bothENABLE_BSON=SYSTEM
andUSE_SYSTEM_LIBBSON=TRUE
.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ezra Chung
- Colby Pike
- Gil Alon
- Kyle Kloberdanz
- Jeremy Mikola
- Andreas Braun
- Kondaiah Valagonda
- Joshua Siegel
- Roberto C. Sánchez
- Romain Geissler @ Amadeus
- bisht2050
- Adrian Dole
- Jeroen Ooms
- Jean-Marc Le Roux
- gopukrishnasIBM
- Charles Pritchard
mongo-c-driver 1.23.5
Announcing 1.23.5 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.23.3. Version incremented to match the libmongoc version.
libmongoc
Fixes:
- Fix potential crash due to insufficient memory when allocating performance counters.
- Fix compilation error on Android platforms due to missing
aligned_alloc
. - Return an error if
RewrapManyDataKey
is invoked without aprovider
when amasterKey
is given.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Romain Geissler @ Amadeus
mongo-c-driver 1.23.4
Announcing 1.23.4 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.23.3. Version incremented to match the libmongoc version.
libmongoc
Fixes:
- Fix possible failure to authenticate with MONGODB-X509 after network error.
Links:
Thanks to everyone who contributed to this release.
- Andreas Braun
- Kevin Albertson
- Kyle Kloberdanz
mongo-c-driver 1.23.3
Announcing 1.23.3 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fix:
- Don't use
aligned_alloc()
on Windows
libmongoc
Fixes:
- Better handle malformed
hello
responses - Handle
connectionId
of typedouble
.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Gil Alon
- Kondaiah Valagonda
- Jeroen Ooms
mongo-c-driver 1.23.2
Announcing 1.23.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.23.1. Version incremented to match the libmongoc version.
libmongoc
Bug fixes:
- Fix compile on M1 macOS fails due to undeclared function (getpagesize)
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Kyle Kloberdanz
mongo-c-driver 1.23.1
Announcing 1.23.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.23.0. Version incremented to match the libmongoc version.
libmongoc
Bug fixes:
- Fix connectivity to Atlas Data Lake
- Fix crash when dropping a malformed Queryable Encryption collection.
Links:
Thanks to everyone who contributed to this release.
- Andreas Braun
- Kevin Albertson
mongo-c-driver 1.22.2
Announcing 1.22.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Bug fixes:
- Fix link errors related to atomic operations on RISC-V
- Fix compile-time errors due to type conflicts on some platforms.
libmongoc
- Fix connectivity to Atlas Data Lake
- Additional bugfixes from libbson 1.22.2
Links:
Thanks to everyone who contributed to this release.
- Andreas Braun
- Kevin Albertson
- Roberto C. Sánchez
- Ezra Chung
mongo-c-driver 1.23.0
Announcing 1.23.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Improvements:
- Reducing Warnings of Misaligned Address of Over-Aligned Types
libmongoc
Features:
- Add on-demand Credentials Callback for CSFLE
- Support obtaining AWS credentials for CSFLE in the same way as for MONGODB-AWS
Improvements:
- Reducing Warnings of Misaligned Address of Over-Aligned Types
Bug fixes:
- Do not spawn mongocryptd if mongo_shared shared library is loaded.
Links:
Thanks to everyone who contributed to this release.
- Ezra Chung
- Colby Pike
- Kevin Albertson
- Roberto C. Sánchez