MongoDB Go Driver 1.4.2
divjotarora
released this
07 Oct 13:53
·
40 commits
to release/1.4
since this release
The MongoDB Go driver team is pleased to release 1.4.2 of the official Go driver.
This release contains several bug fixes, a fix to our existing deprecation notices to ensure they follow the format required by linters such as staticcheck
, and an upgrade to our go-yaml
dependency so the driver is not susceptible to CVE-2019-11254.
Documentation 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 Jira where a list of current issues can be found.
Release Notes
Bug
- [GODRIVER-1715] - Incorrect Upserted count in BulkWriteResult
- [GODRIVER-1734] - Fix txnNumber addition for retryable writes
- [GODRIVER-1742] - Default 30 minute connection life timeout should be removed
- [GODRIVER-1748] - CVE-2019-11254 - Known vulnerability in yaml.v2 v2.2.2
- [GODRIVER-1751] - Struct codec does not honor custom codecs if another codec was used first
- [GODRIVER-1758] - add missing error conversions
Task
- [GODRIVER-1736] - Fix deprecation notice formats
- [GODRIVER-1754] - Update go-cmp version
Improvement
- [GODRIVER-1739] - Ensure retryable writes testing checks for absence/presence of error labels
- [GODRIVER-1741] - Specify error label in retryable writes test