Skip to content

Commit d5b8c42

Browse files
committed
NEWS for 1.9.0
1 parent 3441c0d commit d5b8c42

File tree

1 file changed

+62
-7
lines changed

1 file changed

+62
-7
lines changed

NEWS

Lines changed: 62 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,67 @@
1-
Next Release
2-
============
1+
mongo-c-driver 1.9.0
2+
====================
33

4-
New features and bug fixes:
4+
It is my pleasure to announce mongo-c-driver 1.9.0. This version drops support
5+
for MongoDB 2.4 and adds support for MongoDB 3.6 features:
6+
7+
* New struct mongoc_change_stream_t to watch a collection for changes.
8+
* New struct mongoc_client_session_t represents a MongoDB 3.6 session,
9+
which supports causal consistency: you are guaranteed to read your writes
10+
and to perform monotonic reads, even when reading from secondaries or in
11+
a sharded cluster.
12+
* New functions that accept flexible options as a BSON document. These
13+
accept a "sessionId" option and any future options. In addition, the
14+
two new "update" functions accept the "arrayFilters" option that is new
15+
in MongoDB 3.6:
16+
mongoc_collection_insert_one
17+
mongoc_collection_insert_many
18+
mongoc_collection_update_one
19+
mongoc_collection_update_many
20+
mongoc_collection_replace_one
21+
mongoc_collection_delete_one
22+
mongoc_collection_delete_many
23+
mongoc_client_command_with_opts
24+
mongoc_database_command_with_opts
25+
mongoc_collection_command_with_opts
26+
mongoc_client_find_databases_with_opts
27+
mongoc_client_get_database_names_with_opts
28+
mongoc_collection_create_bulk_operation_with_opts
29+
mongoc_collection_find_indexes_with_opts
30+
mongoc_database_find_collections_with_opts
31+
mongoc_database_get_collection_names_with_opts
32+
* New URI option "retryWrites=true" safely and automatically retries certain
33+
write operations if the server is a MongoDB 3.6 replica set or sharded
34+
cluster.
35+
* Support for MongoDB OP_MSG wire protocol. New command monitoring functions
36+
expose OP_MSG document sequences for event listeners:
37+
mongoc_apm_command_started_get_document_sequences
38+
mongoc_apm_command_succeeded_get_document_sequences
39+
40+
Additional new features not specific to MongoDB 3.6:
41+
42+
* Support for mongodb+srv URIs to query DNS for SRV and TXT records that
43+
configure the connection to MongoDB.
44+
* Support LibreSSL with CMake build
45+
46+
Bug fixes:
47+
48+
* mongoc_bulk_operation_execute did not always initialize "reply".
49+
* Fix C99 pedantic warnings.
50+
51+
Thanks to everyone who contributed to the development of this release.
52+
53+
* A. Jesse Jiryu Davis
54+
* Hannes Magnusson
55+
* Kevin Albertson
56+
* Jeremy Mikola
57+
* Derick Rethans
58+
* Graham Whitted
59+
* Brian Moss
60+
* Alex Masterov
561

6-
* Support for MongoDB 3.6:
7-
* Support for mongodb+srv URIs.
8-
* New struct mongoc_client_session_t represents a MongoDB 3.6 session,
9-
which supports causal consistency.
62+
Peace,
63+
64+
A. Jesse Jiryu Davis
1065

1166

1267
mongo-c-driver 1.8.2

0 commit comments

Comments
 (0)