1.4.40 01-08-2016
-----------------
- fix strategy sort compare function (Issue #1323, https://github.com/stormslowly).

1.4.39 07-23-2015
-----------------
- Allow use of passive replicaset servers for secondary reads.

1.4.38 05-19-2015
-----------------
- NODE-463 db.close immediately executes its callback.

1.4.37 2015-05-08
-----------------
- NODE-461 Tripping on error "no chunks found for file, possibly corrupt" when there is no error.

1.4.36 2015-05-07
-----------------
- NODE-459 Fixed issue working around breaking changes in crypto lib in 0.10.x vs 0.8.x of node, that broke scram for mongodb 3.0.x.

1.4.35 2015-03-21
-----------------
- NODE-389 error out if server does not return a reply or error in connection handler.

1.4.34 2015-03-09
-----------------
- NODE-382 Added better SCRAM error handling

1.4.33 2015-03-03
-----------------
- Backported NODE-376 Fixes issue - Unordered batch incorrectly tracks batch size when switching batch types (Issue #1261, https://github.com/meirgottlieb)

1.4.32 2015-02-27
-----------------
- NODE-369 Unhandled exception while connecting
- Keep numeric error code in query errors (Issue #1259, https://github.com/glasser)

1.4.31 2015-02-16
-----------------
- Upgraded kerberos version to 0.0.9 to support node.js 0.12.0 and io.js 1.10.0
- Emit close on parseError on db for single servers (Issue #1248, https://github.com/vkarpov15)
- listCollection now returns filtered result correctly removing db name for 2.6 or earlier servers.

1.4.30 2015-02-02
-----------------
- NODE-360 Aggregation cursor and command correctly passing down the maxTimeMS property.

1.4.29 2014-01-21
-----------------
- Updated kerberos to support io.js/node with nan 1.5.1.
- NODE-352 Fixed race-condition for createCollection.

1.4.28 2014-01-06
-----------------
- NODE-293 fixed issue for insert on fullResult return due to getRawResponse called incorrectly.

1.4.27 2014-01-05
-----------------
- Changed how the ServerCapabilities is populated in the driver to ensure it's always correctly added on High availability checking on ReplSet and Mongos.

1.4.26 2014-12-22
-----------------
- Minor fixes to listCollections to ensure correct querying of a collection when using a string.

1.4.25 2014-12-18
-----------------
- listCollections filters out index namespaces on < 2.8 correctly
- Use returned ns for getmores when doing command cursors.

1.4.24 2014-12-18
-----------------
- Refactored listCollections to return cursor to support 2.8 features correctly.
- Added new listIndexes helper that returns a cursor to support 2.8 features.
- Bumped kerberos to 0.0.7 to correctly compile across win/linus/osx

1.4.23 2014-12-05
-----------------
- Fixed minor replicaset reauthentication issues for High availability process.
- Added support for authdb as option for Db.prototype.logout to logout against another db than the current one when authSource has been used.
- Backported 2.0.X test suite to minimize maintenance between 1.4.x branch and 2.0.x.
- Fixed bug on 2.4.x servers when using aggregation cursor and close happens on server connection
- Updated kerberos library to 0.0.6

1.4.22 2014-11-20
-----------------
- NODE-184, Correct message size validation

1.4.20 2014-11-14
-----------------
- Removed collectionsInfo method as it's incompatible with 2.8 or higher storage engines due to using namespace collections and a cursor.
- Fix LearnBoost/mongoose#2313: don't let user accidentally clobber geoNear params (Issue #1223, https://github.com/vkarpov15)

1.4.19 2014-10-09
-----------------
- Use findOne instead of find followed by nextObject (Issue #1216, https://github.com/sergeyksv).
- NODE-294, slowness in aggregation cursor caused do to batchSize being set to 1 by mistake.
- NODE-293, executing an insert with fullResult true throw TypeError: undefined is not a function.

1.4.18 2014-10-03
-----------------
- Cleanup of code removing handleCallback instances
- Throw error on missing callback on createIndex in strict mode (Issue #1214, https://github.com/marneborn)

1.4.17 2014-09-27
-----------------
- NODE-286 collection/query.js references undefined MongoError
- NODE-287 "MongoError is not defined" in options command

1.4.16 2014-09-26
-----------------
- Fix minor issue due to MongoError usage in options and listCollections

1.4.15 2014-09-25
-----------------
- Fix issues with collection.options

1.4.14 2014-09-24
-----------------
- Args leak to global namespace fix.

1.4.13 2014-09-24
-----------------
- NODE-283 Collection rename now always returns a new Collection object
- Added listCollections helper to Db.prototype
- Scram default authentication mechanism on 2.8 or higher if none is specified

1.4.12 2014-09-17
-----------------
- NODE-270 Added better handling of errors on cursor timeouts when calling getMore
- NODE-272 Uncaught Exception at connectionPool.on("message")
- Fixed regression where createIndex sometimes reported index as already existing in non-strict mode due to parallel execution of create commands.

1.4.11 2014-09-16
-----------------
- Hardened result handling in command, insert, update, remove for issue where no result is returned.
- NODE-267 undefined variable util used in unordered.js instead of utils.
- Added support for 2.8 listIndexes and listCollections
- Added support for 2.8 SCRAM-SHA-1 mechanism

1.4.10 2014-09-04
-----------------
- Fixed BSON and Kerberos compilation issues
- Bumped BSON to ~0.2 always installing latest BSON 0.2.x series
- Fixed Kerberos and bumped to 0.0.4

1.4.9 2014-08-26
----------------
- Check _bsonType for Binary (Issue #1202, https://github.com/mchapman)
- Remove duplicate Cursor constructor (Issue #1201, https://github.com/KenPowers)
- Added missing parameter in the documentation (Issue #1199, https://github.com/wpjunior)
- Documented third parameter on the update callback(Issue #1196, https://github.com/gabmontes)
- NODE-240 Operations on SSL connection hang on node 0.11.x
- NODE-235 writeResult is not being passed on when error occurs in insert
- NODE-229 Allow count to work with query hints
- NODE-233 collection.save() does not support fullResult
- NODE-244 Should parseError also emit a `disconnected` event?
- NODE-246 Cursors are inefficiently constructed and consequently cannot be promisified.
- NODE-248 Crash with X509 auth
- NODE-252 Uncaught Exception in Base.__executeAllServerSpecificErrorCallbacks
- Bumped BSON parser to 0.2.12

1.4.8 2014-08-01
----------------
- NODE-205 correctly emit authenticate event
- NODE-210 ensure no undefined connection error when checking server state
- NODE-212 correctly inherit socketTimeoutMS from replicaset when HA process adds new servers or reconnects to existing ones
- NODE-220 don't throw error if ensureIndex errors out in Gridstore
- Updated bson to 0.2.11 to ensure correct toBSON behavior when returning non object in nested classes
- Fixed test running filters
- Wrap debug log in a call to format (Issue #1187, https://github.com/andyroyle)
- False option values should not trigger w:1 (Issue #1186, https://github.com/jsdevel)
- Fix aggregatestream.close(Issue #1194, https://github.com/jonathanong)
- Fixed parsing issue for w:0 in url parser when in connection string
- Modified collection.geoNear to support a geoJSON point or legacy coordinate pair (Issue #1198, https://github.com/mmacmillan)

1.4.7 2014-06-18
----------------
- Make callbacks to be executed in right domain when server comes back up (Issue #1184, https://github.com/anton-kotenko)
- Fix issue where currentOp query against mongos would fail due to mongos passing through $readPreference field to mongod (CS-X)

1.4.6 2014-06-12
----------------
- Added better support for MongoClient IP6 parsing (Issue #1181, https://github.com/micovery)
- Remove options check on index creation (Issue #1179, Issue #1183, https://github.com/jdesboeufs, https://github.com/rubenvereecken)
- Added missing type check before calling optional callback function (Issue #1180)

1.4.5 2014-05-21
----------------
- Added fullResult flag to insert/update/remove which will pass raw result document back. Document contents will vary depending on the server version the driver is talking to. No attempt is made to coerce a joint response.
- Fix to avoid MongoClient.connect hanging during auth when secondaries building indexes pre 2.6.
- return the destination stream in GridStore.pipe (Issue #1176, https://github.com/iamdoron)

1.4.4 2014-05-13
----------------
- Bumped BSON version to use the NaN 1.0 package, fixed strict comparison issue for ObjectID
- Removed leaking global variable (Issue #1174, https://github.com/dainis)
- MongoClient respects connectTimeoutMS for initial discovery process (NODE-185)
- Fix bug with return messages larger than 16MB but smaller than max BSON Message Size (NODE-184)

1.4.3 2014-05-01
----------------
- Clone options for commands to avoid polluting original options passed from Mongoose (Issue #1171, https://github.com/vkarpov15)
- Made geoNear and geoHaystackSearch only clean out allowed options from command generation (Issue #1167)
- Fixed typo for allowDiskUse (Issue #1168, https://github.com/joaofranca)
- A 'mapReduce' function changed 'function' to instance '\<Object\>' of 'Code' class (Issue #1165, https://github.com/exabugs)
- Made findAndModify set sort only when explicitly set (Issue #1163, https://github.com/sars)
- Rewriting a gridStore file by id should use a new filename if provided (Issue #1169, https://github.com/vsivsi)

1.4.2 2014-04-15
----------------
- Fix for inheritance of readPreferences from MongoClient NODE-168/NODE-169
- Merged in fix for ping strategy to avoid hitting non-pinged servers (Issue #1161, https://github.com/vaseker)
- Merged in fix for correct debug output for connection messages (Issue #1158, https://github.com/vaseker)
- Fixed global variable leak (Issue #1160, https://github.com/vaseker)

1.4.1 2014-04-09
----------------
- Correctly emit joined event when primary change
- Add _id to documents correctly when using bulk operations

1.4.0 2014-04-03
----------------
- All node exceptions will no longer be caught if on('error') is defined
- Added X509 auth support
- Fix for MongoClient connection timeout issue (NODE-97)
- Pass through error messages from parseError instead of just text (Issue #1125)
- Close db connection on error (Issue #1128, https://github.com/benighted)
- Fixed documentation generation
- Added aggregation cursor for 2.6 and emulated cursor for pre 2.6 (uses stream2)
- New Bulk API implementation using write commands for 2.6 and down converts for pre 2.6
- Insert/Update/Remove using new write commands when available
- Added support for new roles based API's in 2.6 for addUser/removeUser
- Added bufferMaxEntries to start failing if the buffer hits the specified number of entries
- Upgraded BSON parser to version 0.2.7 to work with < 0.11.10 C++ API changes
- Support for OP_LOG_REPLAY flag (NODE-94)
- Fixes for SSL HA ping and discovery.
- Uses createIndexes if available for ensureIndex/createIndex
- Added parallelCollectionScan method to collection returning CommandCursor instances for cursors
- Made CommandCursor behave as Readable stream.
- Only Db honors readPreference settings, removed Server.js legacy readPreference settings due to user confusion.
- Reconnect event emitted by ReplSet/Mongos/Server after reconnect and before replaying of buffered operations.
- GridFS buildMongoObject returns error on illegal md5 (NODE-157, https://github.com/iantocristian)
- Default GridFS chunk size changed to (255 * 1024) bytes to optimize for collections defaulting to power of 2 sizes on 2.6.
- Refactored commands to all go through command function ensuring consistent command execution.
- Fixed issues where readPreferences where not correctly passed to mongos.
- Catch error == null and make err detection more prominent (NODE-130)
- Allow reads from arbiter for single server connection (NODE-117)
- Handle error coming back with no documents (NODE-130)
- Correctly use close parameter in Gridstore.write() (NODE-125)
- Throw an error on a bulk find with no selector (NODE-129, https://github.com/vkarpov15)
- Use a shallow copy of options in find() (NODE-124, https://github.com/vkarpov15)
- Fix statistical strategy (NODE-158, https://github.com/vkarpov15)
- GridFS off-by-one bug in lastChunkNumber() causes uncaught throw and data loss (Issue #1154, https://github.com/vsivsi)
- GridStore drops passed `aliases` option, always results in `null` value in GridFS files (Issue #1152, https://github.com/vsivsi)
- Remove superfluous connect object copying in index.js (Issue #1145, https://github.com/thomseddon)
- Do not return false when the connection buffer is still empty (Issue #1143, https://github.com/eknkc)
- Check ReadPreference object on ReplSet.canRead (Issue #1142, https://github.com/eknkc)
- Fix unpack error on _executeQueryCommand (Issue #1141, https://github.com/eknkc)
- Close db on failed connect so node can exit (Issue #1128, https://github.com/benighted)
- Fix global leak with _write_concern (Issue #1126, https://github.com/shanejonas)

1.3.19 2013-08-21
-----------------
- Correctly rethrowing errors after change from event emission to callbacks, compatibility with 0.10.X domains without breaking 0.8.X support.
- Small fix to return the entire findAndModify result as the third parameter (Issue #1068)
- No removal of "close" event handlers on server reconnect, emits "reconnect" event when reconnection happens. Reconnect Only applies for single server connections as of now as semantics for ReplSet and Mongos is not clear (Issue #1056)

1.3.18 2013-08-10
-----------------
- Fixed issue when throwing exceptions in MongoClient.connect/Db.open (Issue #1057)
- Fixed an issue where _events is not cleaned up correctly causing a slow steady memory leak.

1.3.17 2013-08-07
-----------------
- Ignore return commands that have no registered callback
- Made collection.count not use the db.command function
- Fix throw exception on ping command (Issue #1055)

1.3.16 2013-08-02
-----------------
- Fixes connection issue where lots of connections would happen if a server is in recovery mode during connection (Issue #1050, NODE-50, NODE-51)
- Bug in unlink mulit filename (Issue #1054)

1.3.15 2013-08-01
-----------------
- Memory leak issue due to node Issue #4390 where _events[id] is set to undefined instead of deleted leading to leaks in the Event Emitter over time

1.3.14 2013-08-01
-----------------
- Fixed issue with checkKeys where it would error on X.X

1.3.13 2013-07-31
-----------------
- Added override for checkKeys on insert/update (Warning will expose you to injection attacks) (Issue #1046)
- BSON size checking now done pre serialization (Issue #1037)
- Added isConnected returns false when no connection Pool exists (Issue #1043)
- Unified command handling to ensure same handling (Issue #1041, #1042)
- Correctly emit "open" and "fullsetup" across all Db's associated with Mongos, ReplSet or Server (Issue #1040)
- Correctly handles bug in authentication when attempting to connect to a recovering node in a replicaset.
- Correctly remove recovering servers from available servers in replicaset. Piggybacks on the ping command.
- Removed findAndModify chaining to be compliant with behavior in other official drivers and to fix a known mongos issue.
- Fixed issue with Kerberos authentication on Windows for re-authentication.
- Fixed Mongos failover behavior to correctly throw out old servers.
- Ensure stored queries/write ops are executed correctly after connection timeout
- Added promoteLongs option for to allow for overriding the promotion of Longs to Numbers and return the actual Long.

1.3.12 2013-07-19
-----------------
- Fixed issue where timeouts sometimes would behave wrongly (Issue #1032)
- Fixed bug with callback third parameter on some commands (Issue #1033)
- Fixed possible issue where killcursor command might leave hanging functions
- Fixed issue where Mongos was not correctly removing dead servers from the pool of eligable servers
- Throw error if dbName or collection name contains null character (at command level and at collection level)
- Updated bson parser to 0.2.1 with security fix and non-promotion of Long values to javascript Numbers (once a long always a long)

1.3.11 2013-07-04
-----------------
- Fixed errors on geoNear and geoSearch (Issue #1024, https://github.com/ebensing)
- Add driver version to export (Issue #1021, https://github.com/aheckmann)
- Add text to readpreference obedient commands (Issue #1019)
- Drivers should check the query failure bit even on getmore response (Issue #1018)
- Map reduce has incorrect expectations of 'inline' value for 'out' option (Issue #1016, https://github.com/rcotter)
- Support SASL PLAIN authentication (Issue #1009)
- Ability to use different Service Name on the driver for Kerberos Authentication (Issue #1008)
- Remove unnecessary octal literal to allow the code to run in strict mode (Issue #1005, https://github.com/jamesallardice)
- Proper handling of recovering nodes (when they go into recovery and when they return from recovery, Issue #1027)

1.3.10 2013-06-17
-----------------
- Guard against possible undefined in server::canCheckoutWriter (Issue #992, https://github.com/willyaranda)
- Fixed some duplicate test names (Issue #993, https://github.com/kawanet)
- Introduced write and read concerns for GridFS (Issue #996)
- Fixed commands not correctly respecting Collection level read preference (Issue #995, #999)
- Fixed issue with pool size on replicaset connections (Issue #1000)
- Execute all query commands on master switch (Issue #1002, https://github.com/fogaztuc)

1.3.9 2013-06-05
----------------
- Fixed memory leak when findAndModify errors out on w>1 and chained callbacks not properly cleaned up.

1.3.8 2013-05-31
----------------
- Fixed issue with socket death on windows where it emits error event instead of close event (Issue #987)
- Emit authenticate event on db after authenticate method has finished on db instance (Issue #984)
- Allows creation of MongoClient and do new MongoClient().connect(..). Emits open event when connection correct allowing for apps to react on event.

1.3.7 2013-05-29
----------------
- After reconnect, tailable getMores go on inconsistent connections (Issue #981, #982, https://github.com/glasser)
- Updated Bson to 0.1.9 to fix ARM support (Issue #985)

1.3.6 2013-05-21
----------------
- Fixed issue where single server reconnect attempt would throw due to missing options variable (Issue #979)
- Fixed issue where difference in ismaster server name and seed list caused connections issues, (Issue #976)

1.3.5 2013-05-14
----------------
- Fixed issue where HA for replicaset would pick the same broken connection when attempting to ping the replicaset causing the replicaset to never recover.

1.3.4 2013-05-14
----------------
- Fixed bug where options not correctly passed in for uri parser (Issue #973, https://github.com/supershabam)
- Fixed bug when passing a named index hint (Issue #974)

1.3.3 2013-05-09
----------------
- Fixed auto-reconnect issue with single server instance.

1.3.2 2013-05-08
----------------
- Fixes for an issue where replicaset would be pronounced dead when high priority primary caused double elections.

1.3.1 2013-05-06
----------------
- Fix for replicaset consisting of primary/secondary/arbiter with priority applied failing to reconnect properly
- Applied auth before server instance is set as connected when single server connection
- Throw error if array of documents passed to save method

1.3.0 2013-04-25
----------------
- Whole High availability handling for Replicaset, Server and Mongos connections refactored to ensure better handling of failover cases.
- Fixed issue where findAndModify would not correctly skip issuing of chained getLastError (Issue #941)
- Fixed throw error issue on errors with findAndModify during write out operation (Issue #939, https://github.com/autopulated)
- Gridstore.prototype.writeFile now returns gridstore object correctly (Issue #938)
- Kerberos support is now an optional module that allows for use of GSSAPI authentication using MongoDB Subscriber edition
- Fixed issue where cursor.toArray could blow the stack on node 0.10.X (#950)

1.2.14 2013-03-14
-----------------
- Refactored test suite to speed up running of replicaset tests
- Fix of async error handling when error happens in callback (Issue #909, https://github.com/medikoo)
- Corrected a slaveOk setting issue (Issue #906, #905)
- Fixed HA issue where ping's would not go to correct server on HA server connection failure.
- Uses setImmediate if on 0.10 otherwise nextTick for cursor stream
- Fixed race condition in Cursor stream (NODE-31)
- Fixed issues related to node 0.10 and process.nextTick now correctly using setImmediate where needed on node 0.10
- Added support for maxMessageSizeBytes if available (DRIVERS-1)
- Added support for authSource (2.4) to MongoClient URL and db.authenticate method (DRIVER-69/NODE-34)
- Fixed issue in GridStore seek and GridStore read to correctly work on multiple seeks (Issue #895)

1.2.13 2013-02-22
-----------------
- Allow strategy 'none' for repliaset if no strategy wanted (will default to round robin selection of servers on a set readPreference)
- Fixed missing MongoErrors on some cursor methods (Issue #882)
- Correctly returning a null for the db instance on MongoClient.connect when auth fails (Issue #890)
- Added dropTarget option support for renameCollection/rename (Issue #891, help from https://github.com/jbottigliero)
- Fixed issue where connection using MongoClient.connect would fail if first server did not exist (Issue #885)

1.2.12 2013-02-13
-----------------
- Added limit/skip options to Collection.count (Issue #870)
- Added applySkipLimit option to Cursor.count (Issue #870)
- Enabled ping strategy as default for Replicaset if none specified (Issue #876)
- Should correctly pick nearest server for SECONDARY/SECONDARY_PREFERRED/NEAREST (Issue #878)

1.2.11 2013-01-29
-----------------
- Added fixes for handling type 2 binary due to PHP driver (Issue #864)
- Moved callBackStore to Base class to have single unified store (Issue #866)
- Ping strategy now reuses sockets unless they are closed by the server to avoid overhead

1.2.10 2013-01-25
-----------------
- Merged in SSL support for 2.4 supporting certificate validation and presenting certificates to the server.
- Only open a new HA socket when previous one dead (Issue #859, #857)
- Minor fixes

1.2.9 2013-01-15
----------------
- Fixed bug in SSL support for MongoClient/Db.connect when discovering servers (Issue #849)
- Connection string with no db specified should default to admin db (Issue #848)
- Support port passed as string to Server class (Issue #844)
- Removed noOpen support for MongoClient/Db.connect as auto discovery of servers for Mongod/Mongos makes it not possible (Issue #842)
- Included toError wrapper code moved to utils.js file (Issue #839, #840)
- Rewrote cursor handling to avoid process.nextTick using trampoline instead to avoid stack overflow, speedup about 40%

1.2.8 2013-01-07
----------------
- Accept function in a Map Reduce scope object not only a function string (Issue #826, https://github.com/aheckmann)
- Typo in db.authenticate caused a check (for provided connection) to return false, causing a connection AND onAll=true to be passed into __executeQueryCommand downstream (Issue #831, https://github.com/m4tty)
- Allow gridfs objects to use non ObjectID ids (Issue #825, https://github.com/nailgun)
- Removed the double wrap, by not passing an Error object to the wrap function (Issue #832, https://github.com/m4tty)
- Fix connection leak (gh-827) for HA replicaset health checks (Issue #833, https://github.com/aheckmann)
- Modified findOne to use nextObject instead of toArray avoiding a nextTick operation (Issue #836)
- Fixes for cursor stream to avoid multiple getmore issues when one in progress (Issue #818)
- Fixes .open replaying all backed up commands correctly if called after operations performed, (Issue #829 and #823)

1.2.7 2012-12-23
----------------
- Rolled back batches as they hang in certain situations
- Fixes for NODE-25, keep reading from secondaries when primary goes down

1.2.6 2012-12-21
----------------
- domain sockets shouldn't require a port arg (Issue #815, https://github.com/aheckmann)
- Cannot read property 'info' of null (Issue #809, https://github.com/thesmart)
- Cursor.each should work in batches (Issue #804, https://github.com/Swatinem)
- Cursor readPreference bug for non-supported read preferences (Issue #817)

1.2.5 2012-12-12
----------------
- Fixed ssl regression, added more test coverage (Issue #800)
- Added better error reporting to the Db.connect if no valid serverConfig setup found (Issue #798)

1.2.4 2012-12-11
----------------
- Fix to ensure authentication is correctly applied across all secondaries when using MongoClient.

1.2.3 2012-12-10
----------------
- Fix for new replicaset members correctly authenticating when being added (Issue #791, https://github.com/m4tty)
- Fixed seek issue in gridstore when using stream (Issue #790)

1.2.2 2012-12-03
----------------
- Fix for journal write concern not correctly being passed under some circumstances.
- Fixed correct behavior and re-auth for servers that get stepped down (Issue #779).

1.2.1 2012-11-30
----------------
- Fix for double callback on insert with w:0 specified (Issue #783)
- Small cleanup of urlparser.

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

1.1.11 2012-10-10
-----------------
- Removed strict mode and introduced normal handling of safe at DB level.

1.1.10 2012-10-08
-----------------
- fix Admin.serverStatus (Issue #723, https://github.com/Contra)
- logging on connection open/close(Issue #721, https://github.com/asiletto)
- more fixes for windows bson install (Issue #724)

1.1.9 2012-10-05
----------------
- Updated bson to 0.1.5 to fix build problem on sunos/windows.

1.1.8 2012-10-01
----------------
- Fixed db.eval to correctly handle system.js global javascript functions (Issue #709)
- Cleanup of non-closing connections (Issue #706)
- More cleanup of connections under replicaset (Issue #707, https://github.com/elbert3)
- Set keepalive on as default, override if not needed
- Cleanup of jsbon install to correctly build without install.js script (https://github.com/shtylman)
- Added domain socket support new Server("/tmp/mongodb.sock") style

1.1.7 2012-09-10
----------------
- Protect against starting PingStrategy being called more than once (Issue #694, https://github.com/aheckmann)
- Make PingStrategy interval configurable (was 1 second, relaxed to 5) (Issue #693, https://github.com/aheckmann)
- Made PingStrategy api more consistant, callback to start/stop methods are optional (Issue #693, https://github.com/aheckmann)
- Proper stopping of strategy on replicaset stop
- Throw error when gridstore file is not found in read mode (Issue #702, https://github.com/jbrumwell)
- Cursor stream resume now using nextTick to avoid duplicated records (Issue #696)

1.1.6 2012-09-01
----------------
- Fix for readPreference NEAREST for replicasets (Issue #693, https://github.com/aheckmann)
- Emit end correctly on stream cursor (Issue #692, https://github.com/Raynos)

1.1.5 2012-08-29
----------------
- Fix for eval on replicaset Issue #684
- Use helpful error msg when native parser not compiled (Issue #685, https://github.com/aheckmann)
- Arbiter connect hotfix (Issue #681, https://github.com/fengmk2)
- Upgraded bson parser to 0.1.2 using gyp, deprecated support for node 0.4.X
- Added name parameter to createIndex/ensureIndex to be able to override index names larger than 128 bytes
- Added exhaust option for find for feature completion (not recommended for normal use)
- Added tailableRetryInterval to find for tailable cursors to allow to control getMore retry time interval
- Fixes for read preferences when using MongoS to correctly handle no read preference set when iterating over a cursor (Issue #686)

1.1.4 2012-08-12
----------------
- 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

1.0.2 2012-05-15
----------------
- Reconnect functionality for replicaset fix for mongodb 2.0.5

1.0.1 2012-05-12
----------------
- Passing back getLastError object as 3rd parameter on findAndModify command.
- Fixed a bunch of performance regressions in objectId and cursor.
- Fixed issue #600 allowing for single document delete to be passed in remove command.

1.0.0 2012-04-25
----------------
- Fixes to handling of failover on server error
- Only emits error messages if there are error listeners to avoid uncaught events
- Server.isConnected using the server state variable not the connection pool state

0.9.9.8 2012-04-12
------------------
- _id=0 is being turned into an ObjectID (Issue #551)
- fix for error in GridStore write method (Issue #559)
- Fix for reading a GridStore from arbitrary, non-chunk aligned offsets, added test (Issue #563, https://github.com/subroutine)
- Modified limitRequest to allow negative limits to pass through to Mongo, added test (Issue #561)
- Corrupt GridFS files when chunkSize < fileSize, fixed concurrency issue (Issue #555)
- Handle dead tailable cursors (Issue #568, https://github.com/aheckmann)
- Connection pools handles closing themselves down and clearing the state
- Check bson size of documents against maxBsonSize and throw client error instead of server error, (Issue #553)
- Returning update status document at the end of the callback for updates, (Issue #569)
- Refactor use of Arguments object to gain performance (Issue #574, https://github.com/AaronAsAChimp)

0.9.9.7 2012-03-16
------------------
- Stats not returned from map reduce with inline results (Issue #542)
- Re-enable testing of whether or not the callback is called in the multi-chunk seek, fix small GridStore bug (Issue #543, https://github.com/pgebheim)
- Streaming large files from GridFS causes truncation (Issue #540)
- Make callback type checks agnostic to V8 context boundaries (Issue #545)
- Correctly throw error if an attempt is made to execute an insert/update/remove/createIndex/ensureIndex with safe enabled and no callback
- Db.open throws if the application attemps to call open again without calling close first

0.9.9.6 2012-03-12
------------------
- BSON parser is externalized in it's own repository, currently using git master
- Fixes for Replicaset connectivity issue (Issue #537)
- Fixed issues with node 0.4.X vs 0.6.X (Issue #534)
- Removed SimpleEmitter and replaced with standard EventEmitter
- GridStore.seek fails to change chunks and call callback when in read mode (Issue #532)

0.9.9.5 2012-03-07
------------------
- Merged in replSetGetStatus helper to admin class (Issue #515, https://github.com/mojodna)
- Merged in serverStatus helper to admin class (Issue #516, https://github.com/mojodna)
- Fixed memory leak in C++ bson parser (Issue #526)
- Fix empty MongoError "message" property (Issue #530, https://github.com/aheckmann)
- Cannot save files with the same file name to GridFS (Issue #531)

0.9.9.4 2012-02-26
------------------
* bugfix for findAndModify: Error: corrupt bson message < 5 bytes long (Issue #519)

0.9.9.3 2012-02-23
------------------
* document: save callback arguments are both undefined, (Issue #518)
* Native BSON parser install error with npm, (Issue #517)

0.9.9.2 2012-02-17
------------------
* Improved detection of Buffers using Buffer.isBuffer instead of instanceof.
* Added wrap error around db.dropDatabase to catch all errors (Issue #512)
* Added aggregate helper to collection, only for MongoDB >= 2.1

0.9.9.1 2012-02-15
------------------
* Better handling of safe when using some commands such as createIndex, ensureIndex, addUser, removeUser, createCollection.
* Mapreduce now throws error if out parameter is not specified.

0.9.9 2012-02-13
----------------
* Added createFromTime method on ObjectID to allow for queries against _id more easily using the timestamp.
* Db.close(true) now makes connection unusable as it's been force closed by app.
* Fixed mapReduce and group functions to correctly send slaveOk on queries.
* Fixes for find method to correctly work with find(query, fields, callback) (Issue #506).
* A fix for connection error handling when using the SSL on MongoDB.

0.9.8-7 2012-02-06
------------------
* Simplified findOne to use the find command instead of the custom code (Issue #498).
* BSON JS parser not also checks for _bsonType variable in case BSON object is in weird scope (Issue #495).

0.9.8-6 2012-02-04
------------------
* Removed the check for replicaset change code as it will never work with node.js.

0.9.8-5 2012-02-02
------------------
* Added geoNear command to Collection.
* Added geoHaystackSearch command to Collection.
* Added indexes command to collection to retrieve the indexes on a Collection.
* Added stats command to collection to retrieve the statistics on a Collection.
* Added listDatabases command to admin object to allow retrieval of all available dbs.
* Changed createCreateIndexCommand to work better with options.
* Fixed dereference method on Db class to correctly dereference Db reference objects.
* Moved connect object onto Db class(Db.connect) as well as keeping backward compatibility.
* Removed writeBuffer method from gridstore, write handles switching automatically now.
* Changed readBuffer to read on Gridstore, Gridstore now only supports Binary Buffers no Strings anymore.
* Moved Long class to bson directory.

0.9.8-4 2012-01-28
------------------
* Added reIndex command to collection and db level.
* Added support for $returnKey, $maxScan, $min, $max, $showDiskLoc, $comment to cursor and find/findOne methods.
* Added dropDups and v option to createIndex and ensureIndex.
* Added isCapped method to Collection.
* Added indexExists method to Collection.
* Added findAndRemove method to Collection.
* Fixed bug for replicaset connection when no active servers in the set.
* Fixed bug for replicaset connections when errors occur during connection.
* Merged in patch for BSON Number handling from Lee Salzman, did some small fixes and added test coverage.

0.9.8-3 2012-01-21
------------------
* Workaround for issue with Object.defineProperty (Issue #484)
* ObjectID generation with date does not set rest of fields to zero (Issue #482)

0.9.8-2 2012-01-20
------------------
* Fixed a missing this in the ReplSetServers constructor.

0.9.8-1 2012-01-17
------------------
* FindAndModify bug fix for duplicate errors (Issue #481)

0.9.8 2012-01-17
----------------
* Replicasets now correctly adjusts to live changes in the replicaset configuration on the servers, reconnecting correctly.
  - Set the interval for checking for changes setting the replicaSetCheckInterval property when creating the ReplSetServers instance or on db.serverConfig.replicaSetCheckInterval. (default 1000 miliseconds)
* Fixes formattedOrderClause in collection.js to accept a plain hash as a parameter (Issue #469) https://github.com/tedeh
* Removed duplicate code for formattedOrderClause and moved to utils module
* Pass in poolSize for ReplSetServers to set default poolSize for new replicaset members
* Bug fix for BSON JS deserializer. Isolating the eval functions in separate functions to avoid V8 deoptimizations
* Correct handling of illegal BSON messages during deserialization
* Fixed Infinite loop when reading GridFs file with no chunks (Issue #471)
* Correctly update existing user password when using addUser (Issue #470)

0.9.7.3-5 2012-01-04
--------------------
* Fix for RegExp serialization for 0.4.X where typeof /regexp/ == 'function' vs in 0.6.X typeof /regexp/ == 'object'
* Don't allow keepAlive and setNoDelay for 0.4.X as it throws errors

0.9.7.3-4 2012-01-04
--------------------
* Chased down potential memory leak on findAndModify, Issue #467 (node.js removeAllListeners leaves the key in the _events object, node.js bug on eventlistener?, leads to extremely slow memory leak on listener object)
* Sanity checks for GridFS performance with benchmark added

0.9.7.3-3 2012-01-04
--------------------
* Bug fixes for performance issues going form 0.9.6.X to 0.9.7.X on linux
* BSON bug fixes for performance

0.9.7.3-2 2012-01-02
--------------------
* Fixed up documentation to reflect the preferred way of instantiating bson types
* GC bug fix for JS bson parser to avoid stop-and-go GC collection

0.9.7.3-1 2012-01-02
--------------------
* Fix to make db.bson_serializer and db.bson_deserializer work as it did previously

0.9.7.3 2011-12-30
--------------------
* Moved BSON_BINARY_SUBTYPE_DEFAULT from BSON object to Binary object and removed the BSON_BINARY_ prefixes
* Removed Native BSON types, C++ parser uses JS types (faster due to cost of crossing the JS-C++ barrier for each call)
* Added build fix for 0.4.X branch of Node.js where GetOwnPropertyNames is not defined in v8
* Fix for wire protocol parser for corner situation where the message is larger than the maximum socket buffer in node.js (Issue #464, #461, #447)
* Connection pool status set to connected on poolReady, isConnected returns false on anything but connected status (Issue #455)

0.9.7.2-5 2011-12-22
--------------------
* Brand spanking new Streaming Cursor support Issue #458 (https://github.com/christkv/node-mongodb-native/pull/458) thanks to Mr Aaron Heckmann

0.9.7.2-4 2011-12-21
--------------------
* Refactoring of callback code to work around performance regression on linux
* Fixed group function to correctly use the command mode as default

0.9.7.2-3 2011-12-18
--------------------
* Fixed error handling for findAndModify while still working for mongodb 1.8.6 (Issue #450).
* Allow for force send query to primary, pass option (read:'primary') on find command.
	* ``find({a:1}, {read:'primary'}).toArray(function(err, items) {});``

0.9.7.2-2 2011-12-16
--------------------
* Fixes infinite streamRecords QueryFailure fix when using Mongos (Issue #442)

0.9.7.2-1 2011-12-16
--------------------
* ~10% perf improvement for ObjectId#toHexString (Issue #448, https://github.com/aheckmann)
* Only using process.nextTick on errors emitted on callbacks not on all parsing, reduces number of ticks in the driver
* Changed parsing off bson messages to use process.nextTick to do bson parsing in batches if the message is over 10K as to yield more time to the event look increasing concurrency on big mongoreply messages with multiple documents

0.9.7.2 2011-12-15
------------------
* Added SSL support for future version of mongodb (VERY VERY EXPERIMENTAL)
	* pass in the ssl:true option to the server or replicaset server config to enable
	* a bug either in mongodb or node.js does not allow for more than 1 connection pr db instance (poolSize:1).
* Added getTimestamp() method to objectID that returns a date object
* Added finalize function to collection.group
	* function group (keys, condition, initial, reduce, finalize, command, callback)
* Reaper no longer using setTimeout to handle reaping. Triggering is done in the general flow leading to predictable behavior.
	* reaperInterval, set interval for reaper (default 10000 miliseconds)
	* reaperTimeout, set timeout for calls (default 30000 miliseconds)
	* reaper, enable/disable reaper (default false)
* Work around for issues with findAndModify during high concurrency load, insure that the behavior is the same across the 1.8.X branch and 2.X branch of MongoDb
* Reworked multiple db's sharing same connection pool to behave correctly on error, timeout and close
* EnsureIndex command can be executed without a callback (Issue #438)
* Eval function no accepts options including nolock (Issue #432)
	* eval(code, parameters, options, callback) (where options = {nolock:true})

0.9.7.1-4 2011-11-27
--------------------
* Replaced install.sh with install.js to install correctly on all supported os's

0.9.7.1-3 2011-11-27
--------------------
* Fixes incorrect scope for ensureIndex error wrapping (Issue #419) https://github.com/ritch

0.9.7.1-2 2011-11-27
--------------------
* Set statistical selection strategy as default for secondary choice.

0.9.7.1-1 2011-11-27
--------------------
* Better handling of single server reconnect (fixes some bugs)
* Better test coverage of single server failure
* Correct handling of callbacks on replicaset servers when firewall dropping packets, correct reconnect

0.9.7.1 2011-11-24
------------------
* Better handling of dead server for single server instances
* FindOne and find treats selector == null as {}, Issue #403
* Possible to pass in a strategy for the replicaset to pick secondary reader node
	* parameter strategy
		* ping (default), pings the servers and picks the one with the lowest ping time
		* statistical, measures each request and pick the one with the lowest mean and std deviation
* Set replicaset read preference replicaset.setReadPreference()
	* Server.READ_PRIMARY (use primary server for reads)
	* Server.READ_SECONDARY (from a secondary server (uses the strategy set))
	* tags, {object of tags}
* Added replay of commands issued to a closed connection when the connection is re-established
* Fix isConnected and close on unopened connections. Issue #409, fix by (https://github.com/sethml)
* Moved reaper to db.open instead of constructor (Issue #406)
* Allows passing through of socket connection settings to Server or ReplSetServer under the option socketOptions
  	* timeout = set seconds before connection times out (default 0)
	* noDelay = Disables the Nagle algorithm (default true)
	* keepAlive = Set if keepAlive is used (default 0, which means no keepAlive, set higher than 0 for keepAlive)
	* encoding = ['ascii', 'utf8', or 'base64'] (default null)
* Fixes for handling of errors during shutdown off a socket connection
* Correctly applies socket options including timeout
* Cleanup of test management code to close connections correctly
* Handle parser errors better, closing down the connection and emitting an error
* Correctly emit errors from server.js only wrapping errors that are strings

0.9.7 2011-11-10
----------------
* Added priority setting to replicaset manager
* Added correct handling of passive servers in replicaset
* Reworked socket code for simpler clearer handling
* Correct handling of connections in test helpers
* Added control of retries on failure
    * control with parameters retryMiliSeconds and numberOfRetries when creating a db instance
* Added reaper that will timeout and cleanup queries that never return
	* control with parameters reaperInterval and reaperTimeout when creating a db instance
* Refactored test helper classes for replicaset tests
* Allows raw (no bson parser mode for insert, update, remove, find and findOne)
	* control raw mode passing in option raw:true on the commands
	* will return buffers with the binary bson objects
* Fixed memory leak in cursor.toArray
* Fixed bug in command creation for mongodb server with wrong scope of call
* Added db(dbName) method to db.js to allow for reuse of connections against other databases
* Serialization of functions in an object is off by default, override with parameter
	* serializeFunctions [true/false] on db level, collection level or individual insert/update/findAndModify
* Added Long.fromString to c++ class and fixed minor bug in the code (Test case for $gt operator on 64-bit integers, Issue #394)
* FindOne and find now share same code execution and will work in the same manner, Issue #399
* Fix for tailable cursors, Issue #384
* Fix for Cursor rewind broken, Issue #389
* Allow Gridstore.exist to query using regexp, Issue #387, fix by (https://github.com/kaij)
* Updated documentation on https://github.com/christkv/node-mongodb-native
* Fixed toJSON methods across all objects for BSON, Binary return Base64 Encoded data

0.9.6-22 2011-10-15
-------------------
* Fixed bug in js bson parser that could cause wrong object size on serialization, Issue #370
* Fixed bug in findAndModify that did not throw error on replicaset timeout, Issue #373

0.9.6-21 2011-10-05
-------------------
* Reworked reconnect code to work correctly
* Handling errors in different parts of the code to ensure that it does not lock the connection
* Consistent error handling for Object.createFromHexString for JS and C++

0.9.6-20 2011-10-04
-------------------
* 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})

0.9.6-19 2011-09-29
-------------------
* Fixing compatibility issues between C++ bson parser and js parser
* Added Symbol support to C++ parser
* Fixed socket handling bug for seldom misaligned message from mongodb
* Correctly handles serialization of functions using the C++ bson parser

0.9.6-18 2011-09-22
-------------------
* Fixed bug in waitForConnection that would lead to 100% cpu usage, Issue #352

0.9.6-17 2011-09-21
-------------------
* Fixed broken exception test causing bamboo to hang
* Handling correctly command+lastError when both return results as in findAndModify, Issue #351

0.9.6-16 2011-09-14
-------------------
* Fixing a bunch of issues with compatibility with MongoDB 2.0.X branch. Some fairly big changes in behavior from 1.8.X to 2.0.X on the server.
* Error Connection MongoDB V2.0.0 with Auth=true, Issue #348

0.9.6-15 2011-09-09
-------------------
* Fixed issue where pools would not be correctly cleaned up after an error, Issue #345
* Fixed authentication issue with secondary servers in Replicaset, Issue #334
* Duplicate replica-set servers when omitting port, Issue #341
* Fixing findAndModify to correctly work with Replicasets ensuring proper error handling, Issue #336
* Merged in code from (https://github.com/aheckmann) that checks for global variable leaks

0.9.6-14 2011-09-05
-------------------
* Minor fixes for error handling in cursor streaming (https://github.com/sethml), Issue #332
* Minor doc fixes
* Some more cursor sort tests added, Issue #333
* Fixes to work with 0.5.X branch
* Fix Db not removing reconnect listener from serverConfig, (https://github.com/sbrekken), Issue #337
* Removed node_events.h includes (https://github.com/jannehietamaki), Issue #339
* Implement correct safe/strict mode for findAndModify.

0.9.6-13 2011-08-24
-------------------
* Db names correctly error checked for illegal characters

0.9.6-12 2011-08-24
-------------------
* Nasty bug in GridFS if you changed the default chunk size
* Fixed error handling bug in findOne

0.9.6-11 2011-08-23
-------------------
* Timeout option not correctly making it to the cursor, Issue #320, Fix from (https://github.com/year2013)
* Fixes for memory leaks when using buffers and C++ parser
* Fixes to make tests pass on 0.5.X
* Cleanup of bson.js to remove duplicated code paths
* Fix for errors occurring in ensureIndex, Issue #326
* Removing require.paths to make tests work with the 0.5.X branch

0.9.6-10 2011-08-11
-------------------
* Specific type Double for capped collections (https://github.com/mbostock), Issue #312
* Decorating Errors with all all object info from Mongo (https://github.com/laurie71), Issue #308
* Implementing fixes for mongodb 1.9.1 and higher to make tests pass
* Admin validateCollection now takes an options argument for you to pass in full option
* Implemented keepGoing parameter for mongodb 1.9.1 or higher, Issue #310
* Added test for read_secondary count issue, merged in fix from (https://github.com/year2013), Issue #317

0.9.6-9
-------
* Bug fix for bson parsing the key '':'' correctly without crashing

0.9.6-8
-------
* Changed to using node.js crypto library MD5 digest
* Connect method support documented mongodb: syntax by (https://github.com/sethml)
* Support Symbol type for BSON, serializes to it's own type Symbol, Issue #302, #288
* Code object without scope serializing to correct BSON type
* Lot's of fixes to avoid double callbacks (https://github.com/aheckmann) Issue #304
* Long deserializes as Number for values in the range -2^53 to 2^53, Issue #305 (https://github.com/sethml)
* Fixed C++ parser to reflect JS parser handling of long deserialization
* Bson small optimizations

0.9.6-7 2011-07-13
------------------
* JS Bson deserialization bug #287

0.9.6-6 2011-07-12
------------------
* FindAndModify not returning error message as other methods Issue #277
* Added test coverage for $push, $pushAll and $inc atomic operations
* Correct Error handling for non 12/24 bit ids on Pure JS ObjectID class Issue #276
* Fixed terrible deserialization bug in js bson code #285
* Fix by andrewjstone to avoid throwing errors when this.primary not defined

0.9.6-5 2011-07-06
------------------
* Rewritten BSON js parser now faster than the C parser on my core2duo laptop
* Added option full to indexInformation to get all index info Issue #265
* Passing in ObjectID for new Gridstore works correctly Issue #272

0.9.6-4 2011-07-01
------------------
* Added test and bug fix for insert/update/remove without callback supplied

0.9.6-3 2011-07-01
------------------
* Added simple grid class called Grid with put, get, delete methods
* Fixed writeBuffer/readBuffer methods on GridStore so they work correctly
* Automatic handling of buffers when using write method on GridStore
* GridStore now accepts a ObjectID instead of file name for write and read methods
* GridStore.list accepts id option to return of file ids instead of filenames
* GridStore close method returns document for the file allowing user to reference _id field

0.9.6-2 2011-06-30
------------------
* Fixes for reconnect logic for server object (replays auth correctly)
* More testcases for auth
* Fixes in error handling for replicaset
* Fixed bug with safe parameter that would fail to execute safe when passing w or wtimeout
* Fixed slaveOk bug for findOne method
* Implemented auth support for replicaset and test cases
* Fixed error when not passing in rs_name

0.9.6-1 2011-06-25
------------------
* Fixes for test to run properly using c++ bson parser
* Fixes for dbref in native parser (correctly handles ref without db component)
* Connection fixes for replicasets to avoid runtime conditions in cygwin (https://github.com/vincentcr)
* Fixes for timestamp in js bson parser (distinct timestamp type now)

0.9.6 2011-06-21
----------------
* Worked around npm version handling bug
* Race condition fix for cygwin (https://github.com/vincentcr)

0.9.5-1 2011-06-21
------------------
* Extracted Timestamp as separate class for bson js parser to avoid instanceof problems
* Fixed driver strict mode issue

0.9.5 2011-06-20
----------------
* Replicaset support (failover and reading from secondary servers)
* Removed ServerPair and ServerCluster
* Added connection pool functionality
* Fixed serious bug in C++ bson parser where bytes > 127 would generate 2 byte sequences
* Allows for forcing the server to assign ObjectID's using the option {forceServerObjectId: true}

0.6.8
-----
* Removed multiple message concept from bson
* Changed db.open(db) to be db.open(err, db)

0.1 2010-01-30
--------------
* Initial release support of driver using native node.js interface
* Supports gridfs specification
* Supports admin functionality
