|
1 |
| -Next Release |
2 |
| -============ |
| 1 | +mongo-c-driver 1.15.0 |
| 2 | +===================== |
| 3 | + |
| 4 | +It is my pleasure to announce the MongoDB C Driver 1.15.0. This release adds |
| 5 | +support for MongoDB 4.2 features. |
3 | 6 |
|
4 | 7 | Features:
|
5 |
| - * New option for change streams, "startAfter". |
| 8 | + |
| 9 | + * Support for sharded transactions on MongoDB sharded clusters 4.2+. |
| 10 | + * Add convenient transaction runner (mongoc_client_session_with_transaction), |
| 11 | + which accepts a callback and performs appropriate retry logic. |
| 12 | + * Add a new transaction option to specify maximum time to wait for a commit, |
| 13 | + mongoc_transaction_opts_set_max_commit_time_ms. |
| 14 | + * Add URI option "retryReads=true" safely and automatically retries certain |
| 15 | + read operations if the server is a MongoDB 3.6+. |
| 16 | + * Poll SRV records to mongos servers periodically. |
| 17 | + * Keep connections alive after a primary stepdown detected. |
| 18 | + * Standardizes URI options supported across all spec-compliant MongoDB drivers. |
6 | 19 | * "retryWrites" URI option now defaults to true (requires crypto for session
|
7 | 20 | support).
|
| 21 | + * Send any aggregate with $out or $merge stage to a primary. |
| 22 | + * Add the ability to specify an aggregate pipeline as an update document. |
| 23 | + * Add a database aggregate helper, mongoc_database_aggregate. |
| 24 | + * Add option for change streams, "startAfter". |
| 25 | + * Add mongoc_change_stream_get_resume_token, which returns the resume token |
| 26 | + which should be used to resume a change stream. |
| 27 | + * Add support for zstd compression. |
8 | 28 |
|
9 | 29 | Bug fixes:
|
10 |
| - * mongoc_change_stream_next now reports an error if the resume token (_id) is |
11 |
| - not a document. Previously, an error was only reported if the field was |
12 |
| - missing. |
13 |
| - * mongoc_collection_update with MONGOC_UPDATE_MULTI_UPDATE, |
14 |
| - mongoc_collection_remove, and mongoc_collection_delete would fail if |
15 |
| - retryWrites was enabled. |
| 30 | + * Correctly report an error in mongoc_change_stream_next if the resume token |
| 31 | + (_id) is not a document. Previously, an error was only reported if the |
| 32 | + field was missing. |
| 33 | + * Fix mongoc_collection_update with MONGOC_UPDATE_MULTI_UPDATE, |
| 34 | + mongoc_collection_remove, and mongoc_collection_delete when retryWrites |
| 35 | + was enabled. They would fail previously. |
| 36 | + * Command options are now correctly taken into account when batching bulk |
| 37 | + writes for OP_QUERY. It was possible to exceed the maximum document size |
| 38 | + before. |
| 39 | + * Fix a crash if a multi-batch bulk write with OP_MSG errored on a batch. |
| 40 | + |
| 41 | +Thanks to everyone who contributed to the development of this release. |
| 42 | + |
| 43 | + * Kevin Albertson |
| 44 | + * Jeremy Mikola |
| 45 | + * Haris Sheikh |
| 46 | + * Samantha Ritter |
| 47 | + * Isabel Atkinson |
| 48 | + * Sara Golemon |
| 49 | + * Clyde Bazile |
| 50 | + * Roberto C. Sánchez |
| 51 | + * Lior Kaplan |
| 52 | + * pasniak |
| 53 | + |
| 54 | +Peace, |
| 55 | + |
| 56 | + Kevin Albertson |
16 | 57 |
|
17 | 58 |
|
18 | 59 | mongo-c-driver 1.14.1
|
|
0 commit comments