Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog:All: Bump go.mongodb.org/mongo-driver from 1.4.6 to 1.5.0 #474

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 15, 2021

Bumps go.mongodb.org/mongo-driver from 1.4.6 to 1.5.0.

Release notes

Sourced from go.mongodb.org/mongo-driver's releases.

MongoDB Go Driver 1.5.0

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

This release contains several new features and usability improvements for the driver.

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.

This release contains a new errors API for the primary mongo package. Users can now detect duplicate key errors, timeouts, and network errors via the mongo.IsDuplicateKeyError, mongo.IsTimeout, and mongo.IsNetworkError functions, respectively. Additionally, a new UpdateByID function has been added to the mongo.Collection type to update a single document with a given _id value.

The Go Driver now supports using GCP and Azure key management services with the client-side field level encryption feature. In addition, AWS key management support has been enhanced to allow authenticating with temporary AWS credentials. See the MongoDB docs for more information about these improvements. Use of client-side field level encryption requires users to install the latest released version of libmongocrypt. Note: This means that existing applications that use this feature will need to upgrade the libmongocrypt dependency when upgrading to this driver version; otherwise, the application will fail to compile. Users can upgrade to the latest development release of libmongocrypt via the OS-specific instructions for macos, Windows, and Linux.

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

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

Projects

New Features

Improvements

Bugs

Tasks

MongoDB Go Driver 1.5.0-beta1

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.

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.

... (truncated)

Commits
  • 6760875 Update version to v1.5.0
  • 19a368c GODRIVER-1911 Fix Windows/macos test failures for CSFLE (#603)
  • 2a5f9a4 GODRIVER-1879 Apply connectTimeoutMS to TLS handshake (#594)
  • 2c5b75b GODRIVER-1855 Support AWS authentication with temporary credentials in CSFLE ...
  • 66d9882 GODRIVER-1893 Cleanup comments and tests
  • b88bb74 GODRIVER-1893 Add primitive.IsValidObjectID function (#592)
  • ccdaffc GODRIVER-1882 Use new AWS setup script in Evergreen (#587)
  • 7087b5e GODRIVER-1890 Add nil Client checks (#590)
  • b03a7e4 GODRIVER-1852 Add commitTransaction error check for timeout (#569)
  • 07b0039 GODRIVER-1875 reduce TestPool test timeout (#582)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Mar 15, 2021
@mender-test-bot mender-test-bot force-pushed the dependabot/go_modules/go.mongodb.org/mongo-driver-1.5.0 branch from 7e7ee88 to e1058e7 Compare March 15, 2021 05:29
@mender-test-bot
Copy link

@mender-test-bot, Let me know if you want to start the integration pipeline by mentioning me and the command "start pipeline".

@mender-test-bot
Copy link

Hello 😸 I created a pipeline for you here: Pipeline-270397783

Build Configuration Matrix

Key Value
AUDITLOGS_REV origin/master
BUILD_CLIENT false
CREATE_ARTIFACT_WORKER_REV origin/master
DEPLOYMENTS_ENTERPRISE_REV origin/master
DEPLOYMENTS_REV origin/master
DEVICEAUTH_REV pull/474/head
DEVICECONFIG_REV origin/master
DEVICECONNECT_REV origin/master
GUI_REV origin/master
INTEGRATION_REV master
INVENTORY_ENTERPRISE_REV origin/master
INVENTORY_REV origin/master
MENDER_ARTIFACT_REV origin/master
MENDER_CLI_REV origin/master
MENDER_CONNECT_REV origin/master
MENDER_REV origin/master
MTLS_AMBASSADOR_REV origin/master
RUN_INTEGRATION_TESTS true
TENANTADM_REV origin/master
USERADM_ENTERPRISE_REV origin/master
USERADM_REV origin/master
WORKFLOWS_ENTERPRISE_REV origin/master
WORKFLOWS_REV origin/master

@alfrunes alfrunes force-pushed the dependabot/go_modules/go.mongodb.org/mongo-driver-1.5.0 branch from e1058e7 to 11f7182 Compare March 18, 2021 09:31
@mender-test-bot
Copy link

@alfrunes, Let me know if you want to start the integration pipeline by mentioning me and the command "start pipeline".

@alfrunes alfrunes force-pushed the dependabot/go_modules/go.mongodb.org/mongo-driver-1.5.0 branch from 11f7182 to 868d176 Compare March 18, 2021 09:32
@mender-test-bot
Copy link

@alfrunes, Let me know if you want to start the integration pipeline by mentioning me and the command "start pipeline".

@alfrunes
Copy link
Contributor

@mender-test-bot start pipeline

@mender-test-bot
Copy link

Hello 😸 I created a pipeline for you here: Pipeline-274235344

Build Configuration Matrix

Key Value
AUDITLOGS_REV origin/master
BUILD_CLIENT false
CREATE_ARTIFACT_WORKER_REV origin/master
DEPLOYMENTS_ENTERPRISE_REV origin/master
DEPLOYMENTS_REV origin/master
DEVICEAUTH_REV pull/474/head
DEVICECONFIG_REV origin/master
DEVICECONNECT_REV origin/master
GUI_REV origin/master
INTEGRATION_REV master
INVENTORY_ENTERPRISE_REV origin/master
INVENTORY_REV origin/master
MENDER_ARTIFACT_REV origin/master
MENDER_CLI_REV origin/master
MENDER_CONNECT_REV origin/master
MENDER_REV origin/master
MTLS_AMBASSADOR_REV origin/master
RUN_INTEGRATION_TESTS true
TENANTADM_REV origin/master
USERADM_ENTERPRISE_REV origin/master
USERADM_REV origin/master
WORKFLOWS_ENTERPRISE_REV origin/master
WORKFLOWS_REV origin/master

@alfrunes alfrunes merged commit 8e729d0 into master Mar 22, 2021
@dependabot dependabot bot deleted the dependabot/go_modules/go.mongodb.org/mongo-driver-1.5.0 branch March 22, 2021 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants