2.11.0
This feature release of the Ruby driver for MongoDB adds two major features:
- A background thread in server connection pools to eagerly establish connections up to the minimum pool size
- SRV polling for sharded deployments
This release of the Ruby driver bumps the minimum required Ruby version to 2.3, as well as minimum supported JRuby version to 9.2.
The following notable changes have been made since 2.11.0.rc0:
- RUBY-1955 Log connection ids in command logger
- RUBY-1986 Retry reads in legacy mode on OperationFailure errors that modern mode retries on
- RUBY-1980 Ensure cursor IDs are always encoded as 64-bit integers in BSON for getMore
- RUBY-1988 Ensure cursor IDs are always encoded as 64-bit integers in BSON when using killCursors
- RUBY-1944 Fix background threads such as the Monitor unable to restart once stopped
- RUBY-1344 Accept write concern option in user management helpers
- RUBY-1777 Ensure that getMore right after a resume is retried in changestreams
- RUBY-1913 Fix X509 authentication not working
- RUBY-1945 Prohibit distinct(nil) call as server 4.4 rejects it