Release candidate for 2.22.0#2962
Merged
comandeo-mongo merged 1 commit intomongodb:masterfrom Nov 24, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR prepares the MongoDB Ruby driver for the 2.22.0 release by updating version numbers across the codebase. The minor version bump from 2.21.3 to 2.22.0 appropriately reflects the inclusion of new features (sort option for updateOne and replaceOne operations) and bug fixes (ArgumentError handling and SocketError handling).
- Version number updated from 2.21.3 to 2.22.0 in both configuration and code files
- Consistent version numbering following semantic versioning conventions
- Prepares the gem for release with documented new features and bug fixes
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| product.yml | Updates the product version metadata to 2.22.0 |
| lib/mongo/version.rb | Updates the VERSION constant to 2.22.0 for the gem |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jamis
approved these changes
Nov 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The MongoDB Ruby team is pleased to announce version 2.22.0 of the
mongogem - 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:
Or simply add it to your
Gemfile: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
Bug Fixes