v2.2.3a1
·
711 commits
to master
since this release
2.2.3a1 - 2022-01-06
Added
-
The interface for a generic (type-based) asynchronous cache dependency.
While this doesn't introduce any new implementation(s), this interface has been integrated into Tanjun (based on Hikari types) in places which are currently making cache/REST calls and can be used to better integrate 3rd-party caches with Tanjun.
Redis based implementations of this for the types found in Hikari's gateway cache interface can be found in hikari-sake >=v1.0.1a1 (exposed by
RedisResource.add_to_tanjun).
Removed
BaseConverter.convertin-favour of having each standard converter directly implement__call__.tanjun.conversion.InjectableConverter.InjectionContext.get_type_special_casein favour of aget_type_dependencymethod which tries the context's client before returning the special case if registered.