Skip to content

0.9.0

Compare
Choose a tag to compare
@JelleZijlstra JelleZijlstra released this 16 Jan 21:54
· 174 commits to master since this release
f7e9e5d

Release highlights:

  • Support for PEP 702 (@typing.deprecated) (#578)
  • Add experimental @has_extra_keys decorator for TypedDict types
  • Support more Python 3.11 features (except* and get_overloads)

Full changelog:

  • Support typing_extensions.get_overloads and typing.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 for TypedDict 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 and except* (#562)