v2.18.0.beta1
版本发布时间: 2022-06-08 19:53:50
mongodb/mongo-ruby-driver最新发布版本:v2.21.0(2024-09-20 01:38:30)
This beta release of the Ruby driver supports MongoDB version 5.2 and 6.0. This release can be used for early testing of new features, but are not suitable for production deployments.
Please note that MongoDB 6.0 binaries are currently available only as release candidates. Release candidates can be used for early testing of new features, but are not suitable for production deployments.
This release includes the following new features:
- Added support for queryable encryption.
- Added support for Azure Key Vault, Google Cloud Key Management, and any KMIP compliant Key Management System to be used as master key storage for client side encryption.
Following issues were also implemented or fixed:
- RUBY-2922 Use the count command instead of collStats to implement estimatedDocumentCount
- RUBY-2909 Snapshot Query Examples for the Manual
- RUBY-2682 Specify 5.0 cursor behaviour
- RUBY-2920 "ChangeStream Spec: fullDocument field in ChangeStreamOptions should be an optional to handle ""default"" case."
- RUBY-2766 Allow hint for unacknowledged writes using OP_MSG when supported by the server
- RUBY-2746 Provide options to limit number of mongos servers used in connecting to sharded clusters
- RUBY-2736 Add server connectionId to command monitoring events
- RUBY-2528 Permit inserting dollar-prefixed or dotted keys
- RUBY-2525 Expose the Reason an Operation Fails Document Validation
- RUBY-2737 Allow custom service names with srvServiceName URI option
- RUBY-2990 Terminate push monitor when it fails
- RUBY-2973 Add the acknowledged? field to the BulkWrite::Result class
- RUBY-2966 QueryCache: Add ActiveJob wrapper
- RUBY-2845 JRuby 9.3 Support
- RUBY-2969 Always report 'wallTime' in the change stream event output
- RUBY-2959 Clustered Indexes for all Collections
- RUBY-2956 Make allowDiskUse opt-out rather than opt-in in 6.0
- RUBY-2891 Change streams support for user-facing PIT pre- and post-images
- RUBY-2822 Add support for the comment field to all helpers
- RUBY-2814 Support authorizedCollections option for listCollections helpers
- RUBY-2742 "Remove OP_KILL_CURSORS, OP_INSERT, OP_UPDATE, OP_DELETE implementations + tests"
- RUBY-2715 Document Time-Series Collections
- RUBY-2480 to_bson getting called 6 times on a collection insert
- RUBY-2443 Adjust batch size based on limit & remaining # of documents
- RUBY-2090 Move driver DBRef class to bson-ruby
- RUBY-2834 Rails 7 Support
- RUBY-2590 Driver Handling of DBRefs
- RUBY-2978 Ruby 3.1: Synchronize can't be called from trap context
- RUBY-2972 Calling find_one_and_* methods with write_concern 0 causes an error
- RUBY-2923 Slow spawn of mongocryptd
- RUBY-3009 Update min_pool_size documentation for population
- RUBY-2961 Zero & negative limits not emulated correctly by QueryCache
- RUBY-2996 Implement update and replace validation
- RUBY-2869 ruby 3.1.0: finalizer can't synchronize using mutexes
- RUBY-2843 count_documents is not documented/tested to take session option