Skip to content

Commit 25b2fca

Browse files
committed
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. Updated driver to V2.2.20
1 parent 825214a commit 25b2fca

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

HISTORY.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2.2.20 2017-01-11
2+
-----------------
3+
- 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.
4+
15
2.2.19 2017-01-03
26
-----------------
37
- Corrupted Npm release fix.

docs/reference/content/reference/connecting/connection-settings.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The table below shows all settings and what topology they affect.
6868
| **pkFactory** | Server, ReplicaSet, Mongos | object | null | A primary key factory object for generation of custom _id keys. |
6969
| **promiseLibrary** | Server, ReplicaSet, Mongos | object | null | A Promise library class the application wishes to use such as Bluebird, must be ES6 compatible. |
7070
| **readConcern** | Server, ReplicaSet, Mongos | object | null | Specify a read concern for the collection. (only MongoDB 3.2 or higher supported). |
71-
| **maxStalenessSeconds | Replicaset | number | null | Specify a maxStalenessSeconds value for secondary reads, minimum is 90 seconds |
71+
| **maxStalenessSeconds** | Replicaset | number | null | Specify a maxStalenessSeconds value for secondary reads, minimum is 90 seconds |
7272
# Ensure you connection string is valid for Replica Sets
7373

7474
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.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mongodb",
3-
"version": "2.2.19",
3+
"version": "2.2.20",
44
"description": "The official MongoDB driver for Node.js",
55
"main": "index.js",
66
"repository": {
@@ -14,7 +14,7 @@
1414
],
1515
"dependencies": {
1616
"es6-promise": "3.2.1",
17-
"mongodb-core": "2.1.4",
17+
"mongodb-core": "2.1.5",
1818
"readable-stream": "2.1.5"
1919
},
2020
"devDependencies": {

0 commit comments

Comments
 (0)