Release 1.1.X features compatibility for MongoDB 2.2 as well as a slew of bug fixes and improvements.
- Added Mongos connection type with a fallback list for mongos proxies, supports ha (on by default) and will attempt to reconnect to failed proxies. - Documents can now have a toBSON method that lets the user control the serialization behavior for documents being saved. - Gridstore instance object now works as a readstream or writestream (thanks to code from Aaron heckmann ( https://github.com/aheckmann/gridfs-stream)). - Fix gridfs readstream (Issue #607, https://github.com/tedeh). - Added disableDriverBSONSizeCheck property to Server.js for people who wish to push the inserts to the limit (Issue #609). - Fixed bug where collection.group keyf given as Code is processed as a regular object (Issue #608, https://github.com/rrusso2007). - Case mismatch between driver's ObjectID and mongo's ObjectId, allow both (Issue #618). - Cleanup map reduce (Issue #614, https://github.com/aheckmann). - Add proper error handling to gridfs (Issue #615, https://github.com/aheckmann). - Ensure cursor is using same connection for all operations to avoid potential jump of servers when using replicasets. - Date identification handled correctly in bson js parser when running in vm context. - Documentation updates - GridStore filename not set on read (Issue #621) - Optimizations on the C++ bson parser to fix a potential memory leak and avoid non-needed calls - Added support for awaitdata for tailable cursors (Issue #624) - Implementing read preference setting at collection and cursor level * collection.find().setReadPreference(Server.SECONDARY_PREFERRED) * db.collection("some", {readPreference:Server.SECONDARY}) - Replicaset now returns when the master is discovered on db.open and lets the rest of the connections happen asynchronous. - ReplSet/ReplSetServers emits "fullsetup" when all servers have been connected to - Prevent callback from executing more than once in getMore function (Issue #631, https://github.com/shankar0306) - Corrupt bson messages now errors out to all callbacks and closes up connections correctly, Issue #634 - Replica set member status update when primary changes bug (Issue #635, https://github.com/alinsilvian) - Fixed auth to work better when multiple connections are involved. - Default connection pool size increased to 5 connections. - Fixes for the ReadStream class to work properly with 0.8 of Node.js - Added explain function support to aggregation helper - Added socketTimeoutMS and connectTimeoutMS to socket options for repl_set.js and server.js - Fixed addUser to correctly handle changes in 2.2 for getLastError authentication required - Added index to gridstore chunks on file_id (Issue #649, https://github.com/jacobbubu) - Fixed Always emit db events (Issue #657) - Close event not correctly resets DB openCalled variable to allow reconnect - Added open event on connection established for replicaset, mongos and server - Much faster BSON C++ parser thanks to Lucasfilm Singapore. - Refactoring of replicaset connection logic to simplify the code. - Add `options.connectArbiter` to decide connect arbiters or not (Issue #675) - Minor optimization for findAndModify when not using j,w or fsync for safe -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
