- #50 Fixed connection issues when connection is disconnected mid call. (Jonathan Hyman)
-
mongoid/mongoid#2251 Allow
continue_on_error
option to be provided to inserts. -
mongoid/mongoid#2210 Added
Session#disconnect
which will disconnect all nodes in the cluster from their respective database servers. Useful for cases where a large number of database connections are being created on separate threads and need to be explicitly closed after their work is completed. -
#33 Added
Session#databases
andSession#database_names
as a convenience for getting all database information for the server.session = Moped::Session.new([ "localhost:27017" ]) session.database_names #=> [ "moped_test" ] session.databases #=> { "databases" => [{ "name" => "moped_test" }]}
-
#45 When providing database names with invalid characters in them, Moped will now raise an
InvalidDatabaseName
error. -
#41
ObjectId.from_time
now only includes the timestamp, no machine or process information.
-
#44 Fixed order of parameters for loading timestamps. (Ralf Kistner)
-
#40 Fix explain to return correct number of scanned documents and time.
- Queries now can be duped/cloned and be initialized properly.
- #37 Use
TCP_NODELAY
for socket options. (Nicolas Viennot)
- mongoid/mongoid#2175 Fixed sorting by object ids.
- #29 Fixed endian directives order. Moped will now work properly on all architectures. This removes support for MRI 1.9.2. (Miguel Herranz)
-
mongoid/mongoid#2175 Fixed sorting by object ids.
-
#28
BSON::Binary
andBSON::ObjectId
now have readableto_s
andinspect
methods. (Ara Howard)