Skip to content

Commit ce360a2

Browse files
Bump github.com/spf13/pflag from 1.0.6 to 1.0.10 in /llnotes (#564)
Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.6 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> <h2>v1.0.7</h2> <h2>What's Changed</h2> <ul> <li>Fix defaultIsZeroValue check for generic Value types by <a href="https://github.com/MidnightRocket"><code>@​MidnightRocket</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/422">spf13/pflag#422</a></li> <li>feat: Use structs for errors returned by pflag. by <a href="https://github.com/eth-p"><code>@​eth-p</code></a> in <a href="https://redirect.github.com/spf13/pflag/pull/425">spf13/pflag#425</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.6...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.6&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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 30070f0 commit ce360a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llnotes/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/databricks/databricks-sdk-go v0.81.0
77
github.com/databrickslabs/sandbox/go-libs v0.4.1
88
github.com/fatih/color v1.18.0
9-
github.com/spf13/pflag v1.0.7
9+
github.com/spf13/pflag v1.0.10
1010
)
1111

1212
require (

llnotes/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cA
7474
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
7575
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
7676
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
77-
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
78-
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
77+
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
78+
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
7979
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
8080
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
8181
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=

0 commit comments

Comments
 (0)