Version 2.21.0 of the MongoDB Ruby Driver is now available.
Release Highlights
- RUBY-2523: Introducing “Client-Side Operations Timeout” (CSOT). Most timeout-related options have been deprecated and unified under a single, new
timeout_ms
option. Deprecated options includesocket_timeout
,wait_queue_timeout
,wtimeout
,max_time_ms
, andmax_commit_time_ms
. - RUBY-3503: Bump maxWireVersion for server 8.0 support.
- RUBY-3392 and RUBY-3457: Support for range v2 queries with queryable encryption, including a new
trim_factor
parameter. - RUBY-3463: Fixed connection issues in load-balanced topologies caused by cursors incorrectly releasing the connection between operations.
Documentation
Documentation is available at MongoDB.com.
Installation
You may install this version via RubyGems, with:
gem install --version 2.21.0 mongo