|
| 1 | +mongo-c-driver 1.3.0 |
| 2 | +==================== |
| 3 | + |
| 4 | +It is my pleasure to announce to you the release of Libbson-1.3.0. |
| 5 | + |
| 6 | +Changes since the the release candidate 1.3.0-rc0: |
| 7 | + |
| 8 | + * Fix a cursor bug introduced on big-endian platforms in 1.3.0-beta0. |
| 9 | + * Improve documentation for mongoc_host_list_t. |
| 10 | + * Move private mongoc_host_list_t functions from public header. |
| 11 | + * Refactor the build system to declare library version in one place. |
| 12 | + |
| 13 | +All new features and changes since the previous stable release, 1.2.1: |
| 14 | + |
| 15 | + * If the driver is compiled without SSL support but a URI with "ssl=true" |
| 16 | + is passed to mongoc_client_new, mongoc_client_new_from_uri, or |
| 17 | + mongoc_client_pool_new, the function logs an error and returns NULL. Before, |
| 18 | + the driver would attempt a non-SSL connection. |
| 19 | + * mongoc_collection_find_and_modify will now apply the mongoc_collection_t's |
| 20 | + write_concern_t when talking to MongoDB 3.2. |
| 21 | + * Support for MongoDB 3.2's "readConcern" feature for queries, counts, and |
| 22 | + aggregations. The option "readConcernLevel" is now accepted in the MongoDB |
| 23 | + URI. New struct mongoc_read_concern_t, and functions operating on it: |
| 24 | + - mongoc_client_get_read_concern |
| 25 | + - mongoc_client_set_read_concern |
| 26 | + - mongoc_database_get_read_concern |
| 27 | + - mongoc_database_set_read_concern |
| 28 | + - mongoc_collection_get_read_concern |
| 29 | + - mongoc_collection_set_read_concern |
| 30 | + - mongoc_read_concern_copy |
| 31 | + - mongoc_read_concern_destroy |
| 32 | + - mongoc_read_concern_get_level |
| 33 | + - mongoc_read_concern_new |
| 34 | + - mongoc_read_concern_set_level |
| 35 | + - mongoc_uri_get_read_concern |
| 36 | + * Support for MongoDB 3.2's "bypassDocumentValidation" option for writes. |
| 37 | + * New struct mongoc_bulk_write_flags_t and related functions: |
| 38 | + - mongoc_bulk_operation_set_bypass_document_validation |
| 39 | + * New struct mongoc_find_and_modify_opts_t and related functions: |
| 40 | + - mongoc_find_and_modify_opts_new |
| 41 | + - mongoc_find_and_modify_opts_destroy |
| 42 | + - mongoc_find_and_modify_opts_set_sort |
| 43 | + - mongoc_find_and_modify_opts_set_update |
| 44 | + - mongoc_find_and_modify_opts_set_fields |
| 45 | + - mongoc_find_and_modify_opts_set_flags |
| 46 | + - mongoc_find_and_modify_opts_set_bypass_document_validation |
| 47 | + - mongoc_collection_find_and_modify_with_opts |
| 48 | + * New functions to copy database and collection handles: |
| 49 | + - mongoc_collection_copy |
| 50 | + - mongoc_database_copy |
| 51 | + * Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY, |
| 52 | + OP_GETMORE, and OP_KILLCURSORS messages. |
| 53 | + * To explain a query plan with MongoDB 3.2, you must now call the "explain" |
| 54 | + command, instead of including the "$explain" key in a mongoc_collection_find |
| 55 | + query. See the mongoc_collection_find documentation page for details. |
| 56 | + * Configurable wait time on tailable cursors with MongoDB 3.2: |
| 57 | + - mongoc_cursor_get_max_await_time_ms |
| 58 | + - mongoc_cursor_set_max_await_time_ms |
| 59 | + * Use electionId to detect a stale replica set primary during a network split. |
| 60 | + * Disconnect from replica set members whose "me" field does not match the |
| 61 | + connection address. |
| 62 | + * The client side matching feature, mongoc_matcher_t and related functions, |
| 63 | + are deprecated and scheduled for removal in version 2.0. |
| 64 | + * New CMake options ENABLE_SSL, ENABLE_SASL, ENABLE_TESTS, and ENABLE_EXAMPLES. |
| 65 | + * Use constant-time comparison when verifying credentials. |
| 66 | + * Combine environment's CFLAGS with configure options when building. |
| 67 | + * Improved man page output and "whatis" entries. |
| 68 | + |
| 69 | +There are extensive bugfixes and improvements in GridFS since 1.2.1, including: |
| 70 | + |
| 71 | + * Handle seeking, reading, and writing past the end of a GridFS file. |
| 72 | + * If a GridFS chunk is missing, mongoc_gridfs_file_readv sets file->error to |
| 73 | + domain MONGOC_ERROR_GRIDFS and a new code MONGOC_ERROR_GRIDFS_CHUNK_MISSING. |
| 74 | + * Optimization for long seeks forward with mongoc_gridfs_file_seek. |
| 75 | + |
| 76 | +Other fixes since 1.2.1: |
| 77 | + |
| 78 | + * Memory leaks in mongoc_database_has_collection and mongoc_cursor_next. |
| 79 | + * Report writeConcern failures from findAndModify and from legacy writes. |
| 80 | + * Memory leak in mongoc_database_find_collections. |
| 81 | + * Set OP_QUERY's nToReturn from the provided limit. |
| 82 | + * Fix compiler warnings and errors, especially with Visual Studio 2015, |
| 83 | + GCC 4.8, and IBM XL C. |
| 84 | + * Bugs and typos in tutorial examples. |
| 85 | + |
| 86 | +Thanks to everyone who contributed to this release candidate. |
| 87 | + |
| 88 | + * A. Jesse Jiryu Davis |
| 89 | + * Hannes Magnusson |
| 90 | + * Kyle Suarez |
| 91 | + * Jose Sebastian Battig |
| 92 | + * Matt Cotter |
| 93 | + * Claudio Canella |
| 94 | + * alexeyvo |
| 95 | + * Christopher Wang |
| 96 | + * Flavio Medeiros |
| 97 | + * Iago Rubio |
| 98 | + * Jeremy Mikola |
| 99 | + * Victor Leschuk |
| 100 | + * Jason Carey |
| 101 | + |
| 102 | +Peace, |
| 103 | + |
| 104 | + A. Jesse Jiryu Davis |
| 105 | + |
| 106 | + |
1 | 107 | mongo-c-driver 1.3.0-rc0
|
2 | 108 | ========================
|
3 | 109 |
|
@@ -91,7 +197,7 @@ New features and changes:
|
91 | 197 | * To explain a query plan with MongoDB 3.2, you must now call the "explain"
|
92 | 198 | command, instead of including the "$explain" key in a mongoc_collection_find
|
93 | 199 | query. See the mongoc_collection_find documentation page for details.
|
94 |
| - * Use constant-time comparision when verifying credentials. |
| 200 | + * Use constant-time comparison when verifying credentials. |
95 | 201 | * Combine environment's CFLAGS with configure options when building.
|
96 | 202 | * Improved man page output and "whatis" entries.
|
97 | 203 |
|
@@ -119,6 +225,10 @@ Thanks to everyone who contributed to this beta release.
|
119 | 225 | * Matt Cotter
|
120 | 226 | * alexeyvo
|
121 | 227 |
|
| 228 | +Peace, |
| 229 | + |
| 230 | + A. Jesse Jiryu Davis |
| 231 | + |
122 | 232 |
|
123 | 233 | mongo-c-driver 1.2.2
|
124 | 234 | ====================
|
|
0 commit comments