Skip to content

Commit 8bee745

Browse files
committed
1.5.0 Release
Signed-off-by: A. Jesse Jiryu Davis <[email protected]>
1 parent b6e1e31 commit 8bee745

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

NEWS

+18-6
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ It is my pleasure to announce the beta release of mongo-c-driver 1.5.0.
66
New features and bug fixes:
77
* MongoDB 3.4 Support
88
* New URI and read preference option, "maxStalenessSeconds"
9-
* MongoDB Handshake
10-
* writeConcern and readConcern enhancements
9+
* Set MongoDB client handshake data with mongoc_client_set_appname or
10+
mongoc_client_pool_set_appname.
11+
* writeConcern and readConcern enhancements.
1112
* Collation allows users to specify language-specific rules for string
1213
comparison when sorting documents. See the code examples for
1314
mongoc_client_read_command_with_opts, mongoc_collection_count_with_opts,
@@ -23,6 +24,10 @@ New features and bug fixes:
2324
* Additional features for Application Performance Monitoring:
2425
* mongoc_topology_description_has_writable_server
2526
* mongoc_topology_description_has_readable_server
27+
* Notifications when a server or topology description changes, and when a
28+
monitoring heartbeat begins and succeeds or fails.
29+
* mongoc_client_set_apm_callbacks can be used repeatedly to change or clear
30+
the list of monitoring callbacks.
2631
* New functions accept flexible options as a BSON document:
2732
* mongoc_collection_find_with_opts
2833
* mongoc_client_read_command_with_opts
@@ -36,6 +41,11 @@ New features and bug fixes:
3641
* mongoc_collection_read_write_command_with_opts
3742
* mongoc_gridfs_find_with_opts
3843
* mongoc_gridfs_find_one_with_opts
44+
* mongoc_bulk_operation_remove_one_with_opts
45+
* mongoc_bulk_operation_remove_many_with_opts
46+
* mongoc_bulk_operation_replace_one_with_opts
47+
* mongoc_bulk_operation_update_one_with_opts
48+
* mongoc_bulk_operation_update_many_with_opts
3949
* mongoc_collection_find is now deprecated in favor of
4050
mongoc_collection_find_with_opts.
4151
* New helper function to include read concern in one of the above function's
@@ -73,7 +83,10 @@ New features and bug fixes:
7383
* Bugfix: "PossiblePrimary"-type replicas could be selected for reads
7484
* Bugfixes: The random number generator used to select servers is now properly
7585
seeded, and secondary queries are now properly distributed according to
76-
localThresholdMS, not just to the lowest-latency secondary.
86+
localThresholdMS, not just to the lowest-latency secondary. The latency
87+
estimate is reset after a connection error.
88+
* Fix crashes in mongoc_topology_invalidate_server and
89+
mongoc_client_kill_cursor.
7790
* mongoc_collection_insert, mongoc_collection_update, mongoc_collection_remove
7891
consistently use domain MONGOC_ERROR_BSON, code MONGOC_ERROR_BSON_INVALID
7992
if passed oversized BSON, and MONGOC_ERROR_COLLECTION for other errors.
@@ -83,9 +96,8 @@ New features and bug fixes:
8396
it logs and aborts instead of silently continuing, then failing to connect.
8497
* The driver now updates its view of the whole topology with information from
8598
each new connection handshake.
86-
* mongoc_client_set_apm_callbacks can be used repeatedly to change or clear
87-
the list of monitoring callbacks.
88-
* Improved error reporting when the driver fails to reach the server.
99+
* Improved error reporting when the driver fails to reach the server, and
100+
correctly distinguish "connection error" and "connection timeout".
89101

90102
Deprecations:
91103
* mongoc_collection_find is deprecated for mongoc_collection_find_with_opts.

VERSION_CURRENT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.0-dev
1+
1.5.0

VERSION_RELEASED

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0
1+
1.5.0

0 commit comments

Comments
 (0)