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 @thaJeztah in #452
Show 'correct' explicit bool value syntax in help by @alimpfard in #453
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/spf13/pflag](https://github.com/spf13/pflag) | require | minor | `v1.0.10` → `v1.1.0` |
---
### Release Notes
<details>
<summary>spf13/pflag (github.com/spf13/pflag)</summary>
### [`v1.1.0`](https://github.com/spf13/pflag/releases/tag/v1.1.0)
[Compare Source](https://github.com/spf13/pflag/compare/v1.0.10...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](https://www.hyrumslaw.com/) or [buggy](https://xkcd.com/1172/) 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 [@​thaJeztah](https://github.com/thaJeztah) in [#​452](https://github.com/spf13/pflag/pull/452)
- Show 'correct' explicit bool value syntax in help by [@​alimpfard](https://github.com/alimpfard) in [#​453](https://github.com/spf13/pflag/pull/453)
- Fix for Go 1.24 by [@​pterjan](https://github.com/pterjan) in [#​460](https://github.com/spf13/pflag/pull/460)
- fix(map): ensure string-to-string flags maintain stable pointers by [@​brandon1024](https://github.com/brandon1024) in [#​457](https://github.com/spf13/pflag/pull/457)
- Fix getFlagType error message by [@​wellitonscheer](https://github.com/wellitonscheer) in [#​462](https://github.com/spf13/pflag/pull/462)
- update actions, and fix linting issues by [@​thaJeztah](https://github.com/thaJeztah) in [#​450](https://github.com/spf13/pflag/pull/450)
- fix: README.md indicating the use of godoc(deprecated) by [@​malklera](https://github.com/malklera) in [#​467](https://github.com/spf13/pflag/pull/467)
- Fix broken link to POSIX argument conventions by [@​tomasaschan](https://github.com/tomasaschan) in [#​464](https://github.com/spf13/pflag/pull/464)
- Replace raw stdlib parse errors in typed flag Set methods ([#​269](https://github.com/spf13/pflag/issues/269)) by [@​reuvenharrison](https://github.com/reuvenharrison) in [#​469](https://github.com/spf13/pflag/pull/469)
- Extend `UnknownFlags` to `UnknownFlagsHandling` and introduce `PassUnknownFlagToArgs` ([#​337](https://github.com/spf13/pflag/issues/337)) by [@​ikedam](https://github.com/ikedam) in [#​440](https://github.com/spf13/pflag/pull/440)
- fix: allow nil default IP flags in GetIP by [@​happysnaker](https://github.com/happysnaker) in [#​483](https://github.com/spf13/pflag/pull/483)
- fix: allow hex input in UintSlice by [@​happysnaker](https://github.com/happysnaker) in [#​484](https://github.com/spf13/pflag/pull/484)
- fix: honor custom IsBoolFlag compatibility by [@​happysnaker](https://github.com/happysnaker) in [#​487](https://github.com/spf13/pflag/pull/487)
- docs: clarify SortFlags example with complete runnable program by [@​happysnaker](https://github.com/happysnaker) in [#​488](https://github.com/spf13/pflag/pull/488)
- docs: add release process documentation by [@​happysnaker](https://github.com/happysnaker) in [#​490](https://github.com/spf13/pflag/pull/490)
- fix: print to set destination, not hardcoded os.Stderr by [@​quite](https://github.com/quite) in [#​502](https://github.com/spf13/pflag/pull/502)
- ci: bump golangci-lint to v2.13 for Go 1.27 by [@​hdimer](https://github.com/hdimer) in [#​508](https://github.com/spf13/pflag/pull/508)
- Initialize the target map when a StringToString flag has a nil default by [@​nikolauspschuetz](https://github.com/nikolauspschuetz) in [#​506](https://github.com/spf13/pflag/pull/506)
- fix: honour deprecated ParseErrorsWhitelist.UnknownFlagsHandling by [@​lenamonj](https://github.com/lenamonj) in [#​507](https://github.com/spf13/pflag/pull/507)
- test: add StringSlice Append coverage by [@​LY-19418](https://github.com/LY-19418) in [#​504](https://github.com/spf13/pflag/pull/504)
- Keep wrapping after an unbreakable usage word by [@​AzazelSensei](https://github.com/AzazelSensei) in [#​503](https://github.com/spf13/pflag/pull/503)
- Validate IP slice values before appending or replacing by [@​agammann](https://github.com/agammann) in [#​513](https://github.com/spf13/pflag/pull/513)
- fix(ci): Use the latest golangci-lint release by [@​tomasaschan](https://github.com/tomasaschan) in [#​525](https://github.com/spf13/pflag/pull/525)
- Reject IPv6 addresses as IPv4 masks by [@​yuefdev](https://github.com/yuefdev) in [#​524](https://github.com/spf13/pflag/pull/524)
- Report the flag name as typed in deprecation warnings by [@​hdimer](https://github.com/hdimer) in [#​500](https://github.com/spf13/pflag/pull/500)
- Document non-interspersed argument parsing by [@​yuefdev](https://github.com/yuefdev) in [#​523](https://github.com/spf13/pflag/pull/523)
- Preserve trailing whitespace in StringToString formatting by [@​r4venrudy](https://github.com/r4venrudy) in [#​522](https://github.com/spf13/pflag/pull/522)
- Reject extra CSV records in StringToString arguments by [@​Harshil-1603](https://github.com/Harshil-1603) in [#​521](https://github.com/spf13/pflag/pull/521)
- Preserve current string values in CopyToGoFlagSet by [@​adenzhou1350](https://github.com/adenzhou1350) in [#​520](https://github.com/spf13/pflag/pull/520)
- Fix type identification and mismatch checks for text flags by [@​dewanshshekhar](https://github.com/dewanshshekhar) in [#​526](https://github.com/spf13/pflag/pull/526)
- fix: enforce native integer flag bounds on 32-bit platforms by [@​gdpu11](https://github.com/gdpu11) in [#​534](https://github.com/spf13/pflag/pull/534)
- fix: preserve count flag values when parsing fails by [@​gdpu11](https://github.com/gdpu11) in [#​533](https://github.com/spf13/pflag/pull/533)
#### New Contributors
- [@​alimpfard](https://github.com/alimpfard) made their first contribution in [#​453](https://github.com/spf13/pflag/pull/453)
- [@​pterjan](https://github.com/pterjan) made their first contribution in [#​460](https://github.com/spf13/pflag/pull/460)
- [@​brandon1024](https://github.com/brandon1024) made their first contribution in [#​457](https://github.com/spf13/pflag/pull/457)
- [@​wellitonscheer](https://github.com/wellitonscheer) made their first contribution in [#​462](https://github.com/spf13/pflag/pull/462)
- [@​malklera](https://github.com/malklera) made their first contribution in [#​467](https://github.com/spf13/pflag/pull/467)
- [@​reuvenharrison](https://github.com/reuvenharrison) made their first contribution in [#​469](https://github.com/spf13/pflag/pull/469)
- [@​ikedam](https://github.com/ikedam) made their first contribution in [#​440](https://github.com/spf13/pflag/pull/440)
- [@​happysnaker](https://github.com/happysnaker) made their first contribution in [#​483](https://github.com/spf13/pflag/pull/483)
- [@​quite](https://github.com/quite) made their first contribution in [#​502](https://github.com/spf13/pflag/pull/502)
- [@​hdimer](https://github.com/hdimer) made their first contribution in [#​508](https://github.com/spf13/pflag/pull/508)
- [@​nikolauspschuetz](https://github.com/nikolauspschuetz) made their first contribution in [#​506](https://github.com/spf13/pflag/pull/506)
- [@​lenamonj](https://github.com/lenamonj) made their first contribution in [#​507](https://github.com/spf13/pflag/pull/507)
- [@​LY-19418](https://github.com/LY-19418) made their first contribution in [#​504](https://github.com/spf13/pflag/pull/504)
- [@​AzazelSensei](https://github.com/AzazelSensei) made their first contribution in [#​503](https://github.com/spf13/pflag/pull/503)
- [@​agammann](https://github.com/agammann) made their first contribution in [#​513](https://github.com/spf13/pflag/pull/513)
- [@​yuefdev](https://github.com/yuefdev) made their first contribution in [#​524](https://github.com/spf13/pflag/pull/524)
- [@​r4venrudy](https://github.com/r4venrudy) made their first contribution in [#​522](https://github.com/spf13/pflag/pull/522)
- [@​Harshil-1603](https://github.com/Harshil-1603) made their first contribution in [#​521](https://github.com/spf13/pflag/pull/521)
- [@​adenzhou1350](https://github.com/adenzhou1350) made their first contribution in [#​520](https://github.com/spf13/pflag/pull/520)
- [@​dewanshshekhar](https://github.com/dewanshshekhar) made their first contribution in [#​526](https://github.com/spf13/pflag/pull/526)
- [@​gdpu11](https://github.com/gdpu11) made their first contribution in [#​534](https://github.com/spf13/pflag/pull/534)
**Full Changelog**: <https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0>
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- 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.
🔕 **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 CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMTYuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjExNi4xIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbInJlbm92YXRlL2F1dG9tZXJnZSIsInJlbm92YXRlL2dvbGFuZyJdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
v1.0.10→v1.1.0Release Notes
spf13/pflag (github.com/spf13/pflag)
v1.1.0Compare 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
UnknownFlagstoUnknownFlagsHandlingand introducePassUnknownFlagToArgs(#337) by @ikedam in #440New Contributors
Full Changelog: https://github.com/spf13/pflag/compare/v1.0.10...v1.1.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.