This repository has been archived by the owner on Nov 3, 2024. It is now read-only.
Update module go.mongodb.org/mongo-driver to v1.13.1 #50
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.12.1
->v1.13.1
Release Notes
mongodb/mongo-go-driver (go.mongodb.org/mongo-driver)
v1.13.1
: MongoDB Go Driver 1.13.1Compare Source
The MongoDB Go Driver Team is pleased to release version 1.13.1 of the official Go driver.
Release Notes
This release fixes a bug that can cause a panic when encoding or decoding Go
error
values as BSON and a bug that preventedBSONOptions
from being applied when set on aDatabase
orCollection
.For a full list of tickets included in this release, please see the links below:
Improvements
Bugs
Tasks
Full Changelog: v1.13.0...1.13.1
Documentation for the Go driver 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 project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!
v1.13.0
: MongoDB Go Driver 1.13.0Compare Source
The MongoDB Go Driver Team is pleased to release version 1.13.0 of the official Go driver.
Release Notes
This release enhances logging, search index management, and command events. This release also introduces smarter server selection for sharded clusters, optimizing retry selection. Additionally, we streamline resource usage on FaaS platforms by disabling streaming SDAM and introduce the
serverMonitoringMode=stream/poll/auto
URI option.Logging
In this release, we add logging for server selection and SDAM (Server Discovery and Monitoring). See the Go Driver logging documentation for usage.
Search Index Management Helpers
New
mongo.Collection
methods have been added to support search index management. For more information on search indexes, see the documentation here.Users can create and manage search indexes programmatically. This update provides more flexibility and a smoother user experience, allowing you to define your search index within your code.
Include
DatabaseName
in Command EventsDatabaseName
is now returned byevent.CommandStartedEvent
andevent.CommandFinishedEvent
. This field will also be included in the command logging analogues. This addition will improve performance for users needing to keep a thread-safe map to maintain command-database relations, whereas now such a map can be deprecated.Possible Retries to Alternate Mongos for Read/Write
In sharded MongoDB cluster deployments, it's essential to avoid repeatedly selecting a failing mongos instance. Currently, the driver randomly selects a mongos for each operation, which can lead to retrying failed operations with the same problematic mongos. This enhancement introduces smarter server selection for sharded topologies:
The driver can assess mongos health before attempting a query and exclude unhealthy mongos from selection.
Transition to Polling Monitoring in FaaS Environments
In this release, we make important changes to enhance performance and flexibility. By default, streaming SDAM is now disabled on AWS Lambda and similar FaaS platforms, ensuring efficient resource utilization. We also introduce the serverMonitoringMode=stream/poll/auto URI option to give you greater control over monitoring modes. To improve client behavior, we mandate that clients refrain from using dedicated connections to measure Round-Trip Time (RTT) when employing the polling protocol. These updates aim to provide a more versatile and efficient experience for users.
For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.12.2...1.13.0
Documentation for the Go driver 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 project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!
v1.12.2
: MongoDB Go Driver 1.12.2Compare Source
The MongoDB Go Driver Team is pleased to release version 1.12.2 of the official Go driver.
Release Notes
This release comes with several performance improvements in marshaling and compression, along with a bug fix in the Client Side Encryption. It also improves the reliability of
WithTransaction
by preventing timeouts while committing a transaction.For a full list of tickets included in this release, please see the links below:
Full Changelog: v1.12.1...1.12.2
Documentation for the Go driver 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 project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 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 Mend Renovate. View repository job log here.