classes v0.3.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking: drops python3.6 support
    • ๐Ÿ’ฅ Breaking: now requires typing_extensions>=3.10 and mypy>=0.902
    • ๐Ÿ’ฅ Breaking: now classes traverses mro of registered types and fallbacks to super-types if some type is not registered
    • โž• Adds generic typeclasses
    • โž• Adds caching to runtime type dispatch, it allows to call already resolved instances way faster
    • โž• Adds better typeclass validation during mypy typechecking
    • โž• Adds .supports() method to typeclass to check if some instance is supported in runtime
    • ๐Ÿ‘‰ Makes .supports() a typeguard
    • โž• Adds Supports type
    • โž• Adds AssociatedType variadic type

    Misc

    • ๐Ÿ‘Œ Improves docs