classes v0.3.0 Release Notes
-
๐ Features
- ๐ฅ Breaking: drops
python3.6
support - ๐ฅ Breaking: now requires
typing_extensions>=3.10
andmypy>=0.902
- ๐ฅ Breaking: now
classes
traversesmro
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
- ๐ฅ Breaking: drops