v2.19.0
版本发布时间: 2023-06-22 16:14:24
mongodb/mongo-ruby-driver最新发布版本:v2.21.0(2024-09-20 01:38:30)
This feature release of the Ruby driver supports MongoDB version 7.0. It includes the following new features:
- RUBY-3066 Cache AWS Credentials Where Possible
- RUBY-2732 Add native support for AWS IAM Roles for service accounts, EKS in particular
- RUBY-3049 Provide access to raw result document when the server returns an error for a command
- RUBY-2989 Obtain AWS credentials for CSFLE in the same way as for MONGODB-AWS
- RUBY-3088 Support the Azure VM-assigned Managed Identity for Automatic KMS Credentials
- RUBY-3005 Support for Range Indexes
- RUBY-2512 Support AWS authentication with temporary credentials in CSFLE
- RUBY-3062 Add support for GCP attached service accounts when using GCP KMS
The following issues were addressed:
- RUBY-3079 Propagate Original Error for Write Errors Labeled NoWritesPerformed
- RUBY-3104 Collection create method does not support some options
- RUBY-3095 SMC options are not correctly converted to Ruby options
The following minor improvements were made:
- RUBY-3252 Show user friendly error if ffi is not installed
- RUBY-3052 Automatically create Queryable Encryption keys
- RUBY-3185 Remove getNonce command usage for 6.2+
- RUBY-3187 Permit tlsDisableOCSPEndpointCheck in KMS TLS options
- RUBY-2495 Rate limit new connection creations (maxConnecting)
- RUBY-2927 Preemptively cancel in progress operations when SDAM heartbeats timeout
- RUBY-1768 URI serialization to string
- RUBY-2609 Enable TCP_USER_TIMEOUT by default when possible
- RUBY-3105 Swallow SocketError when closing cursor
- RUBY-3068 Expose rich field information in the updateDescription
- RUBY-1595 Improve error reporting when symbol/string is passed as read preference
- RUBY-3081 Do not try to connect to mongocryptd if shared library is available