Skip to content

fix(deps): update module go.mongodb.org/mongo-driver to v1.9.0 #324

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

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 8, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
go.mongodb.org/mongo-driver require minor v1.8.2 -> v1.9.0

Release Notes

mongodb/mongo-go-driver

v1.9.0

Compare Source

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

Release Notes

This release contains improvements to connection pool management, an extended API, and a number of bug fixes.

Connection storm mitigation

Previously, the propensity of the driver to inundate a server with new connections during failover events was a particular pain point. This version of the driver contains a number of improvements to mitigate these connection "storms" including:

  • Consider server load during server selection
  • Prevent creating connections to unhealthy servers
  • Re-select a server if that server becomes unhealthy during check-out
Custom Aggregate and ChangeStream options

Certain use-cases may require supplying custom options on aggregate commands. These aggregate operations could be on a Database, Collection or for the creation of a ChangeStream. This version of the driver adds new API to specify custom options in these cases:

Note that all the custom options above must be marshalable into BSON. Users should always prefer using non-custom options where possible.

Let option for CRUD commands

This version of the driver adds a Let option to most CRUD command options. Let can be used to specify parameters for use in an aggregate expression context (e.g. "$$var"). Let must be a document mapping parameter names to values that are constant or closed expressions without references to document fields. Note that the Let option can only be used against server version 5.0 or higher. Let has been added to:

  • AggregateOptions
  • BulkWriteOptions
  • DeleteOptions
  • FindOptions
  • FindOneAndDeleteOptions
  • FindOneAndReplaceOptions
  • FindOneAndUpdateOptions
  • ReplaceOptions
  • UpdateOptions
Cursor and SingleResult constructors

This version of the driver exposes API to create Cursor and SingleResult instances from BSON document(s). In particular, two new constructor functions have been added: NewCursorFromDocuments and NewSingleResultFromDocument. The supplied document(s) must be marshalable and non-nil. These new functions should allow for the mocking of read operation results (such as Find, FindOne and Aggregate) for use in testing.


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

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.

v1.8.5

Compare Source

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

Release Notes

This release fixes various bugs, including a bug that could cause duplicate session IDs and a bug that can corrupt unmarshaled BSON values in specific circumstances.

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.


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

v1.8.4

Compare Source

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

This release resolves a bug that prevented an empty readPreferenceTags value in a connection string from acting as a "fail-safe" read preference tag that matches any eligible member (see documentation here).

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:

v1.8.3

Compare Source

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

This release contains a bug fix to allow the loading of multiple certs within a single PEM file.

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:


Configuration

📅 Schedule: "before 3am on tuesday" (UTC).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner February 8, 2022 01:11
@renovate renovate bot added the type: chore work needed to keep the product and development running smoothly label Feb 8, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Feb 8, 2022
@github-actions github-actions bot added the type: bug code to address defects in shipped code label Feb 8, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from 8512dd0 to 02a393f Compare March 2, 2022 21:37
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.8.3 fix(deps): update module go.mongodb.org/mongo-driver to v1.8.4 Mar 2, 2022
kodiakhq[bot]
kodiakhq bot previously approved these changes Mar 2, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from 02a393f to a9742b4 Compare March 3, 2022 09:10
kodiakhq[bot]
kodiakhq bot previously approved these changes Mar 3, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from a9742b4 to 876f033 Compare March 8, 2022 22:14
kodiakhq[bot]
kodiakhq bot previously approved these changes Mar 8, 2022
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.8.4 fix(deps): update module go.mongodb.org/mongo-driver to v1.8.5 Apr 5, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from 876f033 to b8d6fc5 Compare April 5, 2022 22:08
kodiakhq[bot]
kodiakhq bot previously approved these changes Apr 5, 2022
@renovate renovate bot changed the title fix(deps): update module go.mongodb.org/mongo-driver to v1.8.5 fix(deps): update module go.mongodb.org/mongo-driver to v1.9.0 Apr 6, 2022
@renovate renovate bot force-pushed the renovate/go.mongodb.org-mongo-driver-1.x branch from b8d6fc5 to 46895a9 Compare April 6, 2022 00:31
@mrdg mrdg merged commit 42cde20 into main Apr 7, 2022
@mrdg mrdg deleted the renovate/go.mongodb.org-mongo-driver-1.x branch April 7, 2022 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug code to address defects in shipped code type: chore work needed to keep the product and development running smoothly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants