All Versions
34
Latest Version
Avg Release Cycle
45 days
Latest Release
95 days ago

Changelog History
Page 3

  • v1.15.0

    August 13, 2019

    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+.
    • πŸ“Š 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.
    • 0️⃣ "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.

    πŸš€ 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
  • v1.15.0-1

    August 13, 2019
  • v1.14.1

    August 05, 2019

    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.

    πŸš€ Thanks to everyone who contributed to this release.

    • Jeremy Mikola
    • Clyde Bazile
    • Kevin Albertson
  • v1.14.1-1

    August 11, 2019
  • v1.14.0

    February 22, 2019

    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
      0️⃣ 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().

    πŸš€ 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
  • v1.14.0-1

    February 25, 2019
  • v1.13.1

    January 24, 2019

    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.

    πŸš€ Thanks to everyone who contributed to this release.

    • Kevin Albertson
    • A. Jesse Jiryu Davis
    • Henrik Edin
  • v1.13.1-1

    January 25, 2019
  • v1.13.0

    September 17, 2018

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

    libbson

    It is my pleasure to announce libbson 1.13.0.

    πŸ”‹ Features:

    • New functions to save and restore progress of a bson_iter_t:
      bson_iter_key_len, bson_iter_offset, and bson_iter_init_from_data_at_offset
    • Additional functions bson_iter_overwrite_date_time, bson_iter_overwrite_oid,
      and bson_iter_overwrite_timestamp. All fixed-length BSON values can now be
      ⚑️ updated in place.

    πŸ› Bug fixes:

    • πŸ›  Fix crash when iterating corrupt BSON.

    libmongoc

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

    πŸ”‹ Features:

    • Report a new error code, MONGOC_ERROR_GRIDFS_CORRUPT, when a chunk larger
      than chunkSize is detected. Before, the driver had crashed with an assert.
    • Restructure of install directory. All mongoc headers are under mongoc/
      and all bson headers are under bson/. The preferred way of including the
      headers are mongoc/mongoc.h and bson/bson.h respectively.
      Forwarding headers in the root are provided for backwards compatibility.
    • πŸ— The default CMake build type had been unspecified, now it is RelWithDebInfo.
    • πŸ‘Œ Support LibreSSL 2.7+.

    πŸ› Bug fixes:

    • mongoc_collection_replace_one is now a correctly exported symbol.
    • πŸ›  Fix multiple issues with readConcern and writeConcern inheritance.
    • πŸ›  Fix rare crash with mongodb+srv URIs on Windows.
    • mongoc_gridfs_create_file_from_stream ignored errors while writing chunks
      to the server.
    • The following functions should not have taken a "bypassDocumentValidation"
      option in bson_t *opts, the option is now prohibited:
      • mongoc_bulk_operation_insert_with_opts
      • mongoc_bulk_operation_update_one_with_opts
      • mongoc_bulk_operation_update_many_with_opts
      • mongoc_bulk_operation_replace_one_with_opts
    • The heartbeat-succeeded and heartbeat-failed events (part of SDAM
      Monitoring) had uninitialized "duration" fields, they are now set correctly.

    πŸš€ Thanks to everyone who contributed to this release.

    • A. Jesse Jiryu Davis
    • Roberto C. SΓ‘nchez
    • Kevin Albertson
    • Henrik Edin
    • Spencer McKenney
    • Jeremy Mikola
    • Evgeni Dobranov
    • Tomas Mozes
    • Derick Rethans
    • Gustaf Neumann
    • Jeroen
    • Jeroen Ooms
    • Kaitlin Mahar
    • Scott Gayou
  • v1.13.0-1

    November 25, 2018