Skip to content

Release candidate for 2.23.0#2983

Merged
jamis merged 1 commit intomongodb:masterfrom
jamis:rc-2.23.0
Feb 4, 2026
Merged

Release candidate for 2.23.0#2983
jamis merged 1 commit intomongodb:masterfrom
jamis:rc-2.23.0

Conversation

@jamis
Copy link
Contributor

@jamis jamis commented Feb 4, 2026

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

@jamis jamis requested a review from a team as a code owner February 4, 2026 15:10
Copilot AI review requested due to automatic review settings February 4, 2026 15:10
@jamis jamis added the release-candidate Identifies PR's that represent potential new releases. label Feb 4, 2026
@jamis jamis requested a review from comandeo-mongo February 4, 2026 15:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the MongoDB Ruby Driver version from 2.22.0 to 2.23.0, preparing for a new minor release. The version 2.23.0 includes OpenTelemetry tracing support, CSFLE configuration options, TruffleRuby support improvements, SRV hostname validation changes, Ruby 4.0 support, deprecation of MongoDB server versions 3.6 and 4.0, and several bug fixes.

Changes:

  • Version number updated from 2.22.0 to 2.23.0 in configuration and code files

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
product.yml Updates the version number in the product metadata file to 2.23.0
lib/mongo/version.rb Updates the VERSION constant to 2.23.0 for the gem release

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamis jamis merged commit 1708c3d into mongodb:master Feb 4, 2026
178 checks passed
@jamis jamis deleted the rc-2.23.0 branch February 4, 2026 17:26
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