github mongodb/mongo-go-driver v1.11.4
MongoDB Go Driver 1.11.4

latest releases: v1.17.1-cloud1, cloud-1.17-cloud2, vcloud-1.17-cloud1...
19 months ago

The MongoDB Go Driver Team is pleased to release version 1.11.4 of the official Go driver.

Release Notes

This release includes optimizations to reduce memory consumption in reading compressed wire messages. The release also offers codec support for decoding struct container fields as either map or document types, rather than an ancestor type.

Additionally, the mongo package will support a closed approach for checking transaction error labels. For example:

err = client.Ping(ctx, nil)

var le mongo.LabeledError
if errors.As(err, &le) && le.HasErrorLabel("TransientTransactionError") {
    log.Fatalf("transient transaction error: %v", le)
}

For a full list of tickets included in this release, please see the links below:

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. Questions and inquiries can be asked on the MongoDB Developer Community. 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!

Don't miss a new mongo-go-driver release

NewReleases is sending notifications on new releases.