Skip to content

Releases: sirosen/click-type-test

1.1.0

07 Jan 19:12
1.1.0
Compare
Choose a tag to compare
  • Support looser comparisons between Tuple and Union types.tuple[...] and typing.Tuple[...] should now compare equal, as should Unions in which the order of the union members varies.

1.0.0

28 Oct 20:21
1.0.0
Compare
Choose a tag to compare
  • Add support for Python 3.13

0.0.7

22 Dec 04:53
0.0.7
Compare
Choose a tag to compare
  • Add a parameter, overrides, to check_param_annotations which can be used to skip type deduction and use a hard-coded value instead

0.0.6

21 Dec 21:10
0.0.6
Compare
Choose a tag to compare
  • The type annotation used as the return type of a callback on a parameter will now be treated as an override which takes precedence over any deduction about the parameter type
  • The type annotation used as the return type of a custom type's convert method will be checked and used as the annotated value for parameter types which do not implement AnnotatedParamType
  • The documentation is more explicit about type evaluation logic and order of overrides

0.0.5

06 Oct 04:23
0.0.5
Compare
Choose a tag to compare
  • Fix handling for required options, non-required arguments, nargs=-1, and
    nargs=N for N>1

0.0.4

27 Aug 21:08
0.0.4
Compare
Choose a tag to compare
  • Enhance documentation and examples
  • Add support for click.Path(path_type=...) as a type or a callable with an annotated return type. Unsupported path_type values will raise TypeError.
  • A new parameter is supported for check_param_annotations, known_type_names, a mapping of type values to strings. check_param_annotations will use this mapping in a best-effort fashion to display the names of types in BadAnnotation errors.

0.0.3

26 Aug 04:55
0.0.3
Compare
Choose a tag to compare
  • Remove ExplicitlyAnnotatedOption from the library due to issues with usability. It is now kept in the examples/ directory
  • Rename AnnotatedOption to AnnotatedParameter to encompass Argument subclasses as well

0.0.2

25 Aug 23:09
0.0.2
Compare
Choose a tag to compare

Minor changes for github releases (no code changes)

0.0.1

25 Aug 22:56
0.0.1
Compare
Choose a tag to compare

Initial release