Skip to content

MongoDB Go Driver 2.10.0

Latest

Choose a tag to compare

@mongodb-dbx-release-bot mongodb-dbx-release-bot released this 07 Nov 01:44

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

Release Highlights

This release fixes a bug that prevented timeoutMS from being applied to session and transaction operations, and adds two new options intended for internal use only.

addCommandFields for Collection & IndexView APIs

Warning

The addCommandFields option is intended for internal use only. It may be changed or removed without notice at any time.

Allows adding arbitrary fields to Collection and IndexView commands.

collectionUUID for Client.BulkWrite

Warning

The collectionUUID option is intended for internal use only. It may be changed or removed without notice at any time.

Allows specifying a collectionUUID for bulk write requests.

What's Changed

✨ New Features

🐛 Fixed

📦 Dependency Updates

📝 Other Changes

Full Changelog: v2.9.3...v2.10.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!