Skip to content

Commit 4dff01f

Browse files
chore(deps): update module github.com/spf13/cobra to v1.10.1 (googleapis#1303)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/spf13/cobra](https://redirect.github.com/spf13/cobra) | `v1.9.1` -> `v1.10.1` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcobra/v1.9.1/v1.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>spf13/cobra (github.com/spf13/cobra)</summary> ### [`v1.10.1`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.1) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.10.0...v1.10.1) ##### 🐛 Fix - chore: upgrade pflags v1.0.9 by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [#&#8203;2305](https://redirect.github.com/spf13/cobra/pull/2305) v1.0.9 of pflags brought back `ParseErrorsWhitelist` and marked it as deprecated **Full Changelog**: <spf13/cobra@v1.10.0...v1.10.1> ### [`v1.10.0`](https://redirect.github.com/spf13/cobra/releases/tag/v1.10.0) [Compare Source](https://redirect.github.com/spf13/cobra/compare/v1.9.1...v1.10.0) #### What's Changed ##### 🚨 Attention! - Bump pflag to 1.0.8 by [@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) in [#&#8203;2303](https://redirect.github.com/spf13/cobra/pull/2303) This version of `pflag` carried a breaking change: it renamed `ParseErrorsWhitelist` to `ParseErrorsAllowlist` which can break builds if both `pflag` and `cobra` are dependencies in your project. - If you use both `pflag and `cobra`, upgrade `pflag`to 1.0.8 and`cobra`to`1.10.0\` - ***or*** use the newer, fixed version of `pflag` v1.0.9 which keeps the deprecated `ParseErrorsWhitelist` More details can be found here: [#&#8203;2303 (comment)](https://redirect.github.com/spf13/cobra/pull/2303#issuecomment-3242333515) ##### ✨ Features - Flow context to command in SetHelpFunc by [@&#8203;Frassle](https://redirect.github.com/Frassle) in [#&#8203;2241](https://redirect.github.com/spf13/cobra/pull/2241) - The default ShellCompDirective can be customized for a command and its subcommands by [@&#8203;albers](https://redirect.github.com/albers) in [#&#8203;2238](https://redirect.github.com/spf13/cobra/pull/2238) ##### 🐛 Fix - Upgrade golangci-lint to v2, address findings by [@&#8203;scop](https://redirect.github.com/scop) in [#&#8203;2279](https://redirect.github.com/spf13/cobra/pull/2279) ##### 🪠 Testing - Test with Go 1.24 by [@&#8203;harryzcy](https://redirect.github.com/harryzcy) in [#&#8203;2236](https://redirect.github.com/spf13/cobra/pull/2236) - chore: Rm GitHub Action PR size labeler by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [#&#8203;2256](https://redirect.github.com/spf13/cobra/pull/2256) ##### 📝 Docs - Remove traling curlybrace by [@&#8203;yedayak](https://redirect.github.com/yedayak) in [#&#8203;2237](https://redirect.github.com/spf13/cobra/pull/2237) - Update command.go by [@&#8203;styee](https://redirect.github.com/styee) in [#&#8203;2248](https://redirect.github.com/spf13/cobra/pull/2248) - feat: Add security policy by [@&#8203;jpmcb](https://redirect.github.com/jpmcb) in [#&#8203;2253](https://redirect.github.com/spf13/cobra/pull/2253) - Update Readme (Warp) by [@&#8203;ericdachen](https://redirect.github.com/ericdachen) in [#&#8203;2267](https://redirect.github.com/spf13/cobra/pull/2267) - Add Periscope to the list of projects using Cobra by [@&#8203;anishathalye](https://redirect.github.com/anishathalye) in [#&#8203;2299](https://redirect.github.com/spf13/cobra/pull/2299) #### New Contributors - [@&#8203;harryzcy](https://redirect.github.com/harryzcy) made their first contribution in [#&#8203;2236](https://redirect.github.com/spf13/cobra/pull/2236) - [@&#8203;yedayak](https://redirect.github.com/yedayak) made their first contribution in [#&#8203;2237](https://redirect.github.com/spf13/cobra/pull/2237) - [@&#8203;Frassle](https://redirect.github.com/Frassle) made their first contribution in [#&#8203;2241](https://redirect.github.com/spf13/cobra/pull/2241) - [@&#8203;styee](https://redirect.github.com/styee) made their first contribution in [#&#8203;2248](https://redirect.github.com/spf13/cobra/pull/2248) - [@&#8203;ericdachen](https://redirect.github.com/ericdachen) made their first contribution in [#&#8203;2267](https://redirect.github.com/spf13/cobra/pull/2267) - [@&#8203;albers](https://redirect.github.com/albers) made their first contribution in [#&#8203;2238](https://redirect.github.com/spf13/cobra/pull/2238) - [@&#8203;anishathalye](https://redirect.github.com/anishathalye) made their first contribution in [#&#8203;2299](https://redirect.github.com/spf13/cobra/pull/2299) - [@&#8203;tomasaschan](https://redirect.github.com/tomasaschan) made their first contribution in [#&#8203;2303](https://redirect.github.com/spf13/cobra/pull/2303) **Full Changelog**: <spf13/cobra@v1.9.1...v1.9.2> </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/googleapis/genai-toolbox). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuMTMwLjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: Averi Kitsch <akitsch@google.com>
1 parent 0e04381 commit 4dff01f

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ require (
3636
github.com/nakagami/firebirdsql v0.9.15
3737
github.com/neo4j/neo4j-go-driver/v5 v5.28.3
3838
github.com/redis/go-redis/v9 v9.14.0
39-
github.com/spf13/cobra v1.9.1
39+
github.com/spf13/cobra v1.10.1
4040
github.com/thlib/go-timezone-local v0.0.7
4141
github.com/trinodb/trino-go-client v0.329.0
4242
github.com/valkey-io/valkey-go v1.0.64
@@ -142,7 +142,7 @@ require (
142142
github.com/pierrec/lz4/v4 v4.1.22 // indirect
143143
github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
144144
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
145-
github.com/spf13/pflag v1.0.6 // indirect
145+
github.com/spf13/pflag v1.0.9 // indirect
146146
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
147147
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
148148
github.com/xdg-go/scram v1.1.2 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1229,10 +1229,10 @@ github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasO
12291229
github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4=
12301230
github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
12311231
github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
1232-
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
1233-
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
1234-
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
1235-
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
1232+
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
1233+
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
1234+
github.com/spf13/pflag v1.0.9 h1:9exaQaMOCwffKiiiYk6/BndUBv+iRViNW+4lEMi0PvY=
1235+
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
12361236
github.com/spiffe/go-spiffe/v2 v2.5.0 h1:N2I01KCUkv1FAjZXJMwh95KK1ZIQLYbPfhaxw8WS0hE=
12371237
github.com/spiffe/go-spiffe/v2 v2.5.0/go.mod h1:P+NxobPc6wXhVtINNtFjNWGBTreew1GBUCwT2wPmb7g=
12381238
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

0 commit comments

Comments
 (0)