Skip to content

Version 0.3.0

Compare
Choose a tag to compare
@sobolevn sobolevn released this 20 Jun 08:11
· 187 commits to master since this release
4f79d9d

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