The MongoDB Go Driver Team is pleased to release version 2.6.1 of the MongoDB Go Driver.
This release fixes batched writes to split by full wire-message size instead of document payload size, preventing near-limit InsertMany failures; fixes unmarshaling of null and undefined values into raw BSON types such as bson.Raw, bsoncore.Document, and bsoncore.Array; and fixes mongo.ErrorCodes() to return codes for ClientBulkWriteException, including duplicate-key errors from client bulk writes.
You can obtain the driver source from GitHub under the v2.6.1 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