Skip to content

Releases: spf13/pflag

v1.0.10

Choose a tag to compare

@tomasaschan tomasaschan released this 02 Sep 18:53
0491e57

What's Changed

  • fix deprecation comment for (FlagSet.)ParseErrorsWhitelist by @thaJeztah in #447
  • remove uses of errors.Is, which requires go1.13, move go1.16/go1.21 tests to separate file by @thaJeztah in #448

New Contributors

Full Changelog: v1.0.9...v1.0.10

v1.0.9

Choose a tag to compare

@tomasaschan tomasaschan released this 01 Sep 07:28
1043857

What's Changed

Full Changelog: v1.0.8...v1.0.9

v1.0.8

Choose a tag to compare

@tomasaschan tomasaschan released this 31 Aug 19:52
b9c16fa

⚠️ 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: v1.0.7...v1.0.8

v1.0.7

Choose a tag to compare

@tomasaschan tomasaschan released this 16 Jul 21:53
f9cbdd9

What's Changed

New Contributors

Full Changelog: v1.0.6...v1.0.7

v1.0.6

Choose a tag to compare

@tomasaschan tomasaschan released this 29 Jan 18:18
5ca8134

What's Changed

New Contributors

Full Changelog: v1.0.5...v1.0.6

1.0.5

Choose a tag to compare

@therealmitchconnors therealmitchconnors released this 18 Sep 21:09
2e9d26c
Merge pull request #219 from cfromknecht/fix-mod

Remove require pflag v1.0.3

v1.0.5-rc1

v1.0.5-rc1 Pre-release
Pre-release

Choose a tag to compare

@therealmitchconnors therealmitchconnors released this 18 Sep 20:09
2e9d26c

This hopefully fixes #218, and will be promoted when the fix has been verified.

1.0.4

1.0.4 Pre-release
Pre-release

Choose a tag to compare

@therealmitchconnors therealmitchconnors released this 17 Sep 17:58
e8f2996
v1.0.4

Fix typo in go.mod

1.0.3

Choose a tag to compare

@eparis eparis released this 03 Oct 00:52
Fix panic when parsing unknown flag followed by empty argument (#173)

Signed-off-by: Oren Shomron <[email protected]>

1.0.2

Choose a tag to compare

@eparis eparis released this 09 Aug 13:19

Add base64 encoded flag type