Skip to content

v5.1.0

Choose a tag to compare

@BrianPugh BrianPugh released this 29 Sep 19:01
eecf050

Features

  • Support bool union'd with other types.
    • fix: support bare and negative flags on unions containing bool (e.g. bool | list[str]) by @BrianPugh in #973
    • fix: show the specific choices/value error for bad values on unions with a bool flag by @BrianPugh in #974
    • fix: support bool and other members alongside an enum.Flag in a union (e.g. bool | MyFlag) by @BrianPugh in #975
    • fix: let --x. options select a non-Flag member of a union with an enum.Flag by @BrianPugh in #977

Full Changelog: v5.0.0...v5.1.0