Skip to content

MongoDB Go Driver 1.5.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@iwysiu iwysiu released this 16 Dec 22:18
· 788 commits to master since this release

The MongoDB Go driver team is pleased to release 1.5.0-beta1 of the official Go driver.

This release contains driver-specific improvements.

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.

Azure/GCP Support for Client Side Field Level Encryption

This release includes beta support for using Azure and GCP key management with the client-side field level encryption feature. See the MongoDB docs for more information and code samples. Use of client-side field level encryption, even without Azure/GCP, requires users to install the latest development release of libmongocrypt. Note: This means that existing applications that use this feature will need to upgrade the libmongocrypt dependency when upgrading to this driver release; otherwise, the application will fail to build. Users can upgrade to the latest development release of libmongocrypt via the OS-specific instructions for macos, Windows, and Linux. Each OS-specific link contains instructions for installing both the latest stable and dev releases.

Server Monitoring

Monitoring has now been added for various server events. A ServerMonitor set on a client monitors changes on the MongoDB deployment it is connected to, and reports the changes in the client's representation of the deployment.

ServerError

The ServerError interface wraps errors returned from the server, specifically CommandError, WriteException, and BulkWriteException, to make them easier to handle programmatically.

Improved BSON performance

Improved unmarshalling performance when unmarshalling to interface{}. There are no application changes required to take advantage of these improements.

Release Notes

For a full list of tickets included in this release, please see the links below:

Projects

New Features

Improvements

Tasks