Skip to content

Releases: jayanthkoushik/corgy

v9.3.0

08 Mar 16:54
2023752

Choose a tag to compare

Features

  • ignore variable arguments with types.InitArgs (7cfce69)

v9.2.0

02 Mar 05:07
187e3bd

Choose a tag to compare

Features

  • add choice_names class method to types.SubClass (a64a249)
  • add Corgy.is_attr_set method (f5b84f6)
  • add name property to types.SubClass (0d688a3)
  • prevent inherited properties from being re-created (185ba02)
  • support enum types in Corgy.add_args_to_parser (5389ec7)

v9.1.7

12 Jun 08:25
319175a

Choose a tag to compare

Documentation

  • add website for docs

v9.1.1

01 Jun 13:43
b076a50

Choose a tag to compare

Bug Fixes

  • fallback to base formatting for subparsers in CorgyHelpFormatter (87dede1)

v9.1.0

24 May 21:57
26a810b

Choose a tag to compare

Bug Fixes

  • prioritize custom parsers in Corgy.add_args_to_parser (5cf047f)

Features

  • add support for Self type annotations (b33ec24)

v9.0.0

17 May 09:40
1fed784

Choose a tag to compare

Bug Fixes

  • make arguments without defaults be required in types.InitArgs (5cb533b)

Features

  • in Corgy.add_args_to_parser, restrict handling of single choice attrs to Literal types (5d1bfcc)
  • raise informative error if types.InitArgs cannot be used (61e79c3)

BREAKING CHANGES

  • Corgy.add_args_to_parser no longer uses store_
    actions for types with a single choice defined using __choices__. Only
    Literal types receive this special treatment.

v8.1.2

16 May 00:53

Choose a tag to compare

Bug Fixes

  • inherit corgy_ parameters for Corgy sub-classes (9e87e4d)

v8.1.1

15 Apr 15:51
c2fe5f8

Choose a tag to compare

Bug Fixes

  • fix annotation for corgy.corgychecker (1bf5dba)

v8.1.0

15 Apr 15:46
ebe18d0

Choose a tag to compare

Bug Fixes

  • do not discard return value from custom checkers (d5f4caf)

Features

  • add support for custom attribute value checkers through corgychecker (7904676)
  • show attribute name in ValueError raised by Corgy.from_dict and Corgy.load_dict (b73c5cf)
  • show attribute name in ValueError raised by Corgy in setattr (c8fc1b2)

v8.0.1

14 Apr 22:10
bfcdab2

Choose a tag to compare

Bug Fixes

  • raise ArgumentError instead of ArgumentTypeError from CorgyParserAction (f798132)