The MongoDB Go Driver Team is pleased to release version 2.5.0 of the MongoDB Go Driver.
This release adds a preview of CRUD support for prefix/suffix/substring indexes.
Also, this release adds AsFloat64(), AsFloat64OK() to bson.RawValue, and DefaultDocumentMap() to bson.Decoder in the BSON package.
Additionally, this release adds ErrorCodes() to parse server error codes from an arbitrary Go error, and exposes atClusterTime in snapshot sessions.
Moreover, this release fixes several bugs, including potential heap out-of-bounds read in GSSAPI error handling.
For more information please see the 2.5.0 release notes.
You can obtain the driver source from GitHub under the v2.5.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