The MongoDB Go Driver Team is pleased to release version 2.4.0 of the official MongoDB Go Driver.
Release Highlights
Important
Go Driver v2.4 requires MongoDB 4.2 or newer.
This release adds a new method Client.AppendDriverInfo that adds information to the driver metadata sent on subsequent connection handshakes.
What's Changed
✨ New Features
- GODRIVER-3544, GODRIVER-3653 Allow Client to Send Client Metadata On-Demand by @prestonvasquez in #2197
📝 Other Changes
- GODRIVER-3523 Drop support for MongoDB 4.0. by @qingyang-hu in #2221
- GODRIVER-3288 Stop gossiping $clusterTime on SDAM commands. by @qingyang-hu in #2150
- GODRIVER-3632: Reroute to use perfcomp from DET by @zhouselena in #2163
- Update README.md by @NiteshSingh17 in #2176
- Rewrite mongo.Connect documentation. by @matthewdale in #2185
- Allow ignore-for-release label to satisfy label checker [v2] by @matthewdale in #2209
- Merge release/2.3 into master by @mongodb-drivers-pr-bot[bot] in #2210
- GODRIVER-3667 Update support links. by @matthewdale in #2215
- GODRIVER-3675 Rename
internal/decimal/decinal128.gotodecimal128.goby @ggyuchive in #2220
New Contributors
- @NiteshSingh17 made their first contribution in #2176
- @ggyuchive made their first contribution in #2220
Full Changelog: v2.3.1...v2.4.0
For a full list of tickets included in this release, please see the list of fixed issues.
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. For issues with, questions about, or feedback for the Go Driver, please look into our support channels, including StackOverflow. 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!