Download Latest Version 2.20.2 source code.tar.gz (1.6 MB)
Email in envelope

Get an email when there's a new version of MongoDB Ruby Driver

Home / v2.21.1
Name Modified Size InfoDownloads / Week
Parent folder
mongo-2.21.1.gem 2025-04-30 450.6 kB
mongo-2.21.1.gem.sig 2025-04-30 833 Bytes
2.21.1 source code.tar.gz 2025-04-30 1.3 MB
2.21.1 source code.zip 2025-04-30 2.7 MB
README.md 2025-04-30 865 Bytes
Totals: 5 Items   4.4 MB 0

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 includes the following bug fixes:

  • 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: https://github.com/mongodb/mongo-ruby-driver/compare/v2.21.0...v2.21.1

Source: README.md, updated 2025-04-30