Releases: mongodb/mongo-c-driver
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
mongo-c-driver 1.19.0
Announcing 1.19.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.
libbson
It is my pleasure to announce libbson 1.19.0.
No changes since 1.18.0; release to keep pace with libmongoc's version.
libmongoc
It is my pleasure to announce the MongoDB C Driver 1.19.0 release.
This release adds full support for MongoDB 5.0 servers and MongoDB Atlas Serverless Instances.
Features:
- Add full support to connect to MongoDB Atlas Serverless Instances.
- Add support for snapshot reads on a session with mongoc_session_opts_set_snapshot.
- Support the new URI option loadBalanced to connect to a MongoDB cluster behind a TCP load balancer.
Bug fixes:
- Fix the uploadDate set on newly created GridFS files in the mongoc_gridfs_bucket_t API.
Links:
Thanks to everyone who contributed to this release.
- Kevin Albertson
- Jeremy Mikola
- Benjamin Rewis
- Andreas Braun
- Colby Pike
- Ezra Chung
- Roberto C. Sánchez
- Jesse Williamson