chore(deps): update go modules #102

Open
CSRBot wants to merge 1 commits from renovate/go-modules into master
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.9

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


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.9` | --- ### 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.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> --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4yIiwidXBkYXRlZEluVmVyIjoiNDEuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS9hdXRvbWVyZ2UiLCJyZW5vdmF0ZS9nb2xhbmciXX0=-->
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
Some checks are pending
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (push) Waiting to run
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-arm64) (pull_request) Waiting to run
Required
Details
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (push) Waiting to run
Run Golang tests / Run unit tests (stable, ubuntu-latest-arm64) (pull_request) Waiting to run
Required
Details
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (push) Successful in 2m12s
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (push) Successful in 1m3s
Lint Golang files / Run golang CI linter (stable, ubuntu-latest-amd64) (pull_request) Successful in 1m8s
Required
Details
Run Golang tests / Run unit tests (stable, ubuntu-latest-amd64) (pull_request) Successful in 56s
Required
Details
Lint Markdown files / Run markdown linter (pull_request) Successful in 31s
Required
Details
Some required checks are missing.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/go-modules:renovate/go-modules
git checkout renovate/go-modules
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.