Releases: mongodb/mongo-ruby-driver
2.11.2
This patch release in the 2.11 driver addresses an issue where the driver would stop monitoring the deployment when the nodes in the deployment changed their addresses. The full list of notable changes is below:
- RUBY-1601 Change server description server type method implementations to match SDAM spec
- RUBY-1888 Direct connection to RS primary with driver/node address mismatch follows SDAM specification regarding server type
- RUBY-1970 Allow authentication to all server types except arbiters
- RUBY-1889 Auth exceptions should include server information
2.11.1
This patch release in the 2.11 series fixes the following issue:
2.10.3
This patch release in 2.10 series fixes the following issues in the driver:
- 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-2004 Indicated attempt not always correct
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
2.11.0.rc0
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 improvements have been made:
- RUBY-1563 Poll SRV records for mongos discovery
- RUBY-1605 Establish working connections in a background thread
- RUBY-1874 Add "connectionError" as a valid "reason" for a ConnectionCheckOutFailedEvent when connection set up fails
- RUBY-1884 Always wait for background threads to finish when closing resources
- RUBY-1885 Remove wait argument on client/cluster/etc. close/disconnect methods
- RUBY-1905 Indicate which server operations were attempted on and attempt number in driver-surfaced exceptions
- RUBY-1351 Allow unencoded subdelimiters in usernames and passwords
- RUBY-1622 Require Ruby 2.3+ in driver
- RUBY-1899 Drop JRuby 9.1 support
- RUBY-1745 Invalid auth mechanism is not reported until an operation is attempted on the client
The following notable bugs have been fixed:
2.10.2
This patch release in the 2.10 series fixes the following issues:
2.9.2
This patch release in the 2.9 series fixes the following issues:
2.10.1
This patch release in 2.10 series improves diagnostics provided by the driver when operations fail on servers or due to network issues. The following tickets have been fixed:
2.10.0
This feature release provides support for MongoDB server 4.2 features. The following issues have been addressed since the 2.10.0.rc0 release:
- RUBY-1896 Raise an actionable error message when retryWrites fails due to using an unsupported storage engine
- RUBY-1898 Socket reads may raise Timeout::Error
For complete list of changes since driver version 2.9, please refer to 2.10.0.rc0 release notes.