Skip to content

Commit baa9687

Browse files
committed
1.15.0 Release
Signed-off-by: Kevin Albertson <[email protected]>
1 parent f103e06 commit baa9687

File tree

3 files changed

+58
-9
lines changed

3 files changed

+58
-9
lines changed

NEWS

+50-9
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,59 @@
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.
36

47
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.
619
* "retryWrites" URI option now defaults to true (requires crypto for session
720
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.
828

929
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
1657

1758

1859
mongo-c-driver 1.14.1

src/libbson/NEWS

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
libbson 1.15.0
2+
==============
3+
4+
No change since 1.14.1; released to keep pace with libmongoc's version.
5+
6+
-- Kevin Albertson
7+
8+
19
Next Release
210
============
311

src/libmongoc/doc/libbson-objects.inv

118 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)