Skip to content

2.21.1

Latest
Compare
Choose a tag to compare
@mongodb-dbx-release-bot mongodb-dbx-release-bot released this 30 Apr 19:38
· 5 commits to master since this release
2ab53dd

Version 2.21.1 of the MongoDB Ruby Driver is now available. This is the latest patch release in the 2.21 series.

Install it via RubyGems at the command line:

$ gem install -v 2.21.1 mongo

Or via Bundler, in a Gemfile:

gem 'mongo', '2.21.1'

It adds the following new feature:

  • RUBY-3395 Adds support for vectorSearch search indexes, by adding a type: parameter to the #create_one method. (PR)

The following minor changes were made:

  • RUBY-1933 Adds some debug-level logging around the initial DNS seed list query, to help when troubleshooting network issues (PR)
  • RUBY-3299 Slight performance improvement for decrypting documents with a large number of encrypted fields (PR)
  • RUBY-3429 Transient KMS errors are now retried. (PR)

It also includes the following bug fixes:

  • RUBY-2467 Fixes a warning while installing the gem, caused by a missing subdirectory. Fixed by removing all specs from the generated gem; if you need the specs, please check out the repository. (PR)
  • RUBY-3604 Fix a race condition in the authentication flow that could cause authentication to fail incorrectly when multiple simultaneous threads are attempting to authenticate. (PR by @jteich)
  • RUBY-3658 When a timeout is specified on the client, database, or operation, partial writes to the server are never completed, resulting in timeouts. (PR)

Full Changelog: v2.21.0...v2.21.1