ciphers
and ecdhCurve
(bd4fb53)cursor
key is always present in aggregation commandsCursor.prototype.hasNext
now propagates errors when using callbacknoCursorTimeout
as an option to find()
reconnectFailed
event from Server topologypromoteLongs
from MongoClient's connect
appname
to list of valid option names_id
(Issue #1517, https://github.com/vkarpov15).find()
.disconnected
event?aliases
option, always results in null
value in GridFS files (Issue #1152, https://github.com/vsivsi)options.connectArbiter
to decide connect arbiters or not (Issue #675)find({a:1}, {read:'primary'}).toArray(function(err, items) {});
Reworked bson.js parser to get rid off Array.shift() due to it allocating new memory for each call. Speedup varies between 5-15% depending on doc
Reworked bson.cc to throw error when trying to serialize js bson types
Added MinKey, MaxKey and Double support for JS and C++ parser
Reworked socket handling code to emit errors on unparsable messages
Added logger option for Db class, lets you pass in a function in the shape { log : function(message, object) {}, error : function(errorMessage, errorObject) {}, debug : function(debugMessage, object) {}, }
Usage is new Db(new Server(..), {logger: loggerInstance})