diff --git a/HISTORY.md b/HISTORY.md index 67c1db7f19..b92eadc51c 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +2.2.20 2017-01-11 +----------------- +- Updated mongodb-core to 2.1.5 to include bson 1.0.4 and bson-ext 1.0.4 due to Buffer.from being broken in early node 4.x versions. + 2.2.19 2017-01-03 ----------------- - Corrupted Npm release fix. diff --git a/docs/reference/content/reference/connecting/connection-settings.md b/docs/reference/content/reference/connecting/connection-settings.md index 693a793d85..8f00fd90a6 100644 --- a/docs/reference/content/reference/connecting/connection-settings.md +++ b/docs/reference/content/reference/connecting/connection-settings.md @@ -68,7 +68,7 @@ The table below shows all settings and what topology they affect. | **pkFactory** | Server, ReplicaSet, Mongos | object | null | A primary key factory object for generation of custom _id keys. | | **promiseLibrary** | Server, ReplicaSet, Mongos | object | null | A Promise library class the application wishes to use such as Bluebird, must be ES6 compatible. | | **readConcern** | Server, ReplicaSet, Mongos | object | null | Specify a read concern for the collection. (only MongoDB 3.2 or higher supported). | -| **maxStalenessSeconds | Replicaset | number | null | Specify a maxStalenessSeconds value for secondary reads, minimum is 90 seconds | +| **maxStalenessSeconds** | Replicaset | number | null | Specify a maxStalenessSeconds value for secondary reads, minimum is 90 seconds | # Ensure you connection string is valid for Replica Sets The connection string passed to the driver must use the fully qualified host names for the servers as set in the replicaset config. Given the following configuration settings for your replicaset. diff --git a/package.json b/package.json index 543d0f45d7..6afbb720b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mongodb", - "version": "2.2.19", + "version": "2.2.20", "description": "The official MongoDB driver for Node.js", "main": "index.js", "repository": { @@ -14,7 +14,7 @@ ], "dependencies": { "es6-promise": "3.2.1", - "mongodb-core": "2.1.4", + "mongodb-core": "2.1.5", "readable-stream": "2.1.5" }, "devDependencies": {