Bump github.com/spf13/pflag from 1.0.6 to 1.0.9
Type: Pull Request
State: Closed
Association: Contributor
Comments: 4
(3 months ago)
(3 months ago)
(3 months ago)
dependencies go
Bumps github.com/spf13/pflag from 1.0.6 to 1.0.9.
Release notes
Sourced from github.com/spf13/pflag's releases.
v1.0.9
What's Changed
- fix: Restore ParseErrorsWhitelist name for now by
@tomasaschanin spf13/pflag#446Full Changelog: https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9
v1.0.8
:warning: Breaking Change
This version, while only a patch bump, includes a (very minor) breaking change: the
flag.ParseErrorsWhiteliststruct and correspondingFlagSet.parseErrorsWhitelistfield have been renamed toParseErrorsAllowlist.This should result in compilation errors in any code that uses these fields, which can be fixed by adjusting the names at call sites. There is no change in semantics or behavior of the struct or field referred to by these names. If your code compiles without errors after bumping to/past v1.0.8, you are not affected by this change.
The breaking change was reverted in v1.0.9, by means of re-introducing the old names with deprecation warnings. The plan is still to remove them in a future release, so if your code does depend on the old names, please change them to use the new names at your earliest convenience.
What's Changed
- Remove Redundant "Unknown-Flag" Error by
@vaguecoderin spf13/pflag#364- Switching from whitelist to Allowlist terminology by
@dubriein spf13/pflag#261- Omit zero time.Time default from usage line by
@mologiein spf13/pflag#438- implement CopyToGoFlagSet by
@pohlyin spf13/pflag#330- flag: Emulate stdlib behavior and do not print ErrHelp by
@tmcin spf13/pflag#407- Print Default Values of String-to-String in Sorted Order by
@vaguecoderin spf13/pflag#365- fix: Don't print ErrHelp in ParseAll by
@tomasaschanin spf13/pflag#443- Reset args on re-parse even if empty by
@tomasaschanin spf13/pflag#444New Contributors
@vaguecodermade their first contribution in spf13/pflag#364@dubriemade their first contribution in spf13/pflag#261@mologiemade their first contribution in spf13/pflag#438@pohlymade their first contribution in spf13/pflag#330@tmcmade their first contribution in spf13/pflag#407@tomasaschanmade their first contribution in spf13/pflag#443Full Changelog: https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8
v1.0.7
What's Changed
- Fix defaultIsZeroValue check for generic Value types by
@MidnightRocketin spf13/pflag#422- feat: Use structs for errors returned by pflag. by
@eth-pin spf13/pflag#425- Fix typos by
@co63ocin spf13/pflag#428- fix #423 : Add helper function and some documentation to parse shorthand go test flags. by
@valdarin spf13/pflag#424- add support equivalent to golang flag.TextVar(), also fixes the test failure as described in #368 by
@hujun-openin spf13/pflag#418- add support for Func() and BoolFunc() #426 by
@LeGECin spf13/pflag#429- fix: correct argument length check in FlagSet.Parse by
@ShawnJeffersonWangin spf13/pflag#409- fix usage message for func flags, fix arguments order by
@LeGECin spf13/pflag#431- Add support for time.Time flags by
@max-frankin spf13/pflag#348New Contributors
@MidnightRocketmade their first contribution in spf13/pflag#422
... (truncated)
Commits
1043857Merge pull request #446 from spf13/fix-backwards-compat7412009fix: Restore ParseErrorsWhitelist name for nowb9c16faMerge pull request #444 from spf13/reset-args-even-if-empty40abc49Merge pull request #443 from spf13/silence-errhelp1bf832cUse errors.Is instead of equality checkd25dd24Reset args on re-parse even if empty094909dMerge pull request #365 from vaguecoder/str2str-sortedccb49e5Print Default Values of String-to-String in Sorted Orderb55ffb6fix: Don't print ErrHelp in ParseAll7c651d1Merge pull request #407 from tmc/fix-errhelp- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+3
-2
Package Dependencies
Technical Details
| ID: | 6604458 |
| UUID: | 2791287603 |
| Node ID: | PR_kwDOODGMVM6mX6sz |
| Host: | GitHub |
| Repository: | github/github-mcp-server |
| Mergeable: | Yes |
| Merge State: | Unstable |