Releases: spf13/pflag
Releases · spf13/pflag
v1.0.7
What's Changed
- Fix defaultIsZeroValue check for generic Value types by @MidnightRocket in #422
- feat: Use structs for errors returned by pflag. by @eth-p in #425
- Fix typos by @co63oc in #428
- fix #423 : Add helper function and some documentation to parse shorthand go test flags. by @valdar in #424
- add support equivalent to golang flag.TextVar(), also fixes the test failure as described in #368 by @hujun-open in #418
- add support for Func() and BoolFunc() #426 by @LeGEC in #429
- fix: correct argument length check in FlagSet.Parse by @ShawnJeffersonWang in #409
- fix usage message for func flags, fix arguments order by @LeGEC in #431
- Add support for time.Time flags by @max-frank in #348
New Contributors
- @MidnightRocket made their first contribution in #422
- @eth-p made their first contribution in #425
- @co63oc made their first contribution in #428
- @valdar made their first contribution in #424
- @hujun-open made their first contribution in #418
- @LeGEC made their first contribution in #429
- @ShawnJeffersonWang made their first contribution in #409
- @max-frank made their first contribution in #348
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- Add exported functions to preserve
pkg/flag
compatibility by @mckern in #220 - remove dead code for checking error nil by @yashbhutwala in #282
- Add IPNetSlice and unit tests by @rpothier in #170
- allow for blank ip addresses by @duhruh in #316
- add github actions by @sagikazarmark in #419
New Contributors
- @mckern made their first contribution in #220
- @yashbhutwala made their first contribution in #282
- @rpothier made their first contribution in #170
- @duhruh made their first contribution in #316
- @sagikazarmark made their first contribution in #419
Full Changelog: v1.0.5...v1.0.6
1.0.5
Merge pull request #219 from cfromknecht/fix-mod Remove require pflag v1.0.3
v1.0.5-rc1
This hopefully fixes #218, and will be promoted when the fix has been verified.
1.0.4
v1.0.4 Fix typo in go.mod
1.0.3
Fix panic when parsing unknown flag followed by empty argument (#173) Signed-off-by: Oren Shomron <[email protected]>