Releases
1.4.0
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.
You can’t perform that action at this time.