|
1 |
| -Next Release |
2 |
| -============ |
| 1 | +mongo-c-driver 1.11.0 |
| 2 | +===================== |
| 3 | + |
| 4 | +It is my pleasure to announce the MongoDB C Driver 1.11.0. This release adds |
| 5 | +support for MongoDB 4.0 features. It includes the following additions and |
| 6 | +improvements: |
3 | 7 |
|
| 8 | + * Multi-document transactions, see mongoc_client_session_start_transaction |
4 | 9 | * New function mongoc_error_has_label to check for specific error labels such
|
5 | 10 | as "TransientTransactionError" or "UnknownTransactionCommitResult" in
|
6 | 11 | error replies.
|
7 |
| - * All "destroy" functions such as bson_destroy or mongoc_collection_destroy |
8 |
| - now ignore a NULL argument. |
| 12 | + * New functions to subscribe to changes on an entire client or database: |
| 13 | + - mongoc_client_watch |
| 14 | + - mongoc_database_watch |
| 15 | + * New option for change streams, "startAtOperationTime". |
| 16 | + * mongoc_collection_count_with_opts is deprecated for two new functions: |
| 17 | + - mongoc_collection_count_documents |
| 18 | + - mongoc_collection_estimated_document_count |
| 19 | + * Support for SCRAM-SHA-256 authentication, including support for non-ASCII |
| 20 | + passwords using libicu is an optional dependency. |
| 21 | + * Faster mongoc_database_get_collection_names_with_opts fetches only names, |
| 22 | + not the entire collection metadata. |
| 23 | + |
| 24 | +Additional changes not specific to MongoDB 4.0: |
| 25 | + |
| 26 | + * All "destroy" functions such as mongoc_collection_destroy now ignore a NULL |
| 27 | + argument. |
9 | 28 | * The driver now returns an error if you attempt to use "arrayFilters" in an
|
10 | 29 | update with a MongoDB server older than 3.6.
|
11 | 30 | * Update functions include a new "upsertedCount" field in the reply document.
|
| 31 | + * Replace MD5 with FNV-1a hash to generate ObjectIds (for FIPs compliance). |
| 32 | + |
| 33 | +Bug fixes: |
| 34 | + |
12 | 35 | * Functions incorrectly marked with the "const" compiler attribute are now
|
13 |
| - marked as "pure". |
| 36 | + marked as "pure", fixes build error when link-time optimization is enabled. |
| 37 | + |
| 38 | +Thanks to everyone who contributed to the development of this release. |
| 39 | + |
| 40 | + * A. Jesse Jiryu Davis |
| 41 | + * Kevin Albertson |
| 42 | + * Evgeni Dobranov |
| 43 | + * Spencer McKenney |
| 44 | + * Jeremy Mikola |
| 45 | + * Roberto C. Sánchez |
| 46 | + * Remi Collet |
| 47 | + |
| 48 | +Peace, |
| 49 | + |
| 50 | + A. Jesse Jiryu Davis |
14 | 51 |
|
15 | 52 |
|
16 | 53 | mongo-c-driver 1.10.3
|
|
0 commit comments