|
1 |
| -mongo-c-driver 1.1.11 |
2 |
| -===================== |
| 1 | +mongo-c-driver 1.2.0-beta |
| 2 | +========================= |
| 3 | + |
| 4 | +It is my pleasure to announce to you the first beta release of the MongoDB C |
| 5 | +driver 1.2.0. |
| 6 | + |
| 7 | +This release is a stable release with additive ABI changes and bugfixes. |
| 8 | +It is compatible with MongoDB version 2.4 and later. |
| 9 | + |
| 10 | +Version 1.2.0 rewrites mongoc_client_t's internals to match two important new |
| 11 | +specs for MongoDB drivers: the Server Discovery And Monitoring Spec and the |
| 12 | +Server Selection Spec. The rewritten client has many advantages: |
| 13 | + |
| 14 | + * All replica set members or mongoses are discovered and periodically |
| 15 | + checked in parallel. The driver's performance is dramatically better and |
| 16 | + more predictable with multi-server deployments, or with a flaky network, |
| 17 | + or when some servers are slow or down. |
| 18 | + * Clients from the same mongoc_client_pool_t share a background thread that |
| 19 | + discovers and monitors all servers in parallel. |
| 20 | + * Unnecessary round trips for server checks and pings are eliminated. |
| 21 | + * Behavior is documented in the specs, and consistent with other drivers, even |
| 22 | + in complex or unusual scenarios. |
| 23 | + * The URI's "replicaSet" option is enforced: the driver now refuses to connect |
| 24 | + to a server unless it is a member of a replica set with the right setName. |
| 25 | + * Many race conditions related to changing deployment conditions are fixed. |
| 26 | + |
| 27 | +To conform to the new specs, the client now accepts these options in the MongoDB |
| 28 | +URI; see the mongoc_uri_t documentation for details: |
| 29 | + |
| 30 | + * heartbeatFrequencyMS |
| 31 | + * serverSelectionTimeoutMS |
| 32 | + * serverSelectionTryOnce |
| 33 | + * socketCheckIntervalMS |
| 34 | + |
| 35 | +Other features: |
| 36 | + |
| 37 | + * All timeouts that can be configured in the URI now interpret 0 to mean "use |
| 38 | + the default value for this timeout". |
| 39 | + * The client's read preference can be configured in the URI with the new |
| 40 | + options "readPreference" and "readPreferenceTags", see the mongoc_uri_t |
| 41 | + documentation. |
| 42 | + * The new mongoc_uri_get_read_prefs_t function retrieves both the read mode |
| 43 | + and tags from a mongoc_uri_t. |
| 44 | + * New accessors mongoc_gridfs_file_get_id, mongoc_client_get_default_database, |
| 45 | + and mongoc_bulk_operation_get_write_concern. |
| 46 | + * Debug tracing can be controlled at runtime with mongoc_log_trace_enable and |
| 47 | + mongoc_log_trace_disable. |
| 48 | + |
| 49 | +Notable bugs fixed: |
| 50 | + |
| 51 | + * "wtimeoutms" was ignored for write concerns besides "majority". |
| 52 | + * Bulk write operations might fail in mixed-version sharded clusters with |
| 53 | + some pre-2.6 mongos servers. |
| 54 | + * Normal operations were logged during startup and could not be silenced. |
| 55 | + * A variety of bugs and incorrect results in mongoc_bulk_operation_execute. |
| 56 | + * Numerous compiler warnings and build failures on various platforms. |
| 57 | + * Copious refinements to the documentation. |
| 58 | + |
| 59 | +Thanks to everyone who contributed to this version of libmongoc. |
| 60 | + |
| 61 | + * A. Jesse Jiryu Davis |
| 62 | + * Sujan Dutta |
| 63 | + * Jason Carey |
| 64 | + * Hannes Magnusson |
| 65 | + * Jeremy Mikola |
| 66 | + * Derick Rethans |
| 67 | + * Samantha Ritter |
| 68 | + * Yuchen Xie |
| 69 | + * Lloyd Zhou |
| 70 | + |
| 71 | +Peace, |
| 72 | + |
| 73 | + A. Jesse Jiryu Davis |
3 | 74 |
|
4 | 75 | mongo-c-driver 1.1.10
|
5 | 76 | =====================
|
|
0 commit comments