[GODRIVER-2671] v1.11.0 contains a breaking change, and should actually be a major version bump Created: 04/Dec/22  Updated: 27/Oct/23  Resolved: 06/Dec/22

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: 1.11.0
Fix Version/s: None

Type: Bug Priority: Critical - P2
Reporter: Kris O'Mealy Assignee: Kevin Albertson
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
is caused by GODRIVER-2546 FLE - maxWireVersion should run on Mo... Closed

 Description   

Summary

The driver version is incompatible with older versions of MongoDB and should be considered a breaking change. The version should be `v2.0.0`.

v1.11.0 (go driver)

v2.6 (mongo server)

How to Reproduce

Try to do anything at all with a mongo server < v3.6. I reproduced running the `mongo:2.6` docker image locally and trying to run a `.Find()` function.

Additional Background

Error message: "server at mongo:27017 reports wire version 2, but this version of the Go driver requires at least 6 (MongoDB 3.6)"



 Comments   
Comment by Kevin Albertson [ 06/Dec/22 ]

Hello komealy@hotmail.com, thank you for reaching out. This change was intentional in accordance with the MongoDB Software Lifecycle Schedules. Server versions 3.4 and earlier are outside of the support policy range, and have been since January 2020. The driver is no longer tested those server versions and can no longer guarantee compatibility.

Make this change in minor driver release was intentional. This is not considered a semver backward breaking change since it does not change the API of a driver.

GODRIVER-2546 is an update to test files. It does not change compatibility between the driver and server.

Comment by Kris O'Mealy [ 04/Dec/22 ]

I was able to still connect using `v1.10.0` and a change relating to this break is https://jira.mongodb.org/browse/GODRIVER-2546 

Generated at Thu Feb 08 08:39:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.