New
mongo-c-driver 2.2.0
Announcing 2.2.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Improvements
- Increase resolution of
bson_get_monotonic_timeon Windows.
Deprecated
- Support for macOS 11 (EOL since September 2023) and macOS 12 (EOL since September 2024).
Removed
- Support for Visual Studio 2015 (EOL since October 2025). Use Visual Studio 2017 or newer.
libmongoc
New Features
MONGODB-OIDCauthentication mechanism.- Support a custom callback with
mongoc_client_set_oidc_callbackandmongoc_client_pool_set_oidc_callback. - Support Azure environment with property
environment:azure. - Support GCP environment with property
environment:gcp. - Kubernetes environment is not-yet supported.
- Support a custom callback with
- Add features to
mongoc_bulkwrite_t:- Add
mongoc_bulkwrite_is_acknowledged.
- Add