Releases: mongodb/mongo-c-driver
mongo-c-driver 1.25.4
Announcing 1.25.4 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- Restore support for Sphinx 1.7.6 for man page build.
libmongoc
Fixes:
- Restore support for Sphinx 1.7.6 for man page build.
Links:
mongo-c-driver 1.25.3
Announcing 1.25.3 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.25.2. Version incremented to match the libmongoc version.
libmongoc
Fixes:
- Disable shared libmongoc targets if
ENABLE_SHARED=OFF
- Fix documentation build with Python 3.9.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
mongo-c-driver 1.25.2
Announcing 1.25.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- Fix conversion warning with GCC 12.
libmongoc
Fixes:
- Fix data race in
mongoc_cursor_get_host
.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ezra Chung
- Kyle Kloberdanz
- Roberto C. Sánchez
- Calvin Buckley
- Roland Hieber
mongo-c-driver 1.25.1
Announcing 1.25.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- The
BUILD_VERSION
CMake option was restored. - Fixes to some format strings in trace logs.
- Allow mongoc_buffer_t to be larger than INT_MAX.
libmongoc
Fixes:
- Add back support for
BUILD_VERSION
CMake option.BUILD_VERSION
was unintentionally removed in 1.25.0.
Links:
Thanks to everyone who contributed to this release.
- Adrian Dole
- Kevin Albertson
- Roberto C. Sánchez
mongo-c-driver 1.25.0
Announcing 1.25.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
New Features:
- Add
bson_array_builder_t
.
Platform Support:
- Support for macOS 10.14 is dropped.
- Support for Ubuntu 14.04 is dropped.
- Support for Debian 8.1 is dropped.
libmongoc
Fixes:
- Send
recoveryToken
in transactions when connected to a load balancer.
Improvements:
- Remove optional dependency of libicu.
- Added ability to manage Atlas Search indexes
- Use OP_MSG exhaust for mongod >= 4.2. Enable exhaust cursors for mongos >= 7.1.
- Share cached credentials for SCRAM authentication among all clients to improve performance.
- Use polling monitoring in FaaS environments.
Build Configuration:
- Remove
ENABLE_SRV=AUTO
. Only support boolean values forENABLE_SRV
.
Platform Support:
- Support for macOS 10.14 is dropped.
- Support for Ubuntu 14.04 is dropped.
- Support for Debian 8.1 is dropped.
Other:
- The constructed source-distribution archive is no longer available as a
release artifact. Please instead use the per-release repository archive
attached to a GitHub release, or clone the repository at the desired release
tag.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Colby Pike
- Adrian Dole
- Roberto C. Sánchez
- Ezra Chung
- Joshua Siegel
- Kyle Kloberdanz
- Jeremy Mikola
mongo-c-driver 1.24.4
Announcing 1.24.4 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- Fix libmongoc build failure caused by missing install of
bson-dsl.h
.
libmongoc
Fixes:
- Fix build failure caused by missing
bson-dsl.h
install in libbson.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
mongo-c-driver 1.24.3
Announcing 1.24.3 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Fixes:
- Fix parsing of
[ { $code: ... } ]
or[{$dbPointer: ...}]
. - Improve detection Fix use of
strerror_l
- Fix possible overflow parsing Decimal128 in extJSON with very large exponents
libmongoc
Fixes:
- Fix possible memory leak on SCRAM authentication failure.
- Fix possible recursive lock on network error in single-threaded client.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Jeremy Mikola
- Roberto C. Sánchez
- Joshua Siegel
- Ezra Chung
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