v2.21.0
版本发布时间: 2024-09-20 01:38:30
mongodb/mongo-ruby-driver最新发布版本:v2.21.0(2024-09-20 01:38:30)
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
What's Changed
- RUBY-3414 Re-enable serverless by @comandeo-mongo in https://github.com/mongodb/mongo-ruby-driver/pull/2885
- DOP-4704: Remove docs/ directory that has been moved to docs-ruby by @i80and in https://github.com/mongodb/mongo-ruby-driver/pull/2883
- RUBY-3514 pointer to docs by @adviti-mishra in https://github.com/mongodb/mongo-ruby-driver/pull/2888
- RUBY-3503 Bump the max wire version from 21 to 25 for server 8.0 compatibility by @adviti-mishra in https://github.com/mongodb/mongo-ruby-driver/pull/2887
- RUBY-2523 Client Side Operations Timeout by @comandeo-mongo in https://github.com/mongodb/mongo-ruby-driver/pull/2882
- RUBY-3463 Fix cursor behaviour on load balanced by @comandeo-mongo in https://github.com/mongodb/mongo-ruby-driver/pull/2893
- RUBY-3392 Support QE Range v2 by @comandeo-mongo in https://github.com/mongodb/mongo-ruby-driver/pull/2894
- RUBY-3544 prepare for 2.21.0 by @jamis in https://github.com/mongodb/mongo-ruby-driver/pull/2895
New Contributors
- @i80and made their first contribution in https://github.com/mongodb/mongo-ruby-driver/pull/2883
- @adviti-mishra made their first contribution in https://github.com/mongodb/mongo-ruby-driver/pull/2888
Full Changelog: https://github.com/mongodb/mongo-ruby-driver/compare/v2.20.1...v2.21.0
1、 mongo-2.21.0.gem 1.16MB
2、 mongo-2.21.0.gem.sig 833B