chore(deps): update go modules #102

Merged
CSRBot merged 1 commits from renovate/go-modules into master 2025-09-18 18:25:56 +02:00
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/spf13/cobra require minor v1.9.1 -> v1.10.1
github.com/spf13/pflag require patch v1.0.7 -> v1.0.10
github.com/spf13/viper require minor v1.20.1 -> v1.21.0

Release Notes

spf13/cobra (github.com/spf13/cobra)

v1.10.1

Compare Source

🐛 Fix

v1.0.9 of pflags brought back ParseErrorsWhitelist and marked it as deprecated

Full Changelog: https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1

v1.10.0

Compare Source

What's Changed

🚨 Attention!

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 pflagto 1.0.8 andcobrato1.10.0`
  • or use the newer, fixed version of pflag v1.0.9 which keeps the deprecated ParseErrorsWhitelist

More details can be found here: #​2303 (comment)

Features
🐛 Fix
🪠 Testing
📝 Docs

New Contributors

Full Changelog: https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2

spf13/pflag (github.com/spf13/pflag)

v1.0.10

Compare Source

What's Changed

  • fix deprecation comment for (FlagSet.)ParseErrorsWhitelist by @​thaJeztah in #​447
  • remove uses of errors.Is, which requires go1.13, move go1.16/go1.21 tests to separate file by @​thaJeztah in #​448

New Contributors

Full Changelog: https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10

v1.0.9

Compare Source

What's Changed

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

v1.0.8

Compare Source

⚠️ 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.

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.

What's Changed

New Contributors

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

spf13/viper (github.com/spf13/viper)

v1.21.0

Compare Source

What's Changed

Enhancements 🚀
Bug Fixes 🐛
Dependency Updates ⬆️
Other Changes

New Contributors

Full Changelog: https://github.com/spf13/viper/compare/v1.20.0...v1.21.0


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/spf13/cobra](https://github.com/spf13/cobra) | require | minor | `v1.9.1` -> `v1.10.1` | | [github.com/spf13/pflag](https://github.com/spf13/pflag) | require | patch | `v1.0.7` -> `v1.0.10` | | [github.com/spf13/viper](https://github.com/spf13/viper) | require | minor | `v1.20.1` -> `v1.21.0` | --- ### Release Notes <details> <summary>spf13/cobra (github.com/spf13/cobra)</summary> ### [`v1.10.1`](https://github.com/spf13/cobra/releases/tag/v1.10.1) [Compare Source](https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1) ##### 🐛 Fix - chore: upgrade pflags v1.0.9 by [@&#8203;jpmcb](https://github.com/jpmcb) in [#&#8203;2305](https://github.com/spf13/cobra/pull/2305) v1.0.9 of pflags brought back `ParseErrorsWhitelist` and marked it as deprecated **Full Changelog**: <https://github.com/spf13/cobra/compare/v1.10.0...v1.10.1> ### [`v1.10.0`](https://github.com/spf13/cobra/releases/tag/v1.10.0) [Compare Source](https://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://github.com/tomasaschan) in [#&#8203;2303](https://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://github.com/spf13/cobra/pull/2303#issuecomment-3242333515) ##### ✨ Features - Flow context to command in SetHelpFunc by [@&#8203;Frassle](https://github.com/Frassle) in [#&#8203;2241](https://github.com/spf13/cobra/pull/2241) - The default ShellCompDirective can be customized for a command and its subcommands by [@&#8203;albers](https://github.com/albers) in [#&#8203;2238](https://github.com/spf13/cobra/pull/2238) ##### 🐛 Fix - Upgrade golangci-lint to v2, address findings by [@&#8203;scop](https://github.com/scop) in [#&#8203;2279](https://github.com/spf13/cobra/pull/2279) ##### 🪠 Testing - Test with Go 1.24 by [@&#8203;harryzcy](https://github.com/harryzcy) in [#&#8203;2236](https://github.com/spf13/cobra/pull/2236) - chore: Rm GitHub Action PR size labeler by [@&#8203;jpmcb](https://github.com/jpmcb) in [#&#8203;2256](https://github.com/spf13/cobra/pull/2256) ##### 📝 Docs - Remove traling curlybrace by [@&#8203;yedayak](https://github.com/yedayak) in [#&#8203;2237](https://github.com/spf13/cobra/pull/2237) - Update command.go by [@&#8203;styee](https://github.com/styee) in [#&#8203;2248](https://github.com/spf13/cobra/pull/2248) - feat: Add security policy by [@&#8203;jpmcb](https://github.com/jpmcb) in [#&#8203;2253](https://github.com/spf13/cobra/pull/2253) - Update Readme (Warp) by [@&#8203;ericdachen](https://github.com/ericdachen) in [#&#8203;2267](https://github.com/spf13/cobra/pull/2267) - Add Periscope to the list of projects using Cobra by [@&#8203;anishathalye](https://github.com/anishathalye) in [#&#8203;2299](https://github.com/spf13/cobra/pull/2299) #### New Contributors - [@&#8203;harryzcy](https://github.com/harryzcy) made their first contribution in [#&#8203;2236](https://github.com/spf13/cobra/pull/2236) - [@&#8203;yedayak](https://github.com/yedayak) made their first contribution in [#&#8203;2237](https://github.com/spf13/cobra/pull/2237) - [@&#8203;Frassle](https://github.com/Frassle) made their first contribution in [#&#8203;2241](https://github.com/spf13/cobra/pull/2241) - [@&#8203;styee](https://github.com/styee) made their first contribution in [#&#8203;2248](https://github.com/spf13/cobra/pull/2248) - [@&#8203;ericdachen](https://github.com/ericdachen) made their first contribution in [#&#8203;2267](https://github.com/spf13/cobra/pull/2267) - [@&#8203;albers](https://github.com/albers) made their first contribution in [#&#8203;2238](https://github.com/spf13/cobra/pull/2238) - [@&#8203;anishathalye](https://github.com/anishathalye) made their first contribution in [#&#8203;2299](https://github.com/spf13/cobra/pull/2299) - [@&#8203;tomasaschan](https://github.com/tomasaschan) made their first contribution in [#&#8203;2303](https://github.com/spf13/cobra/pull/2303) **Full Changelog**: <https://github.com/spf13/cobra/compare/v1.9.1...v1.9.2> </details> <details> <summary>spf13/pflag (github.com/spf13/pflag)</summary> ### [`v1.0.10`](https://github.com/spf13/pflag/releases/tag/v1.0.10) [Compare Source](https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10) #### What's Changed - fix deprecation comment for (FlagSet.)ParseErrorsWhitelist by [@&#8203;thaJeztah](https://github.com/thaJeztah) in [#&#8203;447](https://github.com/spf13/pflag/pull/447) - remove uses of errors.Is, which requires go1.13, move go1.16/go1.21 tests to separate file by [@&#8203;thaJeztah](https://github.com/thaJeztah) in [#&#8203;448](https://github.com/spf13/pflag/pull/448) #### New Contributors - [@&#8203;thaJeztah](https://github.com/thaJeztah) made their first contribution in [#&#8203;447](https://github.com/spf13/pflag/pull/447) **Full Changelog**: <https://github.com/spf13/pflag/compare/v1.0.9...v1.0.10> ### [`v1.0.9`](https://github.com/spf13/pflag/releases/tag/v1.0.9) [Compare Source](https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9) #### What's Changed - fix: Restore ParseErrorsWhitelist name for now by [@&#8203;tomasaschan](https://github.com/tomasaschan) in [#&#8203;446](https://github.com/spf13/pflag/pull/446) **Full Changelog**: <https://github.com/spf13/pflag/compare/v1.0.8...v1.0.9> ### [`v1.0.8`](https://github.com/spf13/pflag/releases/tag/v1.0.8) [Compare Source](https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8) #### :warning: 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. 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. #### What's Changed - Remove Redundant "Unknown-Flag" Error by [@&#8203;vaguecoder](https://github.com/vaguecoder) in [#&#8203;364](https://github.com/spf13/pflag/pull/364) - Switching from whitelist to Allowlist terminology by [@&#8203;dubrie](https://github.com/dubrie) in [#&#8203;261](https://github.com/spf13/pflag/pull/261) - Omit zero time.Time default from usage line by [@&#8203;mologie](https://github.com/mologie) in [#&#8203;438](https://github.com/spf13/pflag/pull/438) - implement CopyToGoFlagSet by [@&#8203;pohly](https://github.com/pohly) in [#&#8203;330](https://github.com/spf13/pflag/pull/330) - flag: Emulate stdlib behavior and do not print ErrHelp by [@&#8203;tmc](https://github.com/tmc) in [#&#8203;407](https://github.com/spf13/pflag/pull/407) - Print Default Values of String-to-String in Sorted Order by [@&#8203;vaguecoder](https://github.com/vaguecoder) in [#&#8203;365](https://github.com/spf13/pflag/pull/365) - fix: Don't print ErrHelp in ParseAll by [@&#8203;tomasaschan](https://github.com/tomasaschan) in [#&#8203;443](https://github.com/spf13/pflag/pull/443) - Reset args on re-parse even if empty by [@&#8203;tomasaschan](https://github.com/tomasaschan) in [#&#8203;444](https://github.com/spf13/pflag/pull/444) #### New Contributors - [@&#8203;vaguecoder](https://github.com/vaguecoder) made their first contribution in [#&#8203;364](https://github.com/spf13/pflag/pull/364) - [@&#8203;dubrie](https://github.com/dubrie) made their first contribution in [#&#8203;261](https://github.com/spf13/pflag/pull/261) - [@&#8203;mologie](https://github.com/mologie) made their first contribution in [#&#8203;438](https://github.com/spf13/pflag/pull/438) - [@&#8203;pohly](https://github.com/pohly) made their first contribution in [#&#8203;330](https://github.com/spf13/pflag/pull/330) - [@&#8203;tmc](https://github.com/tmc) made their first contribution in [#&#8203;407](https://github.com/spf13/pflag/pull/407) - [@&#8203;tomasaschan](https://github.com/tomasaschan) made their first contribution in [#&#8203;443](https://github.com/spf13/pflag/pull/443) **Full Changelog**: <https://github.com/spf13/pflag/compare/v1.0.7...v1.0.8> </details> <details> <summary>spf13/viper (github.com/spf13/viper)</summary> ### [`v1.21.0`](https://github.com/spf13/viper/releases/tag/v1.21.0) [Compare Source](https://github.com/spf13/viper/compare/v1.20.1...v1.21.0) <!-- Release notes generated using configuration in .github/release.yml at v1.21.0 --> #### What's Changed ##### Enhancements 🚀 - Add support for flags pflag.BoolSlice, pflag.UintSlice and pflag.Float64Slice by [@&#8203;nmvalera](https://github.com/nmvalera) in [#&#8203;2015](https://github.com/spf13/viper/pull/2015) - feat: use maintained yaml library by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in [#&#8203;2040](https://github.com/spf13/viper/pull/2040) ##### Bug Fixes 🐛 - fix(config): get config type from v.configType or config file ext by [@&#8203;GuillaumeBAECHLER](https://github.com/GuillaumeBAECHLER) in [#&#8203;2003](https://github.com/spf13/viper/pull/2003) - fix: config type check when loading any config by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in [#&#8203;2007](https://github.com/spf13/viper/pull/2007) ##### Dependency Updates ⬆️ - Update dependencies by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in [#&#8203;1993](https://github.com/spf13/viper/pull/1993) - build(deps): bump github.com/spf13/cast from 1.7.1 to 1.8.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2017](https://github.com/spf13/viper/pull/2017) - build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2013](https://github.com/spf13/viper/pull/2013) - build(deps): bump github.com/sagikazarmark/locafero from 0.8.0 to 0.9.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2008](https://github.com/spf13/viper/pull/2008) - build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /remote by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2016](https://github.com/spf13/viper/pull/2016) - build(deps): bump github.com/spf13/cast from 1.8.0 to 1.9.2 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2020](https://github.com/spf13/viper/pull/2020) - build(deps): bump github.com/go-viper/mapstructure/v2 from 2.2.1 to 2.3.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2028](https://github.com/spf13/viper/pull/2028) - build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2035](https://github.com/spf13/viper/pull/2035) - build(deps): bump github.com/spf13/pflag from 1.0.6 to 1.0.7 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2036](https://github.com/spf13/viper/pull/2036) - build(deps): bump github.com/fsnotify/fsnotify from 1.8.0 to 1.9.0 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2012](https://github.com/spf13/viper/pull/2012) - build(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2052](https://github.com/spf13/viper/pull/2052) - build(deps): bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 in /remote by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2048](https://github.com/spf13/viper/pull/2048) - build(deps): bump github.com/spf13/pflag from 1.0.7 to 1.0.10 by [@&#8203;dependabot](https://github.com/dependabot)\[bot] in [#&#8203;2056](https://github.com/spf13/viper/pull/2056) - chore: update dependencies by [@&#8203;sagikazarmark](https://github.com/sagikazarmark) in [#&#8203;2057](https://github.com/spf13/viper/pull/2057) ##### Other Changes - Update update guide with `mapstructure` package replacement. by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2004](https://github.com/spf13/viper/pull/2004) - refactor: use the built-in max/min to simplify the code by [@&#8203;yingshanghuangqiao](https://github.com/yingshanghuangqiao) in [#&#8203;2029](https://github.com/spf13/viper/pull/2029) #### New Contributors - [@&#8203;GuillaumeBAECHLER](https://github.com/GuillaumeBAECHLER) made their first contribution in [#&#8203;2003](https://github.com/spf13/viper/pull/2003) - [@&#8203;aldas](https://github.com/aldas) made their first contribution in [#&#8203;2004](https://github.com/spf13/viper/pull/2004) - [@&#8203;nmvalera](https://github.com/nmvalera) made their first contribution in [#&#8203;2015](https://github.com/spf13/viper/pull/2015) - [@&#8203;yingshanghuangqiao](https://github.com/yingshanghuangqiao) made their first contribution in [#&#8203;2029](https://github.com/spf13/viper/pull/2029) - [@&#8203;ccoVeille](https://github.com/ccoVeille) made their first contribution in [#&#8203;2046](https://github.com/spf13/viper/pull/2046) - [@&#8203;spacez320](https://github.com/spacez320) made their first contribution in [#&#8203;2050](https://github.com/spf13/viper/pull/2050) **Full Changelog**: <https://github.com/spf13/viper/compare/v1.20.0...v1.21.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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuOTguMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS9hdXRvbWVyZ2UiLCJyZW5vdmF0ZS9nb2xhbmciXX0=-->
CSRBot added 1 commit 2025-09-01 00:05:26 +02:00
chore(deps): update module github.com/spf13/pflag to v1.0.8
Some checks failed
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Failing after 1m50s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 1m16s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Failing after 1m21s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 36s
Lint Markdown files / Run markdown linter (pull_request) Successful in 14s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Has been cancelled
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Has been cancelled
97f780d4e8
CSRBot scheduled this pull request to auto merge when all checks succeed 2025-09-01 00:05:28 +02:00
CSRBot force-pushed renovate/go-modules from 97f780d4e8 to e058180744 2025-09-01 12:04:58 +02:00 Compare
CSRBot changed title from chore(deps): update module github.com/spf13/pflag to v1.0.8 to chore(deps): update module github.com/spf13/pflag to v1.0.9 2025-09-01 12:05:00 +02:00
CSRBot force-pushed renovate/go-modules from e058180744 to 6b4b01f9e0 2025-09-01 18:08:02 +02:00 Compare
CSRBot changed title from chore(deps): update module github.com/spf13/pflag to v1.0.9 to chore(deps): update go modules 2025-09-01 18:08:05 +02:00
CSRBot force-pushed renovate/go-modules from 6b4b01f9e0 to 37a7834ce8 2025-09-01 21:07:13 +02:00 Compare
CSRBot force-pushed renovate/go-modules from 37a7834ce8 to 88c6d87b5d 2025-09-02 21:04:59 +02:00 Compare
CSRBot force-pushed renovate/go-modules from 88c6d87b5d to 353416bf39 2025-09-08 21:06:25 +02:00 Compare
Author
Collaborator

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/go-viper/mapstructure/v2 v2.2.1 -> v2.4.0
github.com/sagikazarmark/locafero v0.9.0 -> v0.11.0
github.com/sourcegraph/conc v0.3.0 -> v0.3.1-0.20240121214520-5f936abd7ae8
github.com/spf13/afero v1.14.0 -> v1.15.0
github.com/spf13/cast v1.8.0 -> v1.10.0
golang.org/x/text v0.25.0 -> v0.28.0
### ℹ Artifact update notice ##### File name: go.mod In order to perform the update(s) described in the table above, Renovate ran the `go get` command, which resulted in the following additional change(s): - 6 additional dependencies were updated Details: | **Package** | **Change** | | :------------------------------------ | :------------------------------------------------- | | `github.com/go-viper/mapstructure/v2` | `v2.2.1` -> `v2.4.0` | | `github.com/sagikazarmark/locafero` | `v0.9.0` -> `v0.11.0` | | `github.com/sourcegraph/conc` | `v0.3.0` -> `v0.3.1-0.20240121214520-5f936abd7ae8` | | `github.com/spf13/afero` | `v1.14.0` -> `v1.15.0` | | `github.com/spf13/cast` | `v1.8.0` -> `v1.10.0` | | `golang.org/x/text` | `v0.25.0` -> `v0.28.0` |
CSRBot force-pushed renovate/go-modules from 353416bf39 to e5715060f4 2025-09-18 18:11:00 +02:00 Compare
CSRBot merged commit d2ea4b39e9 into master 2025-09-18 18:25:56 +02:00
CSRBot deleted branch renovate/go-modules 2025-09-18 18:25:59 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: volker.raschek/drone-email#102
No description provided.