Skip to content

Releases: mongodb/mongo-c-driver

mongo-c-driver 1.17.0

30 Jul 19:51
1.17.0
b51d1e4
Compare
Choose a tag to compare

I'm pleased to announce version 1.17.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.17.0.

Features:

  • Add the cmake option ENABLE_PIC to build static libraries with position independent code.

Bug fixes:

  • Fix possible int32 overflow when comparing and constructing large bson_t's.
  • Fix pedantic compiler warnings.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.17.0 release.
This release adds support for MongoDB 4.4 servers.

Features:

  • Support streamable server monitoring to reduce recovery time when the server topology changes.
  • Support the MONGODB-AWS authentication mechanism.
  • Support Online Certificate Status Protocol (OCSP).
  • Support configuring hedged reads in read preferences.
  • Reduce the number of round trips necessary for SCRAM and X509 authentication.
  • Monitor servers in parallel when using a mongoc_client_pool_t instead of doing serial scans.
  • Support the "hint" option in operations using the update, replace, delete, and findAndModify commands.
  • Improve behavior for retryable writes.
  • Improve resuming behavior of change streams on server errors.
  • Remove restriction of 255 character collection namespaces.

Bug fixes:

  • Fix criteria for resumable errors in change streams.
  • Fix rare crashes when server is invalidated during authentication.
  • Reject client session for mongoc_collection_estimated_document_count.
  • Fix behavior of a SecondaryPreferred read preference for exhaust cursor operations against a sharded cluster. Prior to the fix, a nonzero maxStalenessSeconds would not trigger sending the read preference.
  • Fix SRV polling. Prior to the fix, SRV polling did not properly apply newly discovered results.
  • Fix checks for existing GridFS indexes to handle indexes created by the MongoDB shell.
  • Fix possible use of invalidated streams during an unordered OP_QUERY bulk write, and when ending many pooled sessions at client destruction.
  • Fix a crash when setting the crl_file TLS option for Secure Channel.
  • Avoid emitting duplicate ServerChanged events when no change is observed during monitoring.
  • Properly handle large SASL messages instead of erroring.

Notes:

  • Deprecated "lib" prefixed artifacts are no longer produced when building on Windows.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Roberto C. Sánchez
  • Andrew Witten
  • Andreas Braun
  • Clyde Bazile
  • Josh Weinstein
  • Richard Donkin

mongo-c-driver 1.17.0-rc0

14 Jul 01:39
1.17.0-rc0
4cacc60
Compare
Choose a tag to compare

I'm pleased to announce version 1.17.0-rc0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.17.0 rc0.

No changes since 1.17.0 beta2; release to keep pace with libmongoc's version.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.17.0 rc0 release.
This release adds support for MongoDB 4.4 servers.

Features:

  • Support streamable server monitoring to reduce recovery time when the server topology changes.
  • Support tlsDisableCertificateRevocationCheck when built with Secure Channel.

Bug fixes:

  • Fix criteria for resumable errors in change streams.
  • Fix rare crashes when server is invalidated during authentication.
  • Improve behavior when reaching out to OCSP responders for certificate revocation checking.
  • Reject client session for mongoc_collection_estimated_document_count.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Andrew Witten
  • Roberto C. Sánchez
  • Clyde Bazile

mongo-c-driver 1.17.0-beta2

09 Jun 18:32
1.17.0-beta2
bf441c7
Compare
Choose a tag to compare
Pre-release

I'm pleased to announce version 1.17.0-beta2 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.17.0 beta2.

Features:

  • Fix pedantic compiler warnings.
  • Improve assertion error messages.

Bug fixes:

  • Fix possible int32 overflow when comparing and constructing large bson_t's.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.17.0 beta2 release.

Features:

  • Support Online Certificate Status Protocol (OCSP) response caching.
  • Support configuring hedged reads in read preferences.
  • Reduce the number of round trips necessary for SCRAM and X509 authentication.
  • Monitor servers in parallel when using a mongoc_client_pool_t instead of doing serial scans.
  • Support OCSP on older versions of OpenSSL (1.0.1+).

Bug fixes:

  • Fix behavior of a SecondaryPreferred read preference for exhaust cursor operations against a sharded cluster. Prior to the fix, a nonzero maxStalenessSeconds would not trigger sending the read preference.
  • Fix SRV polling. Prior to the fix, SRV polling did not properly apply newly discovered results.
  • Fix checks for existing GridFS indexes to handle indexes created by the MongoDB shell.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Roberto C. Sánchez
  • Andreas Braun
  • Clyde Bazile
  • Josh Weinstein
  • Richard Donkin

mongo-c-driver 1.17.0-beta

10 Apr 19:20
1.17.0-beta
af93078
Compare
Choose a tag to compare
Pre-release

I'm pleased to announce version 1.17.0-beta of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.17.0 beta.

Features:

  • Add the cmake option ENABLE_PIC to build static libraries with position independent code.

Notes:

  • Deprecated "lib" prefixed artifacts are no longer produced when building on Windows.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.17.0 beta release.

Features:

  • Support the MONGODB-AWS authentication mechanism.
  • Support the Online Certificate Status Protocol (OCSP) for OpenSSL 1.1.0+, Secure Transport, and Secure Channel.
  • Support the "hint" option in operations using the update, replace, delete, and findAndModify commands.
  • Improve behavior for retryable writes.
  • Improve resuming behavior of change streams on server errors.
  • Remove an extra round trip for SCRAM authentication.
  • Remove restriction of 255 character collection namespaces.

Bug fixes:

  • Fix possible use of invalidated streams during an unordered OP_QUERY bulk write, and when ending many pooled sessions at client destruction.
  • Fix a crash when setting the crl_file TLS option for Secure Channel.
  • Avoid emitting duplicate ServerChanged events when no change is observed during monitoring.
  • Properly handle large SASL messages instead of erroring.

Notes:

  • Deprecated "lib" prefixed artifacts are no longer produced when building on Windows.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Roberto C. Sánchez
  • Andreas Braun
  • Clyde Bazile
  • Jeremy Mikola
  • Sara Golemon
  • Jeroen Ooms

mongo-c-driver 1.16.2

25 Feb 05:44
1.16.2
ca290ba
Compare
Choose a tag to compare

I'm pleased to announce version 1.16.2 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

No change since 1.16.1; released to keep pace with libmongoc's version.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.16.2.

Bug fixes:

  • Fix compilation with LibreSSL when configuring with -DENABLE_SSL=AUTO

Links:

mongo-c-driver 1.16.1

04 Feb 01:58
1.16.1
99d4228
Compare
Choose a tag to compare

I'm pleased to announce version 1.16.1 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.16.1.

Features:

  • Add bson_isspace, a safer isspace alternative.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.16.1.

Bug fixes:

  • Fix listed library dependency on mongoc_static target when building with libmongocrypt.
  • Replace a call of free to bson_free.
  • Vendor Sphinx basic theme and correctly list static files for docs.
  • Fix a compilation warning introduced in 1.16.0.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson

mongo-c-driver 1.16.0

17 Jan 03:37
1.16.0
1f73168
Compare
Choose a tag to compare

I'm pleased to announce version 1.16.0 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.16.0.

Bug fixes:

  • Fix crash if an empty BSON binary value is copied and then appended.
  • Fix out-of-bounds read when parsing JSON.
  • Fix out-of-bounds read when parsing base64.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.16.0.

Features:

  • Support Client-side Field Level Encryption.
  • Support ability to pass an index hint to update operations.
  • Add cmake export targets.

Bug fixes:

  • Fix a bug with Windows SSPI failing to authenticate with GSSAPI when using
    pooled clients for certain operations.
  • Fix behavior for bulk writes that retry to keep track of the successful server.
  • Remove hard limit of 1024 characters for SRV response.
  • Fix racy crash when using client pool against a sharded cluster if a server is invalidated shortly before a new socket is opened against it.
  • Remove unnecessary library dependencies causing overlinking.
  • Ensure server proof has been validated during SCRAM conversation.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Jeremy Mikola
  • Clyde Bazile
  • Andreas Braun
  • Roberto C. Sánchez
  • Samantha Ritter
  • Isabel Atkinson
  • Kaitlin Mahar
  • Diego Barrios Romero
  • Sara Golemon
  • Vasil Velichkov
  • EGuesnet

mongo-c-driver 1.15.3

16 Dec 18:13
1.15.3
606b0ea
Compare
Choose a tag to compare

I'm pleased to announce version 1.15.3 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

It is my pleasure to announce libbson 1.15.3.

No changes since 1.15.2; release to keep pace with libmongoc's version.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.15.3.

Bug fixes:
* Fix a hang on macOS when connecting to a server over TLS
* Add zstd as a dependency when libmongoc static library is compiled with zstd support
* Fix compilation on AIX 6.1

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Samantha Ritter
  • EGuesnet

mongo-c-driver 1.15.2

06 Nov 23:33
1.15.2
7275aad
Compare
Choose a tag to compare

I'm pleased to announce version 1.15.2 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

No changes since 1.15.1; release to keep pace with libmongoc's version.

libmongoc

Bug fixes:

  • Prevent mongoc_transaction_opts_set_max_commit_time_ms from applying to subsequent transactions that should be using the default.
  • Do not report the initial error if a retry for a change stream function (mongoc_collection_watch, mongoc_database_watch, or mongoc_client_watch) succeeds

Links:

Thanks to everyone who contributed to this release.

  • Andreas Braun
  • Clyde Bazile

mongo-c-driver 1.15.1

30 Aug 19:05
Compare
Choose a tag to compare

I'm pleased to announce version 1.15.1 of libbson and libmongoc,
the libraries constituting the MongoDB C Driver.

libbson

No change since 1.15.0; released to keep pace with libmongoc's version.

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.15.1.

Bug fixes:

  • Fix change stream resume logic when no documents received
  • Reduce the required cmake version to build with zstd support
  • Minor fixes to mongos pinning logic
  • Do not resume a change stream on NonResumableChangeStreamError

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Clyde Bazile