← Back to Pull requests

fix(deps): update module github.com/spf13/pflag to v1.1.0 #30136

Open
unknown opened this pull request with 650 lines diff across 8 files
View on GitHub
unknown unknown commented on Nov 06, 2026 13:56 UTC
Author

This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/spf13/pflag | v1.0.10 → v1.1.0 | !age | !confidence |

---

Release Notes

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

v1.1.0

Compare Source

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

  • README: update badges and minor linting fixes by @&#8203;thaJeztah in #&#8203;452

  • Show 'correct' explicit bool value syntax in help by @&#8203;alimpfard in #&#8203;453

  • Fix for Go 1.24 by @&#8203;pterjan in #&#8203;460

  • fix(map): ensure string-to-string flags maintain stable pointers by @&#8203;brandon1024 in #&#8203;457

  • Fix getFlagType error message by @&#8203;wellitonscheer in #&#8203;462

  • update actions, and fix linting issues by @&#8203;thaJeztah in #&#8203;450

  • fix: README.md indicating the use of godoc(deprecated) by @&#8203;malklera in #&#8203;467

  • Fix broken link to POSIX argument conventions by @&#8203;tomasaschan in #&#8203;464

  • Replace raw stdlib parse errors in typed flag Set methods (#&#8203;269) by @&#8203;reuvenharrison in #&#8203;469

  • Extend UnknownFlags to UnknownFlagsHandling and introduce PassUnknownFlagToArgs (#&#8203;337) by @&#8203;ikedam in #&#8203;440

  • fix: allow nil default IP flags in GetIP by @&#8203;happysnaker in #&#8203;483

  • fix: allow hex input in UintSlice by @&#8203;happysnaker in #&#8203;484

  • fix: honor custom IsBoolFlag compatibility by @&#8203;happysnaker in #&#8203;487

  • docs: clarify SortFlags example with complete runnable program by @&#8203;happysnaker in #&#8203;488

  • docs: add release process documentation by @&#8203;happysnaker in #&#8203;490

  • fix: print to set destination, not hardcoded os.Stderr by @&#8203;quite in #&#8203;502

  • ci: bump golangci-lint to v2.13 for Go 1.27 by @&#8203;hdimer in #&#8203;508

  • Initialize the target map when a StringToString flag has a nil default by @&#8203;nikolauspschuetz in #&#8203;506

  • fix: honour deprecated ParseErrorsWhitelist.UnknownFlagsHandling by @&#8203;lenamonj in #&#8203;507

  • test: add StringSlice Append coverage by @&#8203;LY-19418 in #&#8203;504

  • Keep wrapping after an unbreakable usage word by @&#8203;AzazelSensei in #&#8203;503

  • Validate IP slice values before appending or replacing by @&#8203;agammann in #&#8203;513

  • fix(ci): Use the latest golangci-lint release by @&#8203;tomasaschan in #&#8203;525

  • Reject IPv6 addresses as IPv4 masks by @&#8203;yuefdev in #&#8203;524

  • Report the flag name as typed in deprecation warnings by @&#8203;hdimer in #&#8203;500

  • Document non-interspersed argument parsing by @&#8203;yuefdev in #&#8203;523

  • Preserve trailing whitespace in StringToString formatting by @&#8203;r4venrudy in #&#8203;522

  • Reject extra CSV records in StringToString arguments by @&#8203;Harshil-1603 in #&#8203;521

  • Preserve current string values in CopyToGoFlagSet by @&#8203;adenzhou1350 in #&#8203;520

  • Fix type identification and mismatch checks for text flags by @&#8203;dewanshshekhar in #&#8203;526

  • fix: enforce native integer flag bounds on 32-bit platforms by @&#8203;gdpu11 in #&#8203;534

  • fix: preserve count flag values when parsing fails by @&#8203;gdpu11 in #&#8203;533
  • New Contributors

  • @&#8203;alimpfard made their first contribution in #&#8203;453

  • @&#8203;pterjan made their first contribution in #&#8203;460

  • @&#8203;brandon1024 made their first contribution in #&#8203;457

  • @&#8203;wellitonscheer made their first contribution in #&#8203;462

  • @&#8203;malklera made their first contribution in #&#8203;467

  • @&#8203;reuvenharrison made their first contribution in #&#8203;469

  • @&#8203;ikedam made their first contribution in #&#8203;440

  • @&#8203;happysnaker made their first contribution in #&#8203;483

  • @&#8203;quite made their first contribution in #&#8203;502

  • @&#8203;hdimer made their first contribution in #&#8203;508

  • @&#8203;nikolauspschuetz made their first contribution in #&#8203;506

  • @&#8203;lenamonj made their first contribution in #&#8203;507

  • @&#8203;LY-19418 made their first contribution in #&#8203;504

  • @&#8203;AzazelSensei made their first contribution in #&#8203;503

  • @&#8203;agammann made their first contribution in #&#8203;513

  • @&#8203;yuefdev made their first contribution in #&#8203;524

  • @&#8203;r4venrudy made their first contribution in #&#8203;522

  • @&#8203;Harshil-1603 made their first contribution in #&#8203;521

  • @&#8203;adenzhou1350 made their first contribution in #&#8203;520

  • @&#8203;dewanshshekhar made their first contribution in #&#8203;526

  • @&#8203;gdpu11 made their first contribution in #&#8203;534
  • Full Changelog: <https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0>

    </details>

    ---

    Configuration

    📅 Schedule: (in timezone UTC)

  • Branch creation

  • - At any time (no schedule defined)
  • Automerge

  • - At any time (no schedule defined)

    🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

    ♻ Rebasing: Never, 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. View the repository job log.
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZWxlYXNlLW5vdGUtbm9uZSJdfQ==-->

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: mtrmac Review duration: 1257m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.52) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #30136"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.7% · Safe to merge
    27.7%