MongoDB Go Driver 1.11.8
⚠️ Retracted
v1.11.8 has been retracted because it incorrectly contains minor release changes intended for 1.12.1.
Please use version 1.11.9 or higher.
The MongoDB Go Driver Team is pleased to release version 1.12.1 of the official Go driver.
Release Notes
This release fixes a bug in the Go Driver where connections are leaked if a user runs a transaction while connected to a load balancer. To resolve this issue, the Go Driver will now unpin connections when ending a session.
This release fixes a logging design oversight in which enabling logging with "options.LogComponentAll" does not result in the publication of logs.
This release fixes two runtime errors, which occur on unmarshaling an empty bson.RawValue with an invalid type, specifically the 0x00 (null) type, and on marshaling a nil pointer of ReadConcern.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.12.0...v1.12.1
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!