fix(deps): update module go.mongodb.org/mongo-driver to v1.9.0 #324
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.8.2->v1.9.0Release Notes
mongodb/mongo-go-driver
v1.9.0Compare 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:
Custom Aggregate and ChangeStream options
Certain use-cases may require supplying custom options on
aggregatecommands. Theseaggregateoperations could be on aDatabase,Collectionor for the creation of aChangeStream. This version of the driver adds new API to specify custom options in these cases:AggregateOptions.Customspecifies custom options to be added to the aggregate expressionChangeStreamOptions.Customspecifies custom options to be added to the change stream creation aggregate expressionChangeStreamOptions.CustomPipelinespecifies custom options to be added to the$changeStreampipeline stage in the change stream creation aggregate expressionNote 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
Letoption to most CRUD command options.Letcan be used to specify parameters for use in an aggregate expression context (e.g. "$$var").Letmust be a document mapping parameter names to values that are constant or closed expressions without references to document fields. Note that theLetoption can only be used against server version 5.0 or higher.Lethas been added to:AggregateOptionsBulkWriteOptionsDeleteOptionsFindOptionsFindOneAndDeleteOptionsFindOneAndReplaceOptionsFindOneAndUpdateOptionsReplaceOptionsUpdateOptionsCursor and SingleResult constructors
This version of the driver exposes API to create
CursorandSingleResultinstances from BSON document(s). In particular, two new constructor functions have been added:NewCursorFromDocumentsandNewSingleResultFromDocument. The supplied document(s) must be marshalable and non-nil. These new functions should allow for the mocking of read operation results (such asFind,FindOneandAggregate) 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.5Compare 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.4Compare 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
readPreferenceTagsvalue 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.3Compare 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.