Skip to content

build(deps): bump github.com/spf13/pflag from 1.0.10 to 1.1.0 - #757

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/go_modules/github.com/spf13/pflag-1.1.0
Nov 6, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
dependabot/go_modules/github.com/spf13/pflag-1.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/spf13/pflag from 1.0.10 to 1.1.0.

Release notes

Sourced from github.com/spf13/pflag's releases.

v1.1.0

It's been long enough, and enough things have been fixed, that it might be time to release a new version, even if there isn't any particular big new issue to market as the reason for this release.

If you notice anything breaking, it is entirely un-intentional, but you might also have been relying on undocumented or buggy behavior. Please file an issue describing what you're doing, how it worked before this release and why it doesn't work anymore, and pin your projects to v1.0.10 (the latest release before this one) while we decide how to address your concerns.

What's Changed

New Contributors

... (truncated)

Commits
  • f8a9906 Merge pull request #533 from gdpu11/fix/count-preserve-value-on-error
  • f3a68a1 Merge pull request #534 from gdpu11/fix/native-integer-ranges
  • 70f7745 fix: reject native integer flag overflow on 32-bit systems
  • 2084408 test: cover native integer flag bounds on 32-bit systems
  • 7d0f377 fix: preserve count flag values when parsing fails
  • d26a4dc Merge pull request #526 from dewanshshekhar/fix/text-flag-type-check
  • 2d401c7 Fix type identification for text flags
  • fa584ba Merge pull request #520 from adenzhou1350/codex/fix-copy-go-string-value
  • cc9e689 Merge upstream master and retain its linter version
  • 70f284b Merge pull request #521 from Harshil-1603/fix/string-map-records
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/spf13/pflag](https://github.com/spf13/pflag) from 1.0.10 to 1.1.0.
- [Release notes](https://github.com/spf13/pflag/releases)
- [Commits](spf13/pflag@v1.0.10...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/spf13/pflag
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 6, 2026 16:53
@dependabot dependabot Bot added build M-T: Changes to compilation and CI processes semver:patch Use on pull requests to describe the release version increment labels Nov 6, 2026
@github-actions github-actions Bot added this to the Next Release milestone Nov 6, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) November 6, 2026 16:54
Comment thread go.mod
github.com/spf13/afero v1.15.0
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
github.com/spf13/pflag v1.1.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: pflag 1.1.0 now prints every boolean flag as --flag[=true|false] in help (spf13/pflag#453), which is why TestHelpFunc fails. That changes the help output of every command, so I'd hold this bump until we decide if we want that, or pin to 1.0.10 with a dependabot ignore.

@mwbrooks

mwbrooks commented Nov 6, 2026

Copy link
Copy Markdown
Member

We'd like to keep the current help output, so I'm putting together a PR on main that strips the [=true|false] suffix. Once it merges, I'll update this branch and the tests should pass.

@mwbrooks

mwbrooks commented Nov 6, 2026

Copy link
Copy Markdown
Member

The fix is up in #759. It keeps help and the generated docs unchanged on pflag 1.1.0.

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.46%. Comparing base (1af3a2d) to head (44a4ebd).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #757      +/-   ##
==========================================
- Coverage   78.46%   78.46%   -0.01%     
==========================================
  Files         240      240              
  Lines       18199    18199              
==========================================
- Hits        14280    14279       -1     
- Misses       3919     3920       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
github-actions Bot merged commit df05b31 into main Nov 6, 2026
14 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/spf13/pflag-1.1.0 branch November 6, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build M-T: Changes to compilation and CI processes semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant