Skip to content
Feb 2, 2021
Update version to 1.4.6

@benjirewis benjirewis released this Feb 2, 2021 · 5 commits to release/1.4 since this release

The MongoDB Go driver team is pleased to release version 1.4.6 of the official Go driver.

This release contains several bug fixes.

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

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

Bugs

Assets 2

@benjirewis benjirewis released this Jan 19, 2021 · 11 commits to release/1.4 since this release

The MongoDB Go driver team is pleased to release 1.4.5 of the official Go driver.

This release contains several bug fixes.

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

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

Improvements

Bugs

Assets 2
Pre-release

@iwysiu iwysiu released this Dec 16, 2020 · 31 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

Assets 2

@iwysiu iwysiu released this Dec 1, 2020 · 121 commits to master since this release

The MongoDB Go driver team is pleased to release 1.4.4 of the official Go driver.

This release contains several bug fixes.

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-1777] - allow inline struct fields to be overwritten by higher level structs in bson
  • [GODRIVER-1782] - Aggregation with $out not always sent to primary
  • [GODRIVER-1783] - omitempty doesnt work on primitive.Decimal128
  • [GODRIVER-1788] - Audit missing replaceErrors calls
  • [GODRIVER-1793] - Allow nil options for InsertOne

Improvement

  • [GODRIVER-1767] - Mark mtest package as internal and unstable
  • [GODRIVER-1798] - Add reference to how to authenticate yourself in the database in the main README file
Assets 2

@iwysiu iwysiu released this Nov 3, 2020 · 121 commits to master since this release

The MongoDB Go driver team is pleased to release 1.4.3 of the official Go driver.

This release contains several bug fixes.

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-1757] - Security Vulnerability: system DLL loaded without path specified
  • [GODRIVER-1768] - Incorrect docs for unmarshaling BSON Null to bson.M
  • [GODRIVER-1769] - Collection.FindOne option MaxTime not working
  • [GODRIVER-1770] - GridFS download chunk size should be read from files document, not bucket

Task

Assets 2

@divjotarora divjotarora released this Oct 7, 2020 · 34 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

Improvement

  • [GODRIVER-1739] - Ensure retryable writes testing checks for absence/presence of error labels
  • [GODRIVER-1741] - Specify error label in retryable writes test
Assets 2

@iwysiu iwysiu released this Sep 1, 2020 · 46 commits to release/1.4 since this release

The MongoDB Go driver team is pleased to release 1.4.1 of the official Go driver.

This release contains several bugfixes.

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-1028] - BulkWrite error indexes do not match position in models slice
  • [GODRIVER-1706] - Name is not set for WriteConcernError
  • [GODRIVER-1710] - TLS ServerName should not set if it's provided in a custom config
  • [GODRIVER-1713] - RunCommand does not pass read preference to operations layer
  • [GODRIVER-1726] - ProcessError should check for WriteCommandError, not WriteConcernError

Task

Improvement

  • [GODRIVER-1703] - Change Session examples to use transactions
  • [GODRIVER-1719] - fix data race in test TestSDAMProse/heartbeats_processed_more_frequently
Assets 2

@iwysiu iwysiu released this Aug 10, 2020 · 1 commit to release/1.3 since this release

The MongoDB Go driver team is pleased to release 1.3.7 of the official Go driver.

This release contains a bugfix for an error introduced in 1.3.6 that caused averageRTT to be set incorrectly.

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-1708] - Monitoring routine does not correctly set starting time in 1.3.6
Assets 2

@iwysiu iwysiu released this Aug 4, 2020 · 4 commits to release/1.3 since this release

The MongoDB Go driver team is pleased to release 1.3.6 of the official Go driver.

This release contains several bugfixes.

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-1688] - primitive.NewDateTimeFromTime only allows years between 1678 and 2262
  • [GODRIVER-1695] - heartbeats should always use connectTimeout as socket timeout
  • [GODRIVER-1706] - Name is not set for WriteConcernError
Assets 2