Skip to content

Conversation

@FGasper
Copy link
Collaborator

@FGasper FGasper commented Dec 8, 2025

This updates MongoDB’s Go driver to version 2.4, which dropped support for 4.0 but can still work with it via a simple tweak of the globals (per the driver team’s recommendation in GODRIVER-3701).

@FGasper FGasper marked this pull request as ready for review December 8, 2025 20:47
@FGasper FGasper requested a review from mmcclimon December 8, 2025 20:51
Copy link
Collaborator

@mmcclimon mmcclimon left a comment

Choose a reason for hiding this comment

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

I think this is fine, though I do worry a bit about it breaking in some way. If the driver team says it's fine though, it's probably fine. We'll also want to check with them probably every time we update the driver version, just to make sure they haven't done something internally that will break our use of it here.

Comment on lines 6 to 8
topology.MinSupportedMongoDBVersion = "4.0"

topology.SupportedWireVersions.Min = 7 // 4.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's probably worth a comment about why this is here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

added

@FGasper FGasper merged commit 83b64ac into mongodb-labs:main Dec 8, 2025
103 checks passed
@FGasper FGasper deleted the felipe_driver_24 branch December 8, 2025 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants