MongoDB Go Driver 2.7.0 Released

The MongoDB Go Driver Team is pleased to release version 2.7.0 of the MongoDB Go Driver.

This release adds support for sending afterClusterTime on writes in causally consistent sessions, improving alignment between read and write behavior in session-based workflows. It also continues cleanup of session-related and internal-only APIs by deprecating the experimental session API, helping clarify which surfaces are intended for long-term public use. Alongside that, the release includes a handful of targeted quality improvements across BSON validation, change streams, and error reporting to make the driver more predictable and easier to debug.

You can obtain the driver source from GitHub under the v2.7.0 tag.

Documentation for the Go Driver can be found on pkg.go.dev and the
MongoDB documentation site.
BSON library documentation is also available on pkg.go.dev.
For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow.
Bugs can be reported in the Go Driver project in the MongoDB JIRA
where a list of current issues can be found.
Your feedback on the Go Driver is greatly appreciated!

Thank you,
The Go Driver Team

1 Like

Go Driver v2.6 will be the last minor version to support MongoDB 4.2. Go Driver v2.7 will require MongoDB 4.4 or newer.

Is that still true? If so, I think it’s worth a mention.

edit: bad - copy/paste…

@Jerome_LAFORGE This release did not EOL 4.2. The v2.6.0 release notes have been updated, thanks for the call out!