0.9.0
Release highlights:
- Support for PEP 702 (
@typing.deprecated
) (#578) - Add experimental
@has_extra_keys
decorator forTypedDict
types - Support more Python 3.11 features (
except*
andget_overloads
)
Full changelog:
- Support
typing_extensions.get_overloads
andtyping.get_overloads
(#589) - Support
in
on objects with only__iter__
(#588) - Do not call
.mro()
method on non-types (#587) - Add
class_attribute_transformers
hook (#585) - Support for PEP 702 (
@typing.deprecated
) (#578) - Simplify import handling; stop trying to import modules at type checking time (#566)
- Suggest using keyword arguments on calls with too many positional arguments (#572)
- Emit an error for unknown
TypedDict
keys (#567) - Improve type inference for f-strings containing literals (#571)
- Add experimental
@has_extra_keys
decorator forTypedDict
types (#568) - Fix crash on recursive type aliases. Recursive type aliases now fall back to
Any
(#565) - Support
in
on objects with only__getitem__
(#564) - Add support for
except*
(PEP 654) (#562) - Add type inference support for more constructs in
except
andexcept*
(#562)