Release Notes - C Driver - Version 1.9.0 - HTML format

Bug

  • [CDRIVER-2152] - Docs mention internal type mongoc_stream_gridfs_t
  • [CDRIVER-2254] - Could not authenticate using kerberos authentication with mongoc-driver v1.5.0
  • [CDRIVER-2267] - Resource leak in SRV logic
  • [CDRIVER-2268] - Coverity analysis defect 102106: Double free
  • [CDRIVER-2274] - _mongoc_write_command_init() may freeze const mongoc_write_concern_t
  • [CDRIVER-2281] - Travis build broken
  • [CDRIVER-2290] - OPMsg size for a Document Sequence is encoded as native endianness
  • [CDRIVER-2295] - mongoc_collection_aggregate() example takes one extra argument
  • [CDRIVER-2297] - Shell error parsing "$((" expression produced Versions.m4
  • [CDRIVER-2299] - Write past end of buffer in bson_decimal128_to_string
  • [CDRIVER-2310] - Return error instead of asserting for malformed JSON
  • [CDRIVER-2318] - _mongoc_read_concern_freeze() assert failure if level is not set
  • [CDRIVER-2319] - Crash in sasl_client_new
  • [CDRIVER-2321] - _mongoc_write_command_execute always continues after oversized document
  • [CDRIVER-2324] - CMake config doesn't set MONGOC_ENABLE_COMPRESSION in mongoc-config.h
  • [CDRIVER-2326] - Can't disable zlib, although ./configure --help says I can
  • [CDRIVER-2327] - Replica set auth tests not running
  • [CDRIVER-2328] - "member access within misaligned address" in _mongoc_rpc_scatter for OP_MSG
  • [CDRIVER-2334] - JSON tests not run on Windows
  • [CDRIVER-2335] - Syntax errors in TXT records only warn, they should error
  • [CDRIVER-2336] - Leak in _mongoc_cyrus_set_mechanism
  • [CDRIVER-2339] - dbpointer not checking bounds of string
  • [CDRIVER-2342] - _mongoc_scram_start() segfault if scram->user is null
  • [CDRIVER-2365] - Non data-bearing servers must be excluded when determining if a cluster supports sessions
  • [CDRIVER-2374] - Non C99 GNU extension
  • [CDRIVER-2376] - Performance loss with small reads and writes
  • [CDRIVER-2384] - mongoc_bulk_operation_execute() returns before initializing reply bson_t
  • [CDRIVER-2392] - Pedantic warning on Ubuntu 16.04
  • [CDRIVER-2395] - CMake error unknown function check_symbol_exists
  • [CDRIVER-2396] - CMake build error when configuring project with ENABLE_SRV=OFF
  • [CDRIVER-2401] - Handle UTF-8 multibyte NIL in bson_utf8_validate, and UTF-8 validate URI strings before parsing
  • [CDRIVER-2408] - Fix documentation for command_with_opts functions and aggregate
  • [CDRIVER-2409] - bypassDocumentValidation is not a write command option
  • [CDRIVER-2410] - _mongoc_client_command_with_opts omits client write concern for findAndModify on 3.2
  • [CDRIVER-2418] - mongoc_cmd_parts_assemble() may add readConcern afterClusterTime to generic commands
  • [CDRIVER-2422] - mongoc_client_command_with_opts ignores readConcern option
  • [CDRIVER-2423] - Undefined BSON_HAS_RAND_R in libbson
  • [CDRIVER-2425] - authSource option from TXT record ignored
  • [CDRIVER-2427] - Windows: mingw-w64 compiler warnings
  • [CDRIVER-2431] - _mongoc_client_command_with_opts segfault with empty command document

Epic

New Feature

Task

Improvement

  • [CDRIVER-573] - Update "not master" and "node is recovering" behavior
  • [CDRIVER-1888] - mock server should abort when it detects duplicate BSON fields
  • [CDRIVER-2103] - Use sphinx features for findAndModify docs
  • [CDRIVER-2234] - _mongoc_uri_build_write_concern() should report unsupported "w" option as error
  • [CDRIVER-2256] - Improve error message prefix for bulk write document validation errors
  • [CDRIVER-2262] - Implement Database Enumeration spec
  • [CDRIVER-2271] - BSON_STATIC_ASSERT can trigger "error: redefinition of typedef" in clang
  • [CDRIVER-2273] - Do not include default write concern in insert, update, and delete commands
  • [CDRIVER-2275] - Use `res_search` in `_mongoc_get_srv_query`, instead of `res_query`
  • [CDRIVER-2279] - /BulkOperation/OP_MSG/max_msg_size failure
  • [CDRIVER-2282] - Test that mongoc_topology_compatible accepts null bson_error_t pointer
  • [CDRIVER-2284] - Invalidate generated BSON instead of freezing read and write concerns
  • [CDRIVER-2287] - Link from C Driver change stream docs to MongoDB docs
  • [CDRIVER-2289] - Enable building against LibreSSL via CMake
  • [CDRIVER-2298] - /TopologyDescription/readable_writable/pooled test sometimes fails
  • [CDRIVER-2300] - Record isMaster.primary even if address != isMaster.me
  • [CDRIVER-2304] - Deprecate mongoc_collection_update
  • [CDRIVER-2308] - Run live tests through valgrind
  • [CDRIVER-2344] - Warn if multiple TXT records are found
  • [CDRIVER-2345] - Update the MongoDB connection URL for GSSAPI authentication
  • [CDRIVER-2355] - Refactor mongoc_cmd_parts_assemble
  • [CDRIVER-2361] - Cursor iteration should complete (abnormally) when another thread closes the cursor
  • [CDRIVER-2372] - Deprecate mongoc_collection_command
  • [CDRIVER-2382] - Clarify calling codes cleanup responsibilities when mongoc_collection_find_and_modify returns false
  • [CDRIVER-2389] - Deprecate minPoolSize and log a warning if it's used
  • [CDRIVER-2393] - Fail if any SRV record does not match root of service name

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.