Skip to content

Release candidate for 2.26.0 - #3105

Merged
jamis merged 2 commits into
mongodb:masterfrom
jamis:rc-2.26.0
Sep 10, 2026
Merged

jamis merged 2 commits into
mongodb:masterfrom
jamis:rc-2.26.0

Conversation

@jamis

@jamis jamis commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

The MongoDB Ruby team is pleased to announce version 2.26.0 of the mongo gem - a pure-Ruby driver for connecting to, querying, and manipulating MongoDB databases. This is a new minor release in the 2.x series of MongoDB Ruby Driver.

Install this release using RubyGems via the command line as follows:

gem install -v 2.26.0 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.26.0'

Have any feedback? Click on through to MongoDB's JIRA and open a new ticket to let us know what's on your mind 🧠.

New Features

Add option to configure DEK cache lifetime (RUBY-3524 | PR)

Adds a new option to the Mongo::Client constructor: :key_expiration_ms. This is used to specify the lifetime of the data encryption key cache, in milliseconds. Must be a non-negative integer. A value of 0 means the cache never expires. Defaults to 60000.

Client backpressure with baseBackoffMS (RUBY-3901 | PR)

Improved performance for MongoDB 9.0's Intelligent Workload Management (IWM) by only retrying overload errors when doing so is expected to not worsen server conditions.

Other New Features

  • Add QE text queries (prefix/suffix/substring) (RUBY-3903 | PR)

Bug Fixes

  • Disallow comma in authMechanismProperties connection string value (RUBY-3482 | PR)
  • Fix libmongocrypt version floor, ClientEncryption timeout_ms and missing range_opts (RUBY-3903 | PR)
  • Consult server-side encryptedFields when dropping QE collections (PR)
  • Use exact match for file ID in GridFS methods

@jamis
jamis requested a review from a team as a code owner September 10, 2026 14:57
@jamis jamis added the release-candidate Identifies PR's that represent potential new releases. label Sep 10, 2026
@jamis
jamis requested review from JamesKovacs and Jibola and removed request for JamesKovacs September 10, 2026 14:57
Jibola
Jibola previously approved these changes Sep 10, 2026
@jamis
jamis merged commit 8405041 into mongodb:master Sep 10, 2026
238 of 241 checks passed
@jamis
jamis deleted the rc-2.26.0 branch September 10, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-candidate Identifies PR's that represent potential new releases.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants