Skip to content

Commit 166ba70

Browse files
authored
build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 (#486)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.7 to 1.0.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/spf13/pflag/releases">github.com/spf13/pflag's releases</a>.</em></p> <blockquote> <h2>v1.0.10</h2> <h2>What's Changed</h2> <ul> <li>fix deprecation comment for (FlagSet.)ParseErrorsWhitelist by <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/447">spf13/pflag#447</a></li> <li>remove uses of errors.Is, which requires go1.13, move go1.16/go1.21 tests to separate file by <a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/448">spf13/pflag#448</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/thaJeztah"><code>@​thaJeztah</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/447">spf13/pflag#447</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10">https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10</a></p> <h2>v1.0.9</h2> <h2>What's Changed</h2> <ul> <li>fix: Restore ParseErrorsWhitelist name for now by <a href="https://github.com/tomasaschan"><code>@​tomasaschan</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/446">spf13/pflag#446</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9">https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9</a></p> <h2>v1.0.8</h2> <h2>:warning: Breaking Change</h2> <p>This version, while only a patch bump, includes a (very minor) breaking change: the <code>flag.ParseErrorsWhitelist</code> struct and corresponding <code>FlagSet.parseErrorsWhitelist</code> field have been renamed to <code>ParseErrorsAllowlist</code>.</p> <p>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.</p> <p>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.</p> <h2>What's Changed</h2> <ul> <li>Remove Redundant &quot;Unknown-Flag&quot; Error by <a href="https://github.com/vaguecoder"><code>@​vaguecoder</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/364">spf13/pflag#364</a></li> <li>Switching from whitelist to Allowlist terminology by <a href="https://github.com/dubrie"><code>@​dubrie</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/261">spf13/pflag#261</a></li> <li>Omit zero time.Time default from usage line by <a href="https://github.com/mologie"><code>@​mologie</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/438">spf13/pflag#438</a></li> <li>implement CopyToGoFlagSet by <a href="https://github.com/pohly"><code>@​pohly</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/330">spf13/pflag#330</a></li> <li>flag: Emulate stdlib behavior and do not print ErrHelp by <a href="https://github.com/tmc"><code>@​tmc</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/407">spf13/pflag#407</a></li> <li>Print Default Values of String-to-String in Sorted Order by <a href="https://github.com/vaguecoder"><code>@​vaguecoder</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/365">spf13/pflag#365</a></li> <li>fix: Don't print ErrHelp in ParseAll by <a href="https://github.com/tomasaschan"><code>@​tomasaschan</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/443">spf13/pflag#443</a></li> <li>Reset args on re-parse even if empty by <a href="https://github.com/tomasaschan"><code>@​tomasaschan</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/444">spf13/pflag#444</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/vaguecoder"><code>@​vaguecoder</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/364">spf13/pflag#364</a></li> <li><a href="https://github.com/dubrie"><code>@​dubrie</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/261">spf13/pflag#261</a></li> <li><a href="https://github.com/mologie"><code>@​mologie</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/438">spf13/pflag#438</a></li> <li><a href="https://github.com/pohly"><code>@​pohly</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/330">spf13/pflag#330</a></li> <li><a href="https://github.com/tmc"><code>@​tmc</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/407">spf13/pflag#407</a></li> <li><a href="https://github.com/tomasaschan"><code>@​tomasaschan</code></a> made their first contribution in <a href="https://redirect.github.com/spf13/pflag/pull/443">spf13/pflag#443</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8">https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/spf13/pflag/commit/0491e5702ad2bb108bc519a5221bcc0f52aa9564"><code>0491e57</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/448">#448</a> from thaJeztah/fix_go_version</li> <li><a href="https://github.com/spf13/pflag/commit/72abab1d978352c34a7274f374d30f413e1c83f3"><code>72abab1</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/447">#447</a> from thaJeztah/fix_deprecation_comment</li> <li><a href="https://github.com/spf13/pflag/commit/7e4dfb1e325ce429e29994933210abe53de7041d"><code>7e4dfb1</code></a> Test on Go 1.12</li> <li><a href="https://github.com/spf13/pflag/commit/18a9d17d0ee8bd64d5c2071fc031be86fa2cd328"><code>18a9d17</code></a> move Func, BoolFunc, tests as they require go1.21</li> <li><a href="https://github.com/spf13/pflag/commit/c5b9e989df31c5d19573e50d6188550ad51a971e"><code>c5b9e98</code></a> remove uses of errors.Is, which requires go1.13</li> <li><a href="https://github.com/spf13/pflag/commit/45a48733e35ba296a5f4dcc2b01996b89dc91a06"><code>45a4873</code></a> fix deprecation comment for (FlagSet.)ParseErrorsWhitelist</li> <li><a href="https://github.com/spf13/pflag/commit/10438578954bba2527fe5cae3684d4532b064bbe"><code>1043857</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/446">#446</a> from spf13/fix-backwards-compat</li> <li><a href="https://github.com/spf13/pflag/commit/7412009ab0f29ad89cbc6625911a58c0618cf31e"><code>7412009</code></a> fix: Restore ParseErrorsWhitelist name for now</li> <li><a href="https://github.com/spf13/pflag/commit/b9c16fa5ec31cd7339621b8d208bf4f2769486c4"><code>b9c16fa</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/444">#444</a> from spf13/reset-args-even-if-empty</li> <li><a href="https://github.com/spf13/pflag/commit/40abc492254e0920cbb9fb31d6fe7184e746ad31"><code>40abc49</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/443">#443</a> from spf13/silence-errhelp</li> <li>Additional commits viewable in <a href="https://github.com/spf13/pflag/compare/v1.0.7...v1.0.10">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/spf13/pflag&package-manager=go_modules&previous-version=1.0.7&new-version=1.0.10)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 7938fa8 + 6053524 commit 166ba70

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/google/uuid v1.6.0
1010
github.com/onsi/gomega v1.38.2
1111
github.com/rs/zerolog v1.34.0
12-
github.com/spf13/pflag v1.0.7
12+
github.com/spf13/pflag v1.0.10
1313
github.com/tinkerbell/tinkerbell/api v0.20.1
1414
k8s.io/api v0.33.3
1515
k8s.io/apimachinery v0.33.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
150150
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
151151
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
152152
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
153-
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
154-
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
153+
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
154+
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
155155
github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs=
156156
github.com/stoewer/go-strcase v1.3.0/go.mod h1:fAH5hQ5pehh+j3nZfvwdk2RgEgQjAoM8wodgtPmh1xo=
157157
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

0 commit comments

Comments
 (0)