Download Latest Version MongoDB Go Driver 2.2.3 source code.zip (6.6 MB)
Email in envelope

Get an email when there's a new version of MongoDB Go Driver

Home / v2.2.1
Name Modified Size InfoDownloads / Week
Parent folder
cyclonedx.sbom.json 2025-05-06 1.6 kB
release_run_id.txt 2025-05-06 12 Bytes
MongoDB Go Driver 2.2.1 source code.tar.gz 2025-05-06 4.7 MB
MongoDB Go Driver 2.2.1 source code.zip 2025-05-06 6.6 MB
README.md 2025-05-06 2.0 kB
Totals: 5 Items   11.3 MB 0

The MongoDB Go Driver Team is pleased to release version 2.2.1 of the official MongoDB Go Driver.

Release Notes

This release enhances BSON encoding performance by using sync.Pool for value writers and readers during encoding and decoding, leading to better memory allocation and improved efficiency. Note that further regressions from version 1 may be addressed in GODRIVER-3450, with this update focusing on reinstating optimizations removed in the version 2 implementation. Performance may not be 1-1 with v1 since v2 suggests using the bufio package for byte management rather than a raw byte slice.

What's Changed

Full Changelog: https://github.com/mongodb/mongo-go-driver/compare/v2.2.0...v2.2.1 JIRA Release Notes: https://jira.mongodb.org/projects/GODRIVER/versions/43096

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!

Source: README.md, updated 2025-05-06