Skip to content

Commit 256114e

Browse files
⬆️ Bump github.com/spf13/pflag from 1.0.7 to 1.0.9 in /utils (#690)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.7 to 1.0.9. <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.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/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><a href="https://github.com/spf13/pflag/commit/1bf832c6fec8a35a8c1d61e5fb14f5ce404197ef"><code>1bf832c</code></a> Use errors.Is instead of equality check</li> <li><a href="https://github.com/spf13/pflag/commit/d25dd242b134a8ca037812921a93cac978b86fd5"><code>d25dd24</code></a> Reset args on re-parse even if empty</li> <li><a href="https://github.com/spf13/pflag/commit/094909dbe8ce782026dd7c254622b06ec385b640"><code>094909d</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/365">#365</a> from vaguecoder/str2str-sorted</li> <li><a href="https://github.com/spf13/pflag/commit/ccb49e5fea9f96c72827c71454198b28bf11ef49"><code>ccb49e5</code></a> Print Default Values of String-to-String in Sorted Order</li> <li><a href="https://github.com/spf13/pflag/commit/b55ffb6b7ca272b5085317ae58e4631a0f90199d"><code>b55ffb6</code></a> fix: Don't print ErrHelp in ParseAll</li> <li><a href="https://github.com/spf13/pflag/commit/7c651d1d398142c3056ff45df14f2019bad2146d"><code>7c651d1</code></a> Merge pull request <a href="https://redirect.github.com/spf13/pflag/issues/407">#407</a> from tmc/fix-errhelp</li> <li>Additional commits viewable in <a href="https://github.com/spf13/pflag/compare/v1.0.7...v1.0.9">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.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Monty Bot <monty-bot@arm.com>
1 parent 75c47cd commit 256114e

File tree

8 files changed

+9
-3
lines changed

8 files changed

+9
-3
lines changed

changes/20250903063301.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

changes/20250903063328.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

changes/20250903063331.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

changes/20250903063356.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

changes/20250903063400.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

changes/20250903063456.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dependency upgrade: pflag-1.0.9

utils/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ require (
3838
github.com/sirupsen/logrus v1.9.3
3939
github.com/spaolacci/murmur3 v1.1.0
4040
github.com/spf13/afero v1.14.0
41-
github.com/spf13/pflag v1.0.7
41+
github.com/spf13/pflag v1.0.9
4242
github.com/spf13/viper v1.20.1
4343
github.com/stretchr/testify v1.11.1
4444
github.com/zalando/go-keyring v0.2.6

utils/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ github.com/spf13/afero v1.14.0 h1:9tH6MapGnn/j0eb0yIXiLjERO8RB6xIVZRDCX7PtqWA=
230230
github.com/spf13/afero v1.14.0/go.mod h1:acJQ8t0ohCGuMN3O+Pv0V0hgMxNYDlvdk+VTfyZmbYo=
231231
github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=
232232
github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
233-
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
234-
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
233+
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
234+
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
235235
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
236236
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
237237
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

0 commit comments

Comments
 (0)