All Versions
5
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Changelog History
-
v0.4.1 Changes
๐ Bugfixes
- ๐ Fixes
typing_extensions
version resolution
- ๐ Fixes
-
v0.4.0 Changes
๐ Features
- ๐ฅ Breaking: removes
is_protocol
boolean argument from.instance
, now useprotocol=YourProtocol
instead - โ Adds support for concrete generic types like
List[str]
andSet[int]
#24 - Adds support for types that have
__instancecheck__
defined viadelegate
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
- ๐ฅ Breaking: removes
-
v0.3.0 Changes
๐ 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
-
v0.2.0 Changes
๐ Features
- ๐ฅ Breaking: renames mypy
typeclass_plugin
toclasses_plugin
- โ Adds
python3.9
support
Misc
- โก๏ธ Updates dependencies
- ๐ฅ Breaking: renames mypy
-
v0.1.0 Changes
- ๐ Initial release