mongo-c-driver 1.3.0-rc0
Pre-release
Pre-release
It is my pleasure to announce to you the first release candidate of MongoDB C
driver 1.3.0. It includes additive ABI changes and bugfixes, and support for
the upcoming MongoDB 3.2. It is compatible with MongoDB 2.4 and later.
New features and changes since 1.3.0-beta0:
- If the driver is compiled without SSL support but a URI with "ssl=true"
is passed to mongoc_client_new, mongoc_client_new_from_uri, or
mongoc_client_pool_new, the function logs an error and returns NULL. Before,
the driver would attempt a non-SSL connection. - New functions to copy database and collection handles:
- mongoc_collection_copy
- mongoc_database_copy
- If a GridFS chunk is missing, mongoc_gridfs_file_readv sets file->error to
domain MONGOC_ERROR_GRIDFS and a new code MONGOC_ERROR_GRIDFS_CHUNK_MISSING. - Use electionId to detect a stale replica set primary during a network split.
- Disconnect from replica set members whose "me" field does not match the
connection address. - The client side matching feature, mongoc_matcher_t and related functions,
are deprecated and scheduled for removal in version 2.0. - New CMake options ENABLE_SSL, ENABLE_SASL, ENABLE_TESTS, and ENABLE_EXAMPLES.
- The build system is refactored to declare the current version and latest
release in one place.
Other fixes:
- Memory leaks in mongoc_database_has_collection and mongoc_cursor_next.
- Report writeConcern failures from findAndModify and from legacy writes.
Thanks to everyone who contributed to this release candidate.
- A. Jesse Jiryu Davis
- Hannes Magnusson
- Matt Cotter
- Claudio Canella
- Victor Leschuk
- Flavio Medeiros
- Christopher Wang
Peace,
A. Jesse Jiryu Davis