The Ruby driver team is please to announce the release of version 2.18.0.beta1.
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-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-2525 Expose the Reason an Operation Fails Document Validation
-
RUBY-2737 Allow custom service names with srvServiceName URI option
-
RUBY-2973 Add the acknowledged? field to the BulkWrite::Result class
-
RUBY-2969 Always report āwallTimeā in the change stream event output
-
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-2814 Support authorizedCollections option for listCollections helpers
-
RUBY-2742 āRemove OP_KILL_CURSORS, OP_INSERT, OP_UPDATE, OP_DELETE implementations + testsā
-
RUBY-2480 to_bson getting called 6 times on a collection insert
-
RUBY-2443 Adjust batch size based on limit & remaining # of documents
-
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-2961 Zero & negative limits not emulated correctly by QueryCache
-
RUBY-2869 ruby 3.1.0: finalizer canāt synchronize using mutexes
-
RUBY-2843 count_documents is not documented/tested to take session option