1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2026-06-03 18:35:08 +02:00

chore(deps): update module github.com/spf13/pflag to v1.0.9 (#7282)

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [github.com/spf13/pflag](https://redirect.github.com/spf13/pflag) |
`v1.0.7` -> `v1.0.9` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fpflag/v1.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fpflag/v1.0.7/v1.0.9?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>spf13/pflag (github.com/spf13/pflag)</summary>

###
[`v1.0.9`](https://redirect.github.com/spf13/pflag/releases/tag/v1.0.9)

[Compare
Source](https://redirect.github.com/spf13/pflag/compare/v1.0.8...v1.0.9)

#### What's Changed

- fix: Restore ParseErrorsWhitelist name for now by
[@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) in
[#&#8203;446](https://redirect.github.com/spf13/pflag/pull/446)

**Full Changelog**:
<https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9>

###
[`v1.0.8`](https://redirect.github.com/spf13/pflag/releases/tag/v1.0.8)

[Compare
Source](https://redirect.github.com/spf13/pflag/compare/v1.0.7...v1.0.8)

#### ⚠️ Breaking Change

This version, while only a patch bump, includes a (very minor) breaking
change: the `flag.ParseErrorsWhitelist` struct and corresponding
`FlagSet.parseErrorsWhitelist` field have been renamed to
`ParseErrorsAllowlist`.

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.

#### What's Changed

- Remove Redundant "Unknown-Flag" Error by
[@&#8203;vaguecoder](https://redirect.github.com/vaguecoder) in
[#&#8203;364](https://redirect.github.com/spf13/pflag/pull/364)
- Switching from whitelist to Allowlist terminology by
[@&#8203;dubrie](https://redirect.github.com/dubrie) in
[#&#8203;261](https://redirect.github.com/spf13/pflag/pull/261)
- Omit zero time.Time default from usage line by
[@&#8203;mologie](https://redirect.github.com/mologie) in
[#&#8203;438](https://redirect.github.com/spf13/pflag/pull/438)
- implement CopyToGoFlagSet by
[@&#8203;pohly](https://redirect.github.com/pohly) in
[#&#8203;330](https://redirect.github.com/spf13/pflag/pull/330)
- flag: Emulate stdlib behavior and do not print ErrHelp by
[@&#8203;tmc](https://redirect.github.com/tmc) in
[#&#8203;407](https://redirect.github.com/spf13/pflag/pull/407)
- Print Default Values of String-to-String in Sorted Order by
[@&#8203;vaguecoder](https://redirect.github.com/vaguecoder) in
[#&#8203;365](https://redirect.github.com/spf13/pflag/pull/365)
- fix: Don't print ErrHelp in ParseAll by
[@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) in
[#&#8203;443](https://redirect.github.com/spf13/pflag/pull/443)
- Reset args on re-parse even if empty by
[@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) in
[#&#8203;444](https://redirect.github.com/spf13/pflag/pull/444)

#### New Contributors

- [@&#8203;vaguecoder](https://redirect.github.com/vaguecoder) made
their first contribution in
[#&#8203;364](https://redirect.github.com/spf13/pflag/pull/364)
- [@&#8203;dubrie](https://redirect.github.com/dubrie) made their first
contribution in
[#&#8203;261](https://redirect.github.com/spf13/pflag/pull/261)
- [@&#8203;mologie](https://redirect.github.com/mologie) made their
first contribution in
[#&#8203;438](https://redirect.github.com/spf13/pflag/pull/438)
- [@&#8203;pohly](https://redirect.github.com/pohly) made their first
contribution in
[#&#8203;330](https://redirect.github.com/spf13/pflag/pull/330)
- [@&#8203;tmc](https://redirect.github.com/tmc) made their first
contribution in
[#&#8203;407](https://redirect.github.com/spf13/pflag/pull/407)
- [@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) made
their first contribution in
[#&#8203;443](https://redirect.github.com/spf13/pflag/pull/443)

**Full Changelog**:
<https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-go).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiU2tpcCBDaGFuZ2Vsb2ciLCJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2025-09-01 11:12:12 +02:00
committed by GitHub
parent b0903afb45
commit f74ab342cc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ require (
github.com/spf13/afero v1.14.0 // indirect
github.com/spf13/cast v1.9.2 // indirect
github.com/spf13/cobra v1.9.1 // indirect
github.com/spf13/pflag v1.0.7 // indirect
github.com/spf13/pflag v1.0.9 // indirect
github.com/spf13/viper v1.20.1 // indirect
github.com/ssgreg/nlreturn/v2 v2.2.1 // indirect
github.com/stbenjam/no-sprintf-host-port v0.2.0 // indirect
+2 -2
View File
@@ -441,8 +441,8 @@ github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.20.1 h1:ZMi+z/lvLyPSCoNtFCpqjy0S4kPbirhpTMwl8BkW9X4=
github.com/spf13/viper v1.20.1/go.mod h1:P9Mdzt1zoHIG8m2eZQinpiBjo6kCmZSKBClNNqjJvu4=
github.com/ssgreg/nlreturn/v2 v2.2.1 h1:X4XDI7jstt3ySqGU86YGAURbxw3oTDPK9sPEi6YEwQ0=