MongoDB Go Driver 1.11.2
⚠️ Retracted
This release has been retracted due to a bug that can cause undefined behavior when reading the Raw
field on database error types, including CommandError
and WriteException
.
Please use version 1.11.3 or higher.
The MongoDB Go Driver Team is pleased to release version 1.11.2 of the official Go driver.
Release Notes
This release includes various bug fixes.
Fix timestamp format when converting bson.Raw
to Extended JSON
Previously, calling bson.Raw.String
would output the wrong Extended JSON type if the BSON document contained a "UTC timestamp" field. This release updates String
to output the correct Extended JSON type for timestamps.
Fix retryable reads when using read concerns "linearizable" or "available"
Previously, retried reads could fail if an operation used read concern "linearizable" or "available" because the Go driver set a conflicting configuration for implicit sessions. This release resolves conflicts with "linearizable" or "available" read concerns in retried reads.
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!