classes v0.4.1 Release Notes

Release Date: 2022-04-11 // almost 4 years ago
  • ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes typing_extensions version resolution

Previous changes from v0.4.0

  • ๐Ÿ”‹ 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