MongoDB C Driver v1.12.0 Release Notes

Release Date: 2018-07-18 // almost 6 years ago
  • 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)