Changelog History
Page 3
-
v2.11.0.rc0 Changes
September 23, 2019๐ 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 ๐ 2. 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:
-
v2.10.5 Changes
July 17, 2020๐ This patch release in the 2.10 series fixes the following issues:
-
v2.10.4 Changes
January 24, 2020๐ This patch release in the 2.10 driver series adds Ruby 2.7 compatibility and addresses issues discovered since the 2.10.3 release. The following tickets have been closed:
- ๐ RUBY-2030 Client/Cluster construction fails when duplicate seed addresses are provided
- ๐ RUBY-2054 upsert option is not sent to legacy servers with w:0 due to string/symbol key mismatch
- ๐ RUBY-2059 Dependency on bson 4.6 forces driver 2.10.3 to require Ruby 2.3+/JRuby 9.2+
- ๐ RUBY-2055 Driver sends null pwd field in createUser when password is not specified
-
v2.10.3 Changes
November 15, 2019๐ 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
-
v2.10.2 Changes
September 23, 2019๐ This patch release in the 2.10 series fixes the following issues:
-
v2.10.1 Changes
August 29, 2019๐ 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:
-
v2.10.0 Changes
August 13, 2019๐ 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.
-
v2.10.0.rc0 Changes
August 06, 2019๐ This is a preview of 2.10.0 release, incorporating the following major new features:
- ๐ RUBY-1602 MongoDB 4.2 sharded transactions support
- ๐ RUBY-1814 Allow applications to set maxTimeMS for commitTransaction
- ๐ RUBY-1708 Support postBatchResumeToken in change streams
- โก๏ธ RUBY-1786 Add the ability to specify a pipeline to an update command
- ๐ RUBY-1721 Implement database-level aggregation
- โก๏ธ RUBY-1836 Finer-grained updates from aggregation via $merge
- ๐ RUBY-1822 Support providing certificate chains as client certificates
- ๐ RUBY-1823 Support adding multiple CA certificates
- ๐ RUBY-1685 Disable TLS renegotiation when possible
The following minor improvements were made:
- ๐ RUBY-1860 Standardize on :write_concern for write concern options
- ๐ RUBY-1867 Perform another round of server selection if server selector waited and is at deadline
- ๐ RUBY-1883 Allow query string in MongoDB URI to start with &
- ๐ RUBY-1894 Clear connection pools when monitor ismaster times out
- ๐ RUBY-1733 withTransaction() should retry commits after a wtimeout
๐ The following bugs have been fixed:
- ๐ RUBY-1876 Can't disable retryable read/writes via URI options
- ๐ RUBY-1881 Some URI options are unescaped twice
- ๐ RUBY-1830 TLS client cert specification via URI options does not work on JRuby
- ๐ RUBY-1825 Collections cannot be listed in Atlas free tier due to system filtering
- ๐ RUBY-1840 Legacy write retries are used when modern retryable writes are requested on some operations
- ๐ RUBY-1854 Collection read preference not passed to find command
- ๐ RUBY-1857 Driver invokes WC#unacknowledged? bypassing string/symbol conversions
-
v2.9.2 Changes
September 23, 2019๐ This patch release in the 2.9 series fixes the following issues:
-
v2.9.1 Changes
August 13, 2019๐ This bug fix release in the 2.9 series fixes one additional issue discovered since 2.9.1.rc0 release: