Skip to content

Releases: mongodb/mongo-c-driver

mongo-c-driver 1.21.2

07 Jun 18:23
1.21.2
bcb886c
Compare
Choose a tag to compare

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

06 Jun 13:26
1.22.0-beta0
9069165
Compare
Choose a tag to compare
Pre-release

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

01 Mar 19:25
Compare
Choose a tag to compare

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

01 Feb 21:24
1.21.0
e2f1784
Compare
Choose a tag to compare

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

05 Jan 18:48
1.20.1
aa58e44
Compare
Choose a tag to compare

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

17 Nov 22:06
1.20.0
03be6bf
Compare
Choose a tag to compare

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

03 Nov 20:48
1.19.2
6b0258d
Compare
Choose a tag to compare

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

05 Oct 21:58
1.19.1
3f40be2
Compare
Choose a tag to compare

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

16 Aug 15:32
1.19.0
2ff367a
Compare
Choose a tag to compare

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

mongo-c-driver 1.18.0

13 Jul 16:47
1.18.0
0772be4
Compare
Choose a tag to compare

Announcing 1.18.0 of libbson and libmongoc, the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.18.0.

Features:

  • Add BSON to JSON encoder that limits encoded string length.
  • Support parsing $uuid into a binary UUID.
  • Relax validation for insert and replace documents to support fields containing dots and dollars.

Improvements:

  • Add trailing space after base64 JSON field for consistency.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.18.0 release.
This release adds partial support for MongoDB 5.0 servers.

Features:

  • Introduces support to select an API version when connecting to a MongoDB instance.
  • Supports Azure and Google Cloud Platform as Key Management Service (KMS) providers in Client-Side Field Level Encryption (CSFLE).
  • Support "let" option in aggregate command.
  • Support time series collections.
  • Relax validation for insert and replace documents to support fields containing dots and dollars.
  • Expose the reason operations fail document validation.

Bug fixes:

  • Forward opts from mongoc_gridfs_bucket_find to underlying find operation.
  • Fixes a possible hang when a limited size client pool is waiting for a client to become available in mongoc_client_pool_pop.

Improvements

  • Deprecate API containing deprecated terminology.
  • Use "hello" command for monitoring servers.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Roberto C. Sánchez
  • Andreas Braun
  • Clyde Bazile
  • Benjamin Rewis
  • Jeremy Mikola
  • Andrew Witten
  • Samantha Ritter
  • Fermín Galán Márquez
  • David Carlier
  • Colby Pike
  • Josh Weinstein
  • Pierre Mickael Gonzalo
  • Richard Donkin
  • David Korczynski
  • Tim Gates