All Versions
5
Latest Version
Avg Release Cycle
-
Latest Release
-

Changelog History

  • v0.4.1 Changes

    ๐Ÿ›  Bugfixes

    • ๐Ÿ›  Fixes typing_extensions version resolution
  • v0.4.0 Changes

    ๐Ÿ”‹ 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
  • v0.3.0 Changes

    ๐Ÿ”‹ 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
  • v0.2.0 Changes

    ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking: renames mypy typeclass_plugin to classes_plugin
    • โž• Adds python3.9 support

    Misc

    • โšก๏ธ Updates dependencies
  • v0.1.0 Changes

    • ๐ŸŽ‰ Initial release