The MongoDB Go Driver Team is pleased to release version 2.2.2 of the official MongoDB Go Driver.
Release Notes
This release resolves three bugs in the Go Driver: it removes a buggy and unnecessary connection liveness check that could run unexpectedly or fail intermittently when maxIdleTimeMS was set, and it fixes an issue in decoding to overwrite prepopulated slice. Also, a unmarshaler for gridfs.File is added.
For a full list of tickets included in this release, please see the list of fixed issues.
Full Changelog: v2.2.1...v2.2.2
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!
What's Changed
- Ignore unmaintained branches when merging up by @alcaeus in #2062
- GODRIVER-3549 Fix timeouts in CSE custom endpoint test (#2028) (#2031) by @prestonvasquez in #2061
- GODRIVER-3516 Remove isAlive by @linfeip in #2060
- GODRIVER-3560 Assume ec2 role explicitly in CI by @prestonvasquez in #2080
- GODRIVER-3524 Sync updates to reflect showExpandedEvents omissions by @prestonvasquez in #2084
- GODRIVER-3565 Add UnmarshalBSON to GridFSFile by @prestonvasquez in #2077
- GODRIVER-3574 Align BSON interface slice decoding with json package. by @qingyang-hu in #2075
New Contributors
Full Changelog: v2.2.1...v2.2.2