Changelog¶
v2.1.0 (2025-09-15)¶
- Added support for Python 3.14.
- Fixed bug where forward references would have
typingorannotationlibspuriously prepended as a module in certain cases.
v2.0.0 (2025-04-21)¶
- Changed the default for
standard_collection_syntaxfrom"as_given"to"standard_class". This change is intended to encourage the use of the standard collection syntax, since all currently supported Python versions support it and the typing module aliases are deprecated. - Removed support for Python 3.8.
- Added support for Python 3.13.
- Removed deprecated
LITERAL_TYPE_SUPPORTEDflag. (Deprecated in v1.1.0.)
Note: the typenames repository has moved to the drivendataorg GitHub organization. The documentation website has also moved to a new address.
v1.3.0 (2024-07-16)¶
- Changed how
typenameshandles type annotations that includetyping.Annotatedortyping_extensions.Annotated. (PR #8, Issue #7)- Added
include_extrasconfiguration option totypenamesto control whetherAnnotatedand metadata should be shown. - By default,
include_extrasisFalse, andAnnotatedand extra metadata will not be rendered.
- Added
v1.2.0 (2024-03-19)¶
- Fixed the type signatures of
typenamesandparse_type_treeto reflect the typing of input type annotations, according to static type checkers. (PR #6) - Added PEP 561
py.typedmarker file to indicate that the package supports type checking. (PR #6)
v1.1.0 (2024-03-08)¶
- 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_SUPPORTEDflag, since typenames no longer supports Python versions where this is false. (PR #5)
v1.0.0 (2023-02-20)¶
Initial release! 🎉