Skip to content

Releases: jayqi/typenames

v1.3.0

16 Jul 20:39
2a8879c
Compare
Choose a tag to compare
  • Changed how typenames handles type annotations that include typing.Annotated or typing_extensions.Annotated. (PR #8, Issue #7)
    • Added include_extras configuration option to typenames to control whether Annotated and metadata should be shown.
    • By default, include_extras is False, and Annotated and extra metadata will not be rendered.

v1.2.0

20 Mar 00:15
fb025d1
Compare
Choose a tag to compare
  • Fixed the type signatures of typenames and parse_type_tree to reflect the typing of input type annotations, according to static type checkers. (PR #6)
  • Added PEP 561 py.typed marker file to indicate that the package supports type checking. (PR #6)

v1.1.0

08 Mar 22:30
34120f4
Compare
Choose a tag to compare
  • Changed REMOVE_ALL_MODULES's regex pattern to also remove <locals> from rendered output. <locals> typically appears in a type's qualified name if the type was defined within the local scope of a function or class method. (PR #4)
  • Removed support for Python 3.7. (PR #5)
  • Deprecated LITERAL_TYPE_SUPPORTED flag, since typenames no longer supports Python versions where this is false. (PR #5)

v1.0.0

21 Feb 02:11
Compare
Choose a tag to compare

Initial release! 🎉