Skip to content

Commit

Permalink
Updated mongodb-core to 2.1.5 to include bson 1.0.4 and bson-ext 1.0.…
Browse files Browse the repository at this point in the history
…4 due to Buffer.from being broken in early node 4.x versions. Updated driver to V2.2.20
  • Loading branch information
christkv committed Jan 11, 2017
1 parent 825214a commit 25b2fca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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": {
Expand Down

0 comments on commit 25b2fca

Please sign in to comment.