Skip to content

Commit 12b3477

Browse files
fix(deps): update module github.com/spf13/cobra to v1.7.0 (#587)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/cobra](https://togithub.com/spf13/cobra) | require | minor | `v1.6.1` -> `v1.7.0` | --- ### Release Notes <details> <summary>spf13/cobra</summary> ### [`v1.7.0`](https://togithub.com/spf13/cobra/releases/tag/v1.7.0) [Compare Source](https://togithub.com/spf13/cobra/compare/v1.6.1...v1.7.0) ##### ✨ Features - Allow to preserve ordering of completions in `bash`, `zsh`, `pwsh`, & `fish`: [@&#8203;h4ck3rk3y](https://togithub.com/h4ck3rk3y) [#&#8203;1903](https://togithub.com/spf13/cobra/issues/1903) - Add support for PowerShell 7.2+ in completions: [@&#8203;oldium](https://togithub.com/oldium) [#&#8203;1916](https://togithub.com/spf13/cobra/issues/1916) - Allow sourcing zsh completion script: [@&#8203;marckhouzam](https://togithub.com/marckhouzam) [#&#8203;1917](https://togithub.com/spf13/cobra/issues/1917) ##### 🐛 Bug fixes - Don't remove flag values that match sub-command name: [@&#8203;brianpursley](https://togithub.com/brianpursley) [#&#8203;1781](https://togithub.com/spf13/cobra/issues/1781) - Fix powershell completions not returning single word: [@&#8203;totkeks](https://togithub.com/totkeks) [#&#8203;1850](https://togithub.com/spf13/cobra/issues/1850) - Remove masked `template` import variable name: [@&#8203;yashLadha](https://togithub.com/yashLadha) [#&#8203;1879](https://togithub.com/spf13/cobra/issues/1879) - Correctly detect completions with dash in argument: [@&#8203;oncilla](https://togithub.com/oncilla) [#&#8203;1817](https://togithub.com/spf13/cobra/issues/1817) ##### 🧪 Testing & CI/CD - Deprecate Go 1.15 in CI: [@&#8203;umarcor](https://togithub.com/umarcor) [#&#8203;1866](https://togithub.com/spf13/cobra/issues/1866) - Deprecate Go 1.16 in CI: [@&#8203;umarcor](https://togithub.com/umarcor) [#&#8203;1926](https://togithub.com/spf13/cobra/issues/1926) - Add testing for Go 1.20 in CI: [@&#8203;umarcor](https://togithub.com/umarcor) [#&#8203;1925](https://togithub.com/spf13/cobra/issues/1925) - Add tests to illustrate unknown flag bug: [@&#8203;brianpursley](https://togithub.com/brianpursley) [#&#8203;1854](https://togithub.com/spf13/cobra/issues/1854) ##### 🔧 Maintenance - Update main image to better handle dark backgrounds: [@&#8203;Deleplace](https://togithub.com/Deleplace) and [@&#8203;marckhouzam](https://togithub.com/marckhouzam) [#&#8203;1883](https://togithub.com/spf13/cobra/issues/1883) - Fix `stale.yaml` mispellings: [@&#8203;enrichman](https://togithub.com/enrichman) [#&#8203;1863](https://togithub.com/spf13/cobra/issues/1863) - Remove stale bot from GitHub actions: [@&#8203;jpmcb](https://togithub.com/jpmcb) [#&#8203;1908](https://togithub.com/spf13/cobra/issues/1908) - Add makefile target for installing dependencies: [@&#8203;umarcor](https://togithub.com/umarcor) [#&#8203;1865](https://togithub.com/spf13/cobra/issues/1865) - Add Sia to projects using Cobra: [@&#8203;mike76-dev](https://togithub.com/mike76-dev) [#&#8203;1844](https://togithub.com/spf13/cobra/issues/1844) - Add `Vitess` and `Arewefastyet` to projects using cobra: [@&#8203;frouioui](https://togithub.com/frouioui) [#&#8203;1932](https://togithub.com/spf13/cobra/issues/1932) - Fixup for Kubescape github org: [@&#8203;dwertent](https://togithub.com/dwertent) [#&#8203;1874](https://togithub.com/spf13/cobra/issues/1874) - Fix route for GitHub workflows badge: [@&#8203;sh-cho](https://togithub.com/sh-cho) [#&#8203;1884](https://togithub.com/spf13/cobra/issues/1884) - Fixup for GoDoc style documentation: [@&#8203;yashLadha](https://togithub.com/yashLadha) [#&#8203;1885](https://togithub.com/spf13/cobra/issues/1885) - Various bash scripting improvements for completion: [@&#8203;scop](https://togithub.com/scop) [#&#8203;1702](https://togithub.com/spf13/cobra/issues/1702) - Add Constellation to projects using Cobra: [@&#8203;datosh](https://togithub.com/datosh) [#&#8203;1829](https://togithub.com/spf13/cobra/issues/1829) ##### ✏️ Documentation - Add documentation about disabling completion descriptions: [@&#8203;Shihta](https://togithub.com/Shihta) [#&#8203;1901](https://togithub.com/spf13/cobra/issues/1901) - Improve `MarkFlagsMutuallyExclusive` example in user guide: [@&#8203;janhn](https://togithub.com/janhn) [#&#8203;1904](https://togithub.com/spf13/cobra/issues/1904) - Update `shell_completions.md`: [@&#8203;gusega](https://togithub.com/gusega) [#&#8203;1907](https://togithub.com/spf13/cobra/issues/1907) - Update copywrite year: [@&#8203;umarcor](https://togithub.com/umarcor) [#&#8203;1927](https://togithub.com/spf13/cobra/issues/1927) - Document suggested layout of subcommands: [@&#8203;lcarva](https://togithub.com/lcarva) [#&#8203;1930](https://togithub.com/spf13/cobra/issues/1930) - Replace deprecated ExactValidArgs with MatchAll in doc: [@&#8203;doniacld](https://togithub.com/doniacld) [#&#8203;1836](https://togithub.com/spf13/cobra/issues/1836) *** This release contains several long running fixes, improvements to powershell completions, and further optimizations for completions. Thank you everyone who contributed to this release and all your hard work! Cobra and this community would never be possible without all of you! 🐍 Full changelog: spf13/cobra@v1.6.1...v1.7.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/open-feature/flagd). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4zMi4yIiwidXBkYXRlZEluVmVyIjoiMzUuMzIuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent e3dfbc6 commit 12b3477

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

flagd-proxy/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/dimiro1/banner v1.1.0
77
github.com/mattn/go-colorable v0.1.13
88
github.com/open-feature/flagd/core v0.5.2
9-
github.com/spf13/cobra v1.6.1
9+
github.com/spf13/cobra v1.7.0
1010
github.com/spf13/viper v1.15.0
1111
go.uber.org/zap v1.24.0
1212
)

flagd-proxy/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,8 @@ github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
706706
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
707707
github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
708708
github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
709+
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
710+
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
709711
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
710712
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
711713
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=

flagd/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/open-feature/flagd/core v0.5.2
1010
github.com/open-feature/go-sdk-contrib/providers/flagd v0.1.9
1111
github.com/open-feature/go-sdk-contrib/tests/flagd v1.2.1
12-
github.com/spf13/cobra v1.6.1
12+
github.com/spf13/cobra v1.7.0
1313
github.com/spf13/viper v1.15.0
1414
go.uber.org/zap v1.24.0
1515
)

flagd/go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155
750750
github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
751751
github.com/spf13/cobra v1.6.1 h1:o94oiPyS4KD1mPy2fmcYYHHfCxLqYjJOhGsCHFZtEzA=
752752
github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
753+
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
754+
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
753755
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
754756
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
755757
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=

0 commit comments

Comments
 (0)