Support usage as plugin for tools like kubectl by @nirs in spf13/cobra#2018 - this means that programs that utilize a "plugin-like" structure have much better support and usage (like for completions, command paths, etc.)
Add 'one required flag' group by @marevers in spf13/cobra#1952 - this includes a new MarkFlagsOneRequired API for flags which can be used to mark a flag group as required and cause command failure if at least one is not used when invoked.
Customizable error message prefix by @5ouma in spf13/cobra#2023 - This adds the SetErrPrefix and ErrPrefix APIs on the Command struct to allow for setting a custom prefix for errors
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 4 updates: github.com/quic-go/quic-go, github.com/spf13/cobra, golang.org/x/sync and golang.org/x/sys.
Updates
github.com/quic-go/quic-go
from 0.39.3 to 0.40.0Release notes
Sourced from github.com/quic-go/quic-go's releases.
Commits
a360354
document what happens to established connections on Listener.Close (#4138)6eb0cac
fix race condition in multiplex integration test (#4136)5311f81
README: link to webtransport-go repo (#4117)dda63b9
don't close established connections on Listener.Close, when using a Transport...ef800d6
handshake: set MinVersion on the Config returned by GetConfigForClient (#4134)d309060
handshake: clone the tls.Config returned by GetConfigForClient (#4133)e2622bf
reject ClientHellos that offer TLS versions older than 1.3 (for Go 1.20) (#4130)746290b
never allow 0-RTT when using Dial, even if the session ticket allows it (#4125)1bcec70
ci: run linter on all supported Go versions (#4126)30f9c01
use typed atomics in integration tests (#4120)Updates
github.com/spf13/cobra
from 1.7.0 to 1.8.0Release notes
Sourced from github.com/spf13/cobra's releases.
Commits
a0a6ae0
Improve API to get flag completion function (#2063)890302a
Support usage as plugin for tools like kubectl (#2018)48cea5c
build(deps): bump actions/checkout from 3 to 4 (#2028)22953d8
Replace all non-alphanumerics in active help env var program prefix (#1940)00b68a1
Add tests for flag completion registration (#2053)b711e87
Don't complete --help flag when flag parsing disabled (#2061)8b1eba4
Fix linter errors (#2052)4cafa37
Allow running persistent run hooks of all parents (#2044)5c962a2
build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.2 to 2.0.3 (#2047)efe8fa3
build(deps): bump actions/setup-go from 3 to 4 (#1934)Updates
golang.org/x/sync
from 0.4.0 to 0.5.0Commits
10739b0
all: update go directive to 1.18Updates
golang.org/x/sys
from 0.13.0 to 0.14.0Commits
cb378ae
syscall: call getfsstat via libc on openbsd661d749
unix: use libc stubs for OpenBSD pledge+unveil1168e25
unix/linux: update Linux kernel to v6.6249e16f
unix: require minimum OpenBSD 6.4 for pledge, unveil1e63810
unix: stop counting trailing NUL for abstract addresses starting with NUL1bfbee0
all: update go directive to 1.181d9f0b6
unix: add linux cachestat system call8ccaaf0
windows: add GetFileTime6ee6208
windows: add missing TCP and UDP socket options and control message typesDependabot 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 show