Skip to content

Releases: zulucmd/zflag

v2.0.0

23 Apr 11:11
Compare
Choose a tag to compare

What's Changed

Breaking Changes:

  • ParseErrorsAllowlist has been renamed to ParseErrorsAllowList

Full Changelog: v1.1.2...v2.0.0

v1.1.1

05 Jan 10:44
e8eab16
Compare
Choose a tag to compare

What's Changed

  • Fix flag quoting in missing flag errors by @hoshsadiq in #7

Full Changelog: v1.1.0...v1.1.1

v1.1.0

05 Jan 09:51
1066a9c
Compare
Choose a tag to compare

What's Changed

  • Add required flags by @hoshsadiq in #5
    This adds a Required attribute (and a corresponding OptRequired()) on Flag to enforce that a flag is always changed.
  • Move errors to separate error types by @hoshsadiq in #6
    This moves a few errors from fmt.Errorf() invocations to real custom error types. This includes:
    • MissingFlagsError
    • InvalidArgumentError

Full Changelog: v1.0.0...v1.1.0

v1.0.0

31 Dec 02:03
Compare
Choose a tag to compare

This is the initial version for zflag. There are too many changes here. Some are documented in the README as compared to the original pflag. After this release, changelog will be found here.