Releases: mongodb/mongo-ruby-driver
Releases · mongodb/mongo-ruby-driver
MongoDB Ruby Driver v1.6.2
- Implements socket timeouts via non-blocking IO instead of Timeout module
which should greatly increase performance in highly threaded applications - Added ability to authentication via secondary if primary node unavailable
- Replica set refresh interval now enforces a lower bound of 60 seconds
- Added documentation for dropping indexes, collections, databases
- Test output cleanup (...)s unless failure occurs
MongoDB Ruby Driver v1.6.1
- Added thread affinity to Mongo::Pool
- Added deploy tasks
- Added Travis CI support (Cyril Mougel)
- Logging warning message is only displayed for level :debug
MongoDB Ruby Driver v1.6.0
- Added Gemfile
- ReplSetConnection seed format is now array of 'host:port' strings
- Added read preference :secondary_only
- Added ability to log duration -- enabled by default (Cyril Mougel)
- Added read_only option for DB#add_user (Ariel Salomon)
- Added :collect_on_error option for bulk-insert (Masahiro Nakagawa)
- Added and updated URI options (now case insensitive)
- Bug fix for ReplSet refresh attempting to close a closed socket
- Default op_timeout for ReplSetConnection is now disabled (was 30 seconds)
- Support db output option for map reduce (John Ewart)
- Support for keeping limited versions of files using GridFS (VvanGemert)
MongoDB Ruby Driver v1.5.2
- Lots of fixes for replica set connection edge cases.
- Set default op_timeout and connect_timeout to 30 seconds.
- Support GeoHaystack indexing.
MongoDB Ruby Driver v1.5.1
Release due to corrupted gemspec. This was a bug having
to do with rubygems. Apparently, gems must still be
built with Ruby 1.8.
MongoDB Ruby Driver v1.5.0
This releases fixes bugs introduced in 1.4.0 and 1.4.1 that
were introduced as a result of adding replica set refresh modes.
- Removed :async refresh mode.
- Disabled auto refresh mode by default. If you want the driver
to automatically check the state of the replica set, you must
use :sync mode. Note that replica set refresh is designed only to
account for benign changes to the replica set (adding and removing
nodes that don't affect current connections). - Fixed bug with commands being sent to secondary nodes. The next
release will allow you to specify where commands can be sent. - Support :j safe mode option.
- Fix :max_scan and :show_disk_loc Cursor options.
MongoDB Ruby Driver v1.5.0.rc0
-Fix bugs associated with replica set refresh.
MongoDB Ruby Driver v1.4.1
If you're using 1.4.0, this is a necessary upgrade.
- Simplified replica set refresh.
- Fix bugs associated with replica set refresh.
- Make cursor smart enough to continue functioning
even if a refresh is triggered.
MongoDB Ruby Driver v1.4.0
- Attempt to automatically refresh internal replica set state using ReplSetConnection#refresh.
- Two automated refresh modes: :async and :sync. Automated refresh can also be disabled.
- Choose secondary for reads based on ping time.
- Read preference API: specify whether queries should go to primary or secondary on a per-query basis.
- Pass :require_primary => false to ReplSetConnection to connect without requiring a primary node.
- Enable exhaust-mode queries with OP_QUERY_EXHAUST.
- Collection#count takes a query selector.
- Support continue_on_error flag for bulk inserts (use :continue_on_error => true)
- Add Cursor#add_option. Deprecate Cursor#query_opts and replace with Cursor#options.
- Initial SSL support (connect with :ssl => true)
- Update to latest Java driver for JRuby.
- Check max BSON size on a per-connection basis.
- Fixed two platform-specific BSON serialization issues.
- Lots of bug fixes and code cleanup.
MongoDB Ruby Driver v1.3.1
- Fix GridIO#gets infinite loop error (Ryan McGeary)
- Fix BSON::OrderedHash#reject! leaving keys with null values (rpt. by Ben Poweski)
- Minor semantic fix for OrderedHash#reject!
- Fix Mongo::DB to allow symbols in method traversing collection names (rpt. by Chris Griego)
- Support new server regex option "s" (dotall). This is folded in with \m in Ruby.
- Fix so that Cursor#close hits the right node when :read_secondary is enabled.
- Support maxScan, showDiskLoc, and returnKey cursor options.
- Make DB#validate_collection compatible with server v1.9.1.
- Fix so that GridIO#gets returns local md5 with md5 matches server md5 (Steve Tantra).
- Fix bug in BSON::OrderedHash that prevents YAML.load (Ian Warshak).
- Fix example from /examples.
- Ensure that we do not modify hash arguments by calling Hash#dup when appropriate.
- Ensure that JRuby deserializer preserves binary subtypes properly.
- Fix for streaming an empty file into GridFS (Daniël van de Burgt).
- Minor doc fixes.