|
1 | 1 | mongo-c-driver 1.3.0
|
2 | 2 | ====================
|
3 | 3 |
|
4 |
| - * mongoc_collection_find_and_modify () will now apply the mongoc_collection_t |
5 |
| - write_concern_t when talking to MongoDB 3.2+. |
| 4 | +It is my pleasure to announce to you the beta of MongoDB C driver 1.3.0. |
| 5 | +This beta includes additive ABI changes and bugfixes, and support for |
| 6 | +the upcoming MongoDB 3.2. It is compatible with MongoDB 2.4 and later. |
| 7 | + |
| 8 | +New features and changes: |
| 9 | + |
| 10 | + * mongoc_collection_find_and_modify will now apply the mongoc_collection_t's |
| 11 | + write_concern_t when talking to MongoDB 3.2. |
| 12 | + * Support for MongoDB 3.2's "readConcern" feature for queries, counts, and |
| 13 | + aggregations. The option "readConcernLevel" is now accepted in the MongoDB |
| 14 | + URI. New struct mongoc_read_concern_t, and functions operating on it: |
| 15 | + - mongoc_client_get_read_concern |
| 16 | + - mongoc_client_set_read_concern |
| 17 | + - mongoc_database_get_read_concern |
| 18 | + - mongoc_database_set_read_concern |
| 19 | + - mongoc_collection_get_read_concern |
| 20 | + - mongoc_collection_set_read_concern |
| 21 | + - mongoc_read_concern_copy |
| 22 | + - mongoc_read_concern_destroy |
| 23 | + - mongoc_read_concern_get_level |
| 24 | + - mongoc_read_concern_new |
| 25 | + - mongoc_read_concern_set_level |
| 26 | + - mongoc_uri_get_read_concern |
| 27 | + * Support for MongoDB 3.2's "bypassDocumentValidation" option for writes. |
| 28 | + * New struct mongoc_bulk_write_flags_t and related functions: |
| 29 | + - mongoc_bulk_operation_set_bypass_document_validation |
| 30 | + - mongoc_bulk_operation_set_flags |
| 31 | + * New struct mongoc_find_and_modify_opts_t and related functions: |
| 32 | + - mongoc_find_and_modify_opts_new |
| 33 | + - mongoc_find_and_modify_opts_destroy |
| 34 | + - mongoc_find_and_modify_opts_set_sort |
| 35 | + - mongoc_find_and_modify_opts_set_update |
| 36 | + - mongoc_find_and_modify_opts_set_fields |
| 37 | + - mongoc_find_and_modify_opts_set_flags |
| 38 | + - mongoc_find_and_modify_opts_set_bypass_document_validation |
| 39 | + - mongoc_collection_find_and_modify_with_opts |
| 40 | + * Configurable wait time on tailable cursors with MongoDB 3.2: |
| 41 | + - mongoc_cursor_get_max_await_time_ms |
| 42 | + - mongoc_cursor_set_max_await_time_ms |
| 43 | + * Support for MongoDB 3.2 wire protocol: use commands in place of OP_QUERY, |
| 44 | + OP_GETMORE, and OP_KILLCURSORS messages. |
| 45 | + * To explain a query plan with MongoDB 3.2, you must now call the "explain" |
| 46 | + command, instead of including the "$explain" key in a mongoc_collection_find |
| 47 | + query. See the mongoc_collection_find documentation page for details. |
| 48 | + * Use constant-time comparision when verifying credentials |
| 49 | + * Combine environment's CFLAGS with configure options when building. |
| 50 | + * Improved man page output and "whatis" entries |
| 51 | + |
| 52 | +Extensive bugfixes and improvements in GridFS, including: |
| 53 | + |
| 54 | + * Handle seeking, reading, and writing past the end of a GridFS file. |
| 55 | + * Better error reporting if a GridFS file has missing chunks. |
| 56 | + * Optimization for long seeks forward with mongoc_gridfs_file_seek. |
| 57 | + |
| 58 | +Other fixes: |
| 59 | + |
| 60 | + * Memory leak in mongoc_database_find_collections. |
| 61 | + * Set OP_QUERY's nToReturn from the provided limit. |
| 62 | + * Fix compiler warnings and errors, especially with Visual Studio 2015, |
| 63 | + GCC 4.8, and IBM XL C. |
| 64 | + * Include missing build script FindSASL2.cmake in distribution tarball |
| 65 | + * Bugs and typos in tutorial examples |
6 | 66 |
|
7 |
| - * To explain a query plan with MongoDB 3.2+, you must now call the "explain" |
8 |
| - command. Including the "$explain" key in a mongoc_collection_find query no |
9 |
| - longer works. See the mongoc_collection_find documentation page for details. |
| 67 | +Thanks to everyone who contributed to this version of libmongoc. |
| 68 | + |
| 69 | + * A. Jesse Jiryu Davis |
| 70 | + * Hannes Magnusson |
| 71 | + * Kyle Suarez |
| 72 | + * Jose Sebastian Battig |
| 73 | + * Jeremy Mikola |
| 74 | + * Iago Rubio |
| 75 | + * Matt Cotter |
| 76 | + * alexeyvo |
10 | 77 |
|
11 |
| - * Various get/setters on cursor |
12 |
| - - mongoc_cursor_get_max_await_time_ms |
13 |
| - - mongoc_cursor_set_max_await_time_ms |
| 78 | +Peace, |
| 79 | + |
| 80 | + A. Jesse Jiryu Davis |
14 | 81 |
|
15 | 82 |
|
16 | 83 | mongo-c-driver 1.2.1
|
|
0 commit comments