go-pingbot
go-pingbot copied to clipboard
fix(deps): update all non-major dependencies
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
github.com/BurntSushi/toml | require | minor | v1.1.0 -> v1.2.1 |
github.com/jpillora/opts | require | patch | v1.2.0 -> v1.2.3 |
go (source) | golang | minor | 1.17 -> 1.19 |
go.mongodb.org/mongo-driver | require | minor | v1.10.0 -> v1.11.0 |
Release Notes
BurntSushi/toml
v1.2.1
This release fixes the omitempty
struct tag on an uncomparable type panicking.
v1.2.0
This release adds a few additional features:
-
Support encoding and decoding json.Number, making interoperability with JSON when using json.Encoder.UseNumber() easier.
-
Support time.Duration string format; an integer will be interpreted as nanoseconds (like before), but a string like "5h" will be parsed. On encoding the string format is used.
-
The omitempty struct tag now also works for structs with all zero values, for example an empty time.Time. A struct is considered "empty" when all fields (exported and private) are the zero value.
-
Allow using interface{} (or any) as the map key when decoding.
And some fixes:
-
Fix encoding.TextUnmarshaler not working for map values.
-
Make encoding.TextUnmarshaler and toml.Unmarshaler work if MarshalText() or MarshalTOML() have a pointer receiver.
-
Error out on nil returns from MarshalTOML/MarshalText; before they would get encoded as invalid TOML (keyname =).
-
Fix a panic where it would try to encode array = [{}, 0] as:
[[array]] [[array]]
Which isn't valid as 0 isn't a table.
-
Some better error reporting for some errors.
golang/go
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.18.8
v1.18.7
v1.18.6
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
mongodb/mongo-go-driver
v1.11.0
: MongoDB Go Driver 1.11.0
The MongoDB Go Driver Team is pleased to release version 1.11.0 of the official Go driver.
Release Notes
This release improves the Timeout
API and behavior, reduces memory allocations when running most operations, and fixes several bugs. It also removes support for some legacy versions of MongoDB and Go. See below for more details.
Improve Timeout API and Behavior
Setting Timeout
on a mongo.Client
to enable a client-level default operation timeout is a feature added in version 1.10.0 of the driver. Various improvements have been made to this API. In particular:
- If
Timeout
is set, the driver will now retry as many times as possible before the context's deadline instead of just once. This should improve application resiliency when usingTimeout
. - The
mongo.IsTimeout
error helper has been extended to catch more timeout errors. - New GridFS methods have been added that take contexts instead of using
SetReadDeadline
andSetWriteDeadline
.
This feature will remain a provisional API while we gather feedback on its design and solidify our specification.
Reduce Memory Allocations
Reduce memory allocations in several critical paths in operation execution.
Fix SRV Polling
Fix a severe bug in SRV polling which may prevent changes in SRV records from updating the servers that the Go driver attempts to connect to when the MongoDB connection string includes a username and password.
Remove Support for Legacy MongoDB Versions
As of this release, the Go driver now requires MongoDB 3.6 or newer.
Remove Support for Legacy Go Versions
As of this release, the Go driver now requires Go 1.13 or newer.
Additional Features and Improvements
- Improve server-side resource cleanup when using the
Cursor.All
andSession.WithTransaction
functions. - Add support for GCP service accounts when using GCP KMS.
- Allow specifying the
SERVICE_HOST
Kerberos authentication parameter in theauthMechanismProperties
connection string option. - Improve error message when operations fail due to context cancellation.
For a full list of tickets included in this release, please see the links below:
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.10.4
: MongoDB Go Driver 1.10.4
The MongoDB Go Driver Team is pleased to release version 1.10.4 of the official Go driver.
Release Notes
This release contains several bugfixes. One of the bugfixes removes a severe bug in SRV polling which may prevent changes in SRV records from updating the servers that the Go Driver attempts to connect to when the MongoDB connection string includes a username and password.
For a full list of tickets included in this release, please see the links below:
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.10.3
: MongoDB Go Driver 1.10.3
The MongoDB Go Driver Team is pleased to release version 1.10.3 of the official Go driver.
Release Notes
This release contains several bugfixes.
For a full list of tickets included in this release, please see the links below:
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.10.2
: MongoDB Go Driver 1.10.2
The MongoDB Go Driver Team is pleased to release version 1.10.2 of the official Go driver.
Release Notes
This release stops treating context errors as retryable network errors where possible.
For a full list of tickets included in this release, please see the links below:
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.10.1
: MongoDB Go Driver 1.10.1
The MongoDB Go Driver Team is pleased to release version 1.10.1 of the official Go driver.
Release Notes
This release, along with the libmongocrypt v1.5.2 release, fixes a potential encryption key corruption bug in ClientEncryption.RewrapManyDataKey
that can lead to encrypted data corruption when rotating encryption keys backed by GCP or Azure key services.
This release also removes potentially confusing deprecation warnings added to some existing timeout mechanisms in the v1.10.0 release.
Fix for potential data corruption when rotating encryption keys
Fixes a potential encryption key corruption bug in ClientEncryption.RewrapManyDataKey
that can lead to encrypted data corruption when rotating encryption keys backed by GCP or Azure key services. See the libmongocrypt v1.5.2 release notes for more details about the bug. ClientEncryption.RewrapManyDataKey
will now return an error if the linked version of libmongocrypt
is less than 1.5.2.
For a full list of tickets included in this release, please see the links below:
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 - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.