V1.2.0 released

152 views
Skip to first unread message

christkv

unread,
Nov 27, 2012, 11:22:26 AM11/27/12
to node-mong...@googlegroups.com
Introducing MongoClient and the new way to connect with the driver


1.2.0 2012-11-27
----------------
- Honor connectTimeoutMS option for replicasets (Issue #750, https://github.com/aheckmann)
- Fix ping strategy regression (Issue #738, https://github.com/aheckmann)
- Small cleanup of code (Issue #753, https://github.com/sokra/node-mongodb-native)
- Fixed index declaration using objects/arrays from other contexts (Issue #755, https://github.com/sokra/node-mongodb-native)
- Intermittent (and rare) null callback exception when using ReplicaSets (Issue #752)
- Force correct setting of read_secondary based on the read preference (Issue #741)
- If using read preferences with secondaries queries will not fail if primary is down (Issue #744)
- noOpen connection for Db.connect removed as not compatible with autodetection of Mongo type
- Mongos connection with auth not working (Issue #737)
- Use the connect method directly from the require. require('mongodb')("mongodb://localhost:27017/db")
- new MongoClient introduced as the point of connecting to MongoDB's instead of the Db
  - open/close/db/connect methods implemented
- Implemented common URL connection format using MongoClient.connect allowing for simialar interface across all drivers.
- Fixed a bug with aggregation helper not properly accepting readPreference

Harald Hanche-Olsen

unread,
Nov 27, 2012, 12:03:22 PM11/27/12
to node-mong...@googlegroups.com
Is it just me, or did something major happen to the documentation at http://mongodb.github.com/node-mongodb-native/ in connection with this upgrade? There used to be entries for Db(), and Collection(), and Cursor(), and good stuff like that, and now it is either gone, or put in a place where I can't find it. I have been using 1.1.11 for just about a week, and find it a bit disconcerting to have the documentation disappear like that. Or is there a place one can find the docs for older versions?

Christian Kvalheim

unread,
Nov 27, 2012, 12:09:19 PM11/27/12
to node-mong...@googlegroups.com
Oh that's my fault fixing it now :)

christkv

unread,
Nov 27, 2012, 12:13:25 PM11/27/12
to node-mong...@googlegroups.com
Updated and pushed

Harald Hanche-Olsen

unread,
Nov 27, 2012, 12:24:28 PM11/27/12
to node-mong...@googlegroups.com
On Tuesday, November 27, 2012 6:13:25 PM UTC+1, christkv wrote:
Updated and pushed

Ah, much better. Thanks for the quick response.

- Harald
Reply all
Reply to author
Forward
0 new messages