Skip to content

[ruby] Update mongo 2.22.0 → 2.23.0 (minor)#639

Merged
digitaltom merged 1 commit intomainfrom
depfu/update/mongo-2.23.0
Feb 16, 2026
Merged

[ruby] Update mongo 2.22.0 → 2.23.0 (minor)#639
digitaltom merged 1 commit intomainfrom
depfu/update/mongo-2.23.0

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented Feb 16, 2026

Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

↗️ mongo (indirect, 2.22.0 → 2.23.0) · Repo

Release Notes

2.23.0

The MongoDB Ruby team is pleased to announce version 2.23.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.23.0 mongo

Or simply add it to your Gemfile:

gem 'mongo', '2.23.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

RUBY-3612 OpenTelemetry (PR)

When the feature is enabled, Ruby driver traces driver operation and the corresponding server commands nested under the operation. Tracing can be enabled per Mongo::Client instance (by setting the tracing option to true), or globally via the OTEL_RUBY_INSTRUMENTATION_MONGODB_ENABLED environment variable.

RUBY-3552 and RUBY-3588 Deprecate support for server versions 3.6 and 4.0

Support for MongoDB server versions 3.6 and 4.0 is now deprecated, and will be removed in version 2.24.0 of the Ruby driver. If you are using MongoDB server version 4.0 or older, please upgrade to at least version 4.2.

Other New Features

  • Add csfle_convert_to_ruby_types config option for converting encryption types (PR)
  • RUBY-3714 Client metadata capture for TruffleRuby (PR)
  • RUBY-3519 Allow valid SRV hostnames with less than 3 parts (PR)
  • Ruby 4.0 Support (PR)

Bug Fixes

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 16 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Feb 16, 2026
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22070970548

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.362%

Totals Coverage Status
Change from base Build 22070915790: 0.0%
Covered Lines: 779
Relevant Lines: 784

💛 - Coveralls

@digitaltom digitaltom merged commit d63a7ed into main Feb 16, 2026
8 checks passed
@depfu depfu bot deleted the depfu/update/mongo-2.23.0 branch February 16, 2026 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants