Skip to content

Releases: mongodb/mongo-c-driver

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

mongo-c-driver 1.15.0

13 Aug 22:49
1.15.0
baa9687
Compare
Choose a tag to compare

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

libbson

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

libmongoc

It is my pleasure to announce the MongoDB C Driver 1.15.0. This release adds
support for MongoDB 4.2 features.

Features:

  • Support for sharded transactions on MongoDB sharded clusters 4.2+.
  • Add convenient transaction runner (mongoc_client_session_with_transaction),
    which accepts a callback and performs appropriate retry logic.
  • Add a new transaction option to specify maximum time to wait for a commit,
    mongoc_transaction_opts_set_max_commit_time_ms.
  • Add URI option "retryReads=true" safely and automatically retries certain
    read operations if the server is a MongoDB 3.6+. Note, this may require applications to adjust any custom retry logic to prevent inadvertently retrying for too long
  • Poll SRV records to mongos servers periodically.
  • Keep connections alive after a primary stepdown detected.
  • Standardizes URI options supported across all spec-compliant MongoDB drivers.
  • "retryWrites" URI option now defaults to true (requires crypto for session
    support).
  • Send any aggregate with $out or $merge stage to a primary.
  • Add the ability to specify an aggregate pipeline as an update document.
  • Add a database aggregate helper, mongoc_database_aggregate.
  • Add option for change streams, "startAfter".
  • Add mongoc_change_stream_get_resume_token, which returns the resume token
    which should be used to resume a change stream.
  • Add support for zstd compression.

Bug fixes:

  • Correctly report an error in mongoc_change_stream_next if the resume token
    (_id) is not a document. Previously, an error was only reported if the
    field was missing.
  • Fix mongoc_collection_update with MONGOC_UPDATE_MULTI_UPDATE,
    mongoc_collection_remove, and mongoc_collection_delete when retryWrites
    was enabled. They would fail previously.
  • Command options are now correctly taken into account when batching bulk
    writes for OP_QUERY. It was possible to exceed the maximum document size
    before.
  • Fix a crash if a multi-batch bulk write with OP_MSG errored on a batch.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • Jeremy Mikola
  • Haris Sheikh
  • Samantha Ritter
  • Isabel Atkinson
  • Sara Golemon
  • Clyde Bazile
  • Roberto C. Sánchez
  • Lior Kaplan
  • pasniak

mongo-c-driver 1.14.1

05 Aug 15:29
Compare
Choose a tag to compare

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

libbson

It is my pleasure to announce libbson 1.14.1.

Bug fixes:

  • Remove unnecessary dependencies from pkg-config.

libmongoc

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

Bug fixes:

  • Prohibit starting a transaction for pre-4.0 MongoDB servers.
  • Prohibit starting a sharded transaction for pre-4.2 MongoDB servers.

Links:

Thanks to everyone who contributed to this release.

  • Jeremy Mikola
  • Clyde Bazile
  • Kevin Albertson

mongo-c-driver 1.14.0

22 Feb 18:18
1.14.0
71d7eae
Compare
Choose a tag to compare

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

libbson

It is my pleasure to announce libbson 1.14.0.

Features:

  • ObjectIDs are generated in compliance with the driver ObjectID spec.
  • Add a bson_copy_to_excluding_noinit variant taking a va_list.
  • Add example of validating BSON nesting depth with bson_visitor_t.

Bug fixes:

  • Relaxed JSON pads datetime milliseconds with spaces instead of zeroes.

libmongoc

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

Features:

  • Support for OpenSSL 1.1.1 and its implementation of TLS v1.3.
  • New function mongoc_stream_should_retry.
  • New accessor mongoc_server_description_last_update_time.
  • New method mongoc_client_reset to be called after forking.

Bug fixes:

  • OP_MSG with unacknowledged writes (write concern of w:0) would serialize
    incorrectly on big-endian platforms, causing writes to use the default
    write concern of w:1.
  • mongoc_collection_update_many and mongoc_collection_delete_many would fail
    with the URI option retryWrites=true.
  • In a transaction, the driver now properly ignores the readConcern configured
    on a client, database, or collection: only the mongoc_transaction_opt_t's
    readConcern is used.
  • Remove timestamp from uninstall scripts to permit reproducible build.
  • Setting mongoc_ssl_opt_t.pem_file or ca_file to a bad file path caused a
    hang with Darwin SSL.
  • Fix the ENABLE_SASL cmake option:
    • Remove unnecessary GSSAPI value. It was equivalent to specifying ENABLE_SASL=CYRUS.
    • ENABLE_SASL=AUTO now correctly chooses SSPI on Windows instead of CYRUS.
  • The client pool failed to set proper apm callbacks for clients created
    via try_pop().

Links:

Thanks to everyone who contributed to this release.

  • A. Jesse Jiryu Davis
  • Roberto C. Sánchez
  • Kevin Albertson
  • Samantha Ritter
  • Spencer McKenney
  • Henrik Edin
  • Jeremy Mikola
  • Evgeni Dobranov
  • Derick Rethans
  • 平民·寻梦(Pingmin Fenlly Liu)
  • David Carlier
  • Gustaf Neumann
  • Jeroen
  • Jeroen Ooms
  • Kaitlin Mahar
  • Tomas Mozes
  • Clyde Bazile
  • Scott Gayou

mongo-c-driver 1.13.1

24 Jan 20:54
1.13.1
ee4dfea
Compare
Choose a tag to compare

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

libbson

It is my pleasure to announce libbson 1.13.1.

Bug fixes:

  • Separate libmongoc and libbson uninstall scripts so they do not overwrite
    each other.

libmongoc

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

Bug fixes:

  • mongoc_collection_update_many and mongoc_collection_delete_many would fail
    with the URI option retryWrites=true.
  • Remove timestamp from uninstall scripts to permit reproducible build.
  • Add missing header files to the release tarball to fix compilation when
    configuring with ENABLE_SASL=GSSAPI.
  • Separate libmongoc and libbson uninstall scripts so they do not overwrite
    each other.
  • Fix running make install with DESTDIR.

Links:

Thanks to everyone who contributed to this release.

  • Kevin Albertson
  • A. Jesse Jiryu Davis
  • Henrik Edin