classes v0.4.0 Release Notes

  • ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking: removes is_protocol boolean argument from .instance, now use protocol=YourProtocol instead
    • โž• Adds support for concrete generic types like List[str] and Set[int] #24
    • Adds support for types that have __instancecheck__ defined via delegate argument #248
    • โž• Adds support for multiple type arguments in Supports type #244

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes that types referenced in multiple typeclasses were not handling Supports properly #249
    • ๐Ÿ›  Fixes typing bug with ABC and mutable typeclass signature #259
    • ๐Ÿ›  Fixes that mypy plugin was failing on calling a typeclass without arguments #270