Skip to content

Releases: mongodb/mongo-ruby-driver

MongoDB Ruby Driver v1.6.3

09 Jul 16:05
Compare
Choose a tag to compare
  • Performance measurements and enhancements (especially for C-extensions)
  • Bug fixes for checking strings with non UTF-8 forced or implied encodings
  • Added refresh support for multiple threaded instances of ReplSetConnection
  • Added ability to handle IRB::Abort Exception (ctrl-c) cleanly
  • Added support for large dates on 32-bit platforms (Ruby 1.9+)
  • Added #to_ary method for BSON::ObjectId (Farrel Lifson)
  • Added support for ENV['MONGODB_URI'](Seamus Abshere)
  • Various gridio bug fixes (John Bintz)
  • Various logging support improvements
  • Various documentation improvements (tutorials, sorting, links)

MongoDB Ruby Driver v1.6.2

09 Jul 16:05
Compare
Choose a tag to compare
  • 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

09 Jul 16:05
Compare
Choose a tag to compare
  • 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

09 Jul 16:05
Compare
Choose a tag to compare
  • 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

09 Jul 16:06
Compare
Choose a tag to compare
  • 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

09 Jul 16:07
Compare
Choose a tag to compare

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

09 Jul 16:07
Compare
Choose a tag to compare

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

09 Jul 17:42
Compare
Choose a tag to compare
Pre-release

-Fix bugs associated with replica set refresh.

MongoDB Ruby Driver v1.4.1

09 Jul 16:09
Compare
Choose a tag to compare

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

09 Jul 16:09
Compare
Choose a tag to compare
  • 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.