MongoDB C Driver v1.17.0 Release Notes

Release Date: 2020-07-30 // over 3 years ago
  • 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