Skip to content

Commit

Permalink
fix(deps): update module github.com/spf13/cobra to v1.9.0 (#370)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/spf13/cobra](https://github.com/spf13/cobra) |
`v1.8.1` -> `v1.9.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fspf13%2fcobra/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fspf13%2fcobra/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fspf13%2fcobra/v1.8.1/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fspf13%2fcobra/v1.8.1/v1.9.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`v1.9.0`](https://github.com/spf13/cobra/releases/tag/v1.9.0)

[Compare
Source](https://github.com/spf13/cobra/compare/v1.8.1...v1.9.0)

#### ✨ Features

- Allow linker to perform deadcode elimination for program using Cobra
by [@&#8203;aarzilli](https://github.com/aarzilli) in
[https://github.com/spf13/cobra/pull/1956](https://github.com/spf13/cobra/pull/1956)
- Add default completion command even if there are no other sub-commands
by [@&#8203;marckhouzam](https://github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/1559](https://github.com/spf13/cobra/pull/1559)
- Add CompletionWithDesc helper by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/spf13/cobra/pull/2231](https://github.com/spf13/cobra/pull/2231)

#### 🐛 Fixes

- Fix deprecation comment for Command.SetOutput by
[@&#8203;thaJeztah](https://github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2172](https://github.com/spf13/cobra/pull/2172)
- fix(completions): Complete map flags multiple times by
[@&#8203;gabe565](https://github.com/gabe565) in
[https://github.com/spf13/cobra/pull/2174](https://github.com/spf13/cobra/pull/2174)
- Replace deprecated ioutil usage by
[@&#8203;nirs](https://github.com/nirs) in
[https://github.com/spf13/cobra/pull/2181](https://github.com/spf13/cobra/pull/2181)
- Fix --version help and output for plugins by
[@&#8203;nirs](https://github.com/nirs) in
[https://github.com/spf13/cobra/pull/2180](https://github.com/spf13/cobra/pull/2180)
- Allow to reset the templates to the default by
[@&#8203;marckhouzam](https://github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/2229](https://github.com/spf13/cobra/pull/2229)

#### 🤖 Completions

- Make Powershell completion work in constrained mode by
[@&#8203;lstemplinger](https://github.com/lstemplinger) in
[https://github.com/spf13/cobra/pull/2196](https://github.com/spf13/cobra/pull/2196)
- Improve detection for flags that accept multiple values by
[@&#8203;thaJeztah](https://github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2210](https://github.com/spf13/cobra/pull/2210)
- add CompletionFunc type to help with completions by
[@&#8203;ccoVeille](https://github.com/ccoVeille) in
[https://github.com/spf13/cobra/pull/2220](https://github.com/spf13/cobra/pull/2220)
- Add similar whitespace escape logic to bash v2 completions than in
other completions by
[@&#8203;kangasta](https://github.com/kangasta) in
[https://github.com/spf13/cobra/pull/1743](https://github.com/spf13/cobra/pull/1743)
- Print ActiveHelp for bash along other completions by
[@&#8203;marckhouzam](https://github.com/marckhouzam) in
[https://github.com/spf13/cobra/pull/2076](https://github.com/spf13/cobra/pull/2076)
- fix(bash): nounset unbound file filter variable on empty extension by
[@&#8203;scop](https://github.com/scop) in
[https://github.com/spf13/cobra/pull/2228](https://github.com/spf13/cobra/pull/2228)

#### 🧪 Testing

- Test also with go 1.23 by
[@&#8203;nirs](https://github.com/nirs) in
[https://github.com/spf13/cobra/pull/2182](https://github.com/spf13/cobra/pull/2182)
- Make detection for test-binary more universal by
[@&#8203;thaJeztah](https://github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2173](https://github.com/spf13/cobra/pull/2173)

#### ✍🏼 Documentation

- docs: update README.md by
[@&#8203;eltociear](https://github.com/eltociear) in
[https://github.com/spf13/cobra/pull/2197](https://github.com/spf13/cobra/pull/2197)
- Improve site formatting by
[@&#8203;nirs](https://github.com/nirs) in
[https://github.com/spf13/cobra/pull/2183](https://github.com/spf13/cobra/pull/2183)
- doc: add Conduit by [@&#8203;raulb](https://github.com/raulb)
in
[https://github.com/spf13/cobra/pull/2230](https://github.com/spf13/cobra/pull/2230)
- doc: azion project added to the list of CLIs that use cobra by
[@&#8203;maxwelbm](https://github.com/maxwelbm) in
[https://github.com/spf13/cobra/pull/2198](https://github.com/spf13/cobra/pull/2198)
- Fix broken links in active_help.md by
[@&#8203;vuil](https://github.com/vuil) in
[https://github.com/spf13/cobra/pull/2202](https://github.com/spf13/cobra/pull/2202)
- chore: fix function name in comment by
[@&#8203;zhuhaicity](https://github.com/zhuhaicity) in
[https://github.com/spf13/cobra/pull/2216](https://github.com/spf13/cobra/pull/2216)

#### 🔧 Dependency upgrades

- build(deps): bump github.com/cpuguy83/go-md2man/v2 from 2.0.5 to 2.0.6
by [@&#8203;thaJeztah](https://github.com/thaJeztah) in
[https://github.com/spf13/cobra/pull/2206](https://github.com/spf13/cobra/pull/2206)
- Update to latest go-md2man by
[@&#8203;mikelolasagasti](https://github.com/mikelolasagasti)
in
[https://github.com/spf13/cobra/pull/2201](https://github.com/spf13/cobra/pull/2201)
- Upgrade `pflag` dependencies for v1.9.0 by
[@&#8203;jpmcb](https://github.com/jpmcb) in
[https://github.com/spf13/cobra/pull/2233](https://github.com/spf13/cobra/pull/2233)

***

Thank you to all of our amazing contributors and all the great work
that's been going into the completions feature!!

##### 👋🏼 New Contributors

- [@&#8203;gabe565](https://github.com/gabe565) made their
first contribution in
[https://github.com/spf13/cobra/pull/2174](https://github.com/spf13/cobra/pull/2174)
- [@&#8203;maxwelbm](https://github.com/maxwelbm) made their
first contribution in
[https://github.com/spf13/cobra/pull/2198](https://github.com/spf13/cobra/pull/2198)
- [@&#8203;lstemplinger](https://github.com/lstemplinger) made
their first contribution in
[https://github.com/spf13/cobra/pull/2196](https://github.com/spf13/cobra/pull/2196)
- [@&#8203;vuil](https://github.com/vuil) made their first
contribution in
[https://github.com/spf13/cobra/pull/2202](https://github.com/spf13/cobra/pull/2202)
- [@&#8203;mikelolasagasti](https://github.com/mikelolasagasti)
made their first contribution in
[https://github.com/spf13/cobra/pull/2201](https://github.com/spf13/cobra/pull/2201)
- [@&#8203;zhuhaicity](https://github.com/zhuhaicity) made
their first contribution in
[https://github.com/spf13/cobra/pull/2216](https://github.com/spf13/cobra/pull/2216)
- [@&#8203;ccoVeille](https://github.com/ccoVeille) made their
first contribution in
[https://github.com/spf13/cobra/pull/2220](https://github.com/spf13/cobra/pull/2220)
- [@&#8203;kangasta](https://github.com/kangasta) made their
first contribution in
[https://github.com/spf13/cobra/pull/1743](https://github.com/spf13/cobra/pull/1743)
- [@&#8203;aarzilli](https://github.com/aarzilli) made their
first contribution in
[https://github.com/spf13/cobra/pull/1956](https://github.com/spf13/cobra/pull/1956)

**Full Changelog**:
spf13/cobra@v1.8.1...v1.9.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, 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/diranged/oz).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjcuMSIsInVwZGF0ZWRJblZlciI6IjM5LjE2Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 16, 2025
1 parent 79687a3 commit 22a2c9c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/ivanpirog/coloredcobra v1.0.1
github.com/onsi/ginkgo/v2 v2.22.2
github.com/onsi/gomega v1.36.2
github.com/spf13/cobra v1.8.1
github.com/spf13/cobra v1.9.0
go.uber.org/zap v1.27.0
k8s.io/api v0.32.2
k8s.io/apimachinery v0.32.2
Expand Down Expand Up @@ -66,7 +66,7 @@ require (
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.61.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.6 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/xlab/treeprint v1.2.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
9 changes: 5 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2y
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down Expand Up @@ -132,10 +132,11 @@ github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQD
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM=
github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/cobra v1.9.0 h1:Py5fIuq/lJsRYxcxfOtsJqpmwJWCMOUy2tMJYV8TNHE=
github.com/spf13/cobra v1.9.0/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY=
github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA=
Expand Down

0 comments on commit 22a2c9c

Please sign in to comment.