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

Changelog History
Page 4

  • v1.12.0 Changes

    July 18, 2018

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

    libbson

    πŸš€ It is my pleasure to announce libbson 1.12.0. This release deprecates all
    πŸš€ MD5-related public APIs; they will be removed in the next major release.

    πŸ› Bug fixes:

    • Properly handle zero-length BSON binary values
    • πŸ›  Fix crash parsing Base64-encoded data in JSON when using libbson without
      libmongoc

    libmongoc

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

    πŸ”‹ Features:

    • New function mongoc_client_session_in_transaction to check if a multi-
      document transaction is started.
    • πŸ†• New examples for change streams and transactions, improved guide for
      migrating from mongoc_collection_count to mongoc_collection_count_documents

    πŸ› Bug fixes:

    • πŸ›  Fix occasional crash in sharded queries
    • Retry all retryable write concern errors
    • mongoc_client_session_commit_transaction sets the correct error label when
      the primary is unavailable
    • mongoc_collection_find_with_opts had prohibited read preference "primary"
      in a transaction
    • mongoc_collection_aggregate had not inherited its mongoc_collection_t's
      read preference; only an explicitly provided read preference was used.
    • πŸ‘ Allow unencoded delimiters in username/password if unambiguous

    πŸ”— Links:

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

    • Roberto C. SΓ‘nchez
    • A. Jesse Jiryu Davis
    • Kevin Albertson
    • Spencer McKenney
    • Evgeni Dobranov
    • Jeremy Mikola
    • εΉ³ζ°‘Β·ε―»ζ’¦(Pingmin Fenlly Liu)
  • v1.11.0 Changes

    June 22, 2018

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

    libbson

    It is my pleasure to announce libbson 1.11.0. This version adds the following
    πŸ”‹ features and improvements:

    • All "destroy" functions such as bson_destroy or bson_reader_destroy now
      ignore a NULL argument.
    • Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPs compliance).

    πŸ› Bug fixes:

    • Functions incorrectly marked with the "const" compiler attribute are now
      πŸ— marked as "pure", fixes build error when link-time optimization is enabled.

    libmongoc

    πŸš€ It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds
    πŸ‘Œ support for MongoDB 4.0 features. It includes the following additions and
    πŸ‘Œ improvements:

    • Multi-document transactions, see mongoc_client_session_start_transaction
    • New function mongoc_error_has_label to check for specific error labels such
      as "TransientTransactionError" or "UnknownTransactionCommitResult" in
      error replies.
    • πŸ†• New functions to subscribe to changes on an entire client or database:
      • mongoc_client_watch
      • mongoc_database_watch
    • πŸ†• New option for change streams, "startAtOperationTime".
    • mongoc_collection_count_with_opts is deprecated for two new functions:
      • mongoc_collection_count_documents
      • mongoc_collection_estimated_document_count
    • πŸ‘Œ Support for SCRAM-SHA-256 authentication, including support for non-ASCII
      passwords using libicu is an optional dependency.
    • Faster mongoc_database_get_collection_names_with_opts fetches only names,
      πŸ“‡ not the entire collection metadata.

    βž• Additional changes not specific to MongoDB 4.0:

    • All "destroy" functions such as mongoc_collection_destroy now ignore a NULL
      argument.
    • The driver now returns an error if you attempt to use "arrayFilters" in an
      ⚑️ update with a MongoDB server older than 3.6.
    • ⚑️ Update functions include a new "upsertedCount" field in the reply document.
    • Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPs compliance).

    πŸ› Bug fixes:

    • Functions incorrectly marked with the "const" compiler attribute are now
      πŸ— marked as "pure", fixes build error when link-time optimization is enabled.

    πŸ”— Links:

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

    • A. Jesse Jiryu Davis
    • Kevin Albertson
    • Evgeni Dobranov
    • Spencer McKenney
    • Jeremy Mikola
    • Roberto C. SΓ‘nchez
    • Remi Collet
  • v1.11.0-1

    June 26, 2018
  • v1.10.3 Changes

    June 19, 2018

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

    libbson

    πŸš€ No change since 1.10.2; released to keep pace with libmongoc's version.

    libmongoc

    πŸš€ It is my pleasure to announce the MongoDB C Driver 1.10.3. This release fixes
    πŸ“œ a crash when parsing binary data from JSON if mongoc_init isn't called.

    πŸ”— Links: