Skip to content

Releases: mongodb/mongo-ruby-driver

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).

MongoDB Ruby Driver v1.1.3

09 Jul 17:22
Compare
Choose a tag to compare
  • Distributed reads for replica set secondaries. See /docs/examples/replica_set.rb and
    http://api.mongodb.org/ruby/current/file.REPLICA_SETS.html for details.
  • Note: when connecting to a replica set, you must use Connection#multi.
  • Cursor#count takes optional skip and limit
  • Collection#ensure_index for caching index creation calls
  • Collection#update and Collection#remove now return error object when using safe mode
  • Important fix for int/long serialization on bug introduced in 1.0.9
  • Numerous tweaks and bug fixes.