Releases: mongodb/mongo-c-driver
mongo-c-driver 1.22.1
Announcing 1.22.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
No changes since 1.22.0. Version incremented to match the libmongoc version.
libmongoc
Bug fixes:
-
Fix documentation build when using Sphinx 5.0 or newer
-
Update patch release of libmongocrypt to 1.5.2: Fix a potential data
corruption bug in RewrapManyDataKey when rotating encrypted data encryption
keys backed by GCP or Azure key services.The following conditions will trigger this bug:
A GCP-backed or Azure-backed data encryption key being rewrapped requires
fetching an access token for decryption of the data encryption key.The result of this bug is that the key material for all data encryption keys
being rewrapped is replaced by new randomly generated material, destroying
the original key material.To mitigate potential data corruption, upgrade to this version or higher
before using RewrapManyDataKey to rotate Azure-backed or GCP-backed data
encryption keys. A backup of the key vault collection should always be taken
before key rotation.
Other:
- Update to Fedora 37 for RPM builds
- Dependency build of libmongocrypt re-uses the libbson of the depending
libmongoc
Links:
Thanks to everyone who contributed to this release.
- Ezra Chung
- Roberto C. Sánchez
- Kevin Albertson
mongo-c-driver 1.22.0
Announcing 1.22.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Bug fixes:
- Fix BSON_ASSERT triggered by invalid JavaScript/JSON.
libmongoc
Bug fixes:
- Do not auto decrypt before emitting CommandSucceeded events.
Improvements:
- Use OP_MSG if a server API version is requested.
Features:
- Add server connectionId to command monitoring events.
- Add support for the comment field to all helpers.
- Support mongo_shared shared library.
- Support pre-point-in-time change stream events.
- Support Queryable Encryption.
- Support 'let' option for multiple CRUD commands.
- Add Key Management API functions.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Jeremy Mikola
- Colby Pike
- Ezra Chung
- Roberto C. Sánchez
- Jake Molnar
- Jesse Williamson
- Remi Collet
- MonkeybreadSoftware
mongo-c-driver 1.21.2
Announcing 1.21.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Announcing libbson 1.21.2.
No changes since 1.21.1; release to keep pace with libmongoc's version.
libmongoc
Bug Fixes:
- Address vulnerability in bundled zlib by updating to 1.1.12.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Colby Pike
mongo-c-driver 1.22.0-beta0
Announcing 1.22.0-beta0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Bug fixes:
- Fix BSON_ASSERT triggered by invalid JavaScript/JSON.
libmongoc
Bug fixes:
- Do not auto decrypt before emitting CommandSucceeded events.
Improvements:
- Use OP_MSG if a server API version is requested.
Features:
- Add server connectionId to command monitoring events.
- Add support for the comment field to all helpers.
- Support mongo_shared shared library.
- Support pre-point-in-time change stream events.
- Support Queryable Encryption.
- Support 'let' option for multiple CRUD commands.
- Add Key Management API functions.
Notes:
- The 5.0-compat release (1.18.0) accidentally broke estimatedDocumentCount on views by changing its implementation to use aggregate and a $collStats stage instead of the count command.
- The new release is fixing estimatedDocumentCount on views by reverting back to using count in its implementation.
- Due to an oversight, the count command was omitted from the Stable API in server versions 5.0.0 - 5.0.8 and 5.1.0 - 5.3.1, so users of the Stable API with estimatedDocumentCount are recommended to upgrade their MongoDB clusters to 5.0.9 or 5.3.2 (if on Atlas) or set apiStrict: false when constructing their MongoClients.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Jeremy Mikola
- Colby Pike
- Ezra Chung
- Roberto C. Sánchez
- Jake Molnar
- Jesse Williamson
- Remi Collet
- MonkeybreadSoftware
mongo-c-driver 1.21.1
Announcing 1.21.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Announcing libbson 1.21.1
No changes since 1.21.0; release to keep pace with libmongoc's version.
libmongoc
Bug Fixes:
- Use static decls for OpenSSL 1.1 polyfills
- Prevent possible crash in _mongoc_cursor_fetch_stream
Links:
Thanks to everyone who contributed to this release.
- Jeremy Mikola
- Remi Collet
mongo-c-driver 1.21.0
Announcing 1.21.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Bug Fixes:
- Addressed VS 2013 build failures due to missing C99 features.
Improvements:
- Addressed -Wstrict-prototype warnings in bson-atomic.h.
- Addressed incompatible pointer warnings in bson-atomic.h on GCC 4.8.5.
libmongoc
Bug Fixes:
- Addressed VS 2013 build failures due to missing C99 features.
Features:
- Support conditional $merge and $out aggregation on secondaries.
- Bump minimum wire protocol version from 3 (MongoDB 3.0) to 6 (MongoDB 3.6).
- Bump maximum wire protocol version from
14 (MongoDB 5.1)13 (MongoDB 5.0) to 15 (MongoDB 5.2).
Improvements:
- Update algorithm used for generation of OID values to reduce collisions.
Links:
Thanks to everyone who contributed to this release.
- Ezra Chung
- Colby Pike
- Kevin Albertson
- Roberto C. Sánchez
- David CARLIER
- Jeremy Mikola
- Pau Espin Pedrol
- Ryan Schmidt
mongo-c-driver 1.20.1
Announcing 1.20.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Bug fixes:
- Fix implicit declarations causing build failures on macOS.
libmongoc
Bug fixes:
- Fix bug where first hello command on a single-threaded client may not include full handshake.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ryan Schmidt
mongo-c-driver 1.20.0
Announcing 1.20.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Features:
- Improve atomics API.
libmongoc
Features:
- Improve multi-threaded performance of client pool.
- Support KMIP as a provider for Client-Side Field Level Encryption (CSFLE).
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ezra Chung
- Colby Pike
- Jesse Williamson
- Jeremy Mikola
- Kaitlin Mahar
- Roberto C. Sánchez
mongo-c-driver 1.19.2
Announcing 1.19.2 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
Announcing libbson 1.19.2.
No changes since 1.19.1; release to keep pace with libmongoc's version.
libmongoc
Announcing libmongoc 1.19.2.
Bug fixes:
- Fix assert on invalid URI options in client pools connected to load balanced clusters when a topology closed callback is registered.
Links:
mongo-c-driver 1.19.1
Announcing 1.19.1 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
It is my pleasure to announce libbson 1.19.1.
Bug fixes:
- Fix string handling in BSON keys and regular expressions.
libmongoc
It is my pleasure to announce libmongoc 1.19.1.
Bug fixes:
- Permit NULL platform argument in mongoc_handshake_data_append.
- Fix wire version check in server selection when maxStalenessSeconds is specified in read preferences.
- Fix assert on invalid URI options in client pools connected to load balanced clusters.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Ezra Chung