Skip to content

Releases: mongodb/mongo-ruby-driver

MongoDB Ruby Driver v1.3.1

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

MongoDB Ruby Driver v1.3.0

09 Jul 16:09
Compare
Choose a tag to compare
  • Add option to set timeouts on socket read calls using the
    Mongo::Connection :op_timeout option.
  • Add StringIO methods to GridIO objects
  • Support for BSON timestamp type with BSON::Timestamp
  • Change the BSON binary subtype from 2 to 0
  • Remove private method Connection#reset_conection
    and deprecate public method ReplSetConnection#reset_connection
  • ByteBuffer#== and OrderedHash#dup (Hongli Lai)
  • Better check for UTF8 validity in Ruby 1.9
  • Added previously removed Connection#host and Connection#port
  • Added transformers to allow Mongo::Cursor to allow instantiated objects (John Nunemaker)
  • Automated reconnection on fork
  • Added Cursor#next alias for Cursor#next_document
  • Audit tests after enabling warnings (Wojciech Piekutowski)
  • Various bug fixes thanks to Datanoise, Hongli Lai, and Mauro Pompilio

MongoDB Ruby Driver v1.2.4

09 Jul 16:10
Compare
Choose a tag to compare
  • Fix the exception message shown when there's an IOError (Mauro Pompilio)
  • Another update to map-reduce docs for v1.8. Note that if you use the new
    output option {:out => {:inline => true}}, then you must also specify
    :raw => true.

MongoDB Ruby Driver v1.2.3

09 Jul 16:10
Compare
Choose a tag to compare
  • Update docs for map-reduce command
  • Minor doc fix

MongoDB Ruby Driver v1.2.2

09 Jul 16:10
Compare
Choose a tag to compare
  • Improved replica set failover for edge case.
  • Fix for REE on OSX (Hongli Lai)

MongoDB Ruby Driver v1.2.1

09 Jul 16:11
Compare
Choose a tag to compare
  • Enable authentication with connection pooling.
  • Allow custom logging with Connection#instrument (CodeMonkeySteve)
  • Minor fixes and doc improvements.

MongoDB Ruby Driver v1.2.0

09 Jul 16:11
Compare
Choose a tag to compare
  • Some minor improvements. See commit history.

MongoDB Ruby Driver v1.2.rc0

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

MongoDB Ruby Driver v1.1.5

09 Jul 17:22
Compare
Choose a tag to compare
  • ReplSetConnection class. This must be used for replica set connections from
    now on. You can still use Connection.multi, but that method has been deprecated.
  • Automated replica set tests. rake test:rs
  • Check that request and response ids match.
  • Several bug fixes. See the commit history for details.

MongoDB Ruby Driver v1.1.4

09 Jul 17:22
Compare
Choose a tag to compare
  • Important connection failure fix.
  • ObjectId#to_s optimization (David Cuadrado).