Skip to content

RUBY-3811 deprecate server version 4.2#3060

Open
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:3811-deprecate-4.2
Open

RUBY-3811 deprecate server version 4.2#3060
jamis wants to merge 1 commit into
mongodb:masterfrom
jamis:3811-deprecate-4.2

Conversation

@jamis

@jamis jamis commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

MongoDB server version 4.2 is EOL, and support for it will be removed from the driver in a future driver release. If you are using MongoDB server version 4.2, please upgrade to a newer version soon.

Copilot AI review requested due to automatic review settings June 11, 2026 21:36
@jamis jamis requested a review from a team as a code owner June 11, 2026 21:36
@jamis jamis requested a review from comandeo-mongo June 11, 2026 21:36
@jamis jamis added the feature A PR for a new feature label Jun 11, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR implements the deprecation of MongoDB server version 4.2 (wire version 8) in the driver, aligning runtime warnings with the project’s stated plan to remove 4.2 support in a future release.

Changes:

  • Mark wire version 8 (MongoDB 4.2) as deprecated via DEPRECATED_WIRE_VERSIONS.
  • Ensure the existing deprecation warning path (Mongo::Deprecations.warn) becomes active for 4.2 servers.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature A PR for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants