v2.4.1a1
·
603 commits
to master
since this release
2.4.1a1 - 2022-02-25
Added
- Alluka's dependency injection interface(s) have been upgraded to the standard Client interface and Context interfaces.
- Standard message converter.
Changed
Coroutineis now used instead ofAwaitablefor callback signature return types to account for refactors made to DI logic in Alluka.- The dependency injection implementation has been moved to https://github.com/FasterSpeeding/Alluka and any new DI features may be indicated there rather than on Tanjun's (Note, DI is still supported) changelog.
- Callbacks with invalid dependency injection declarations (are declaring a positional-only argument as needing DI) now won't error until they're called with DI.
Fixed
- Duplication detection while checking for commands with overlapping names on declare.
- Relaxed menu command name validation to allow special characters and mixed cases.
Removed
tanjun.injecting.TypeDescriptorandtanjun.injecting.CallbackDescriptoras these couldn't be kept through the Alluka refactor.needs_injectionattributes.
Deprecated
tanjun.injectingnow only consists of deprecated aliases to Alluka types, with the onlytanjun.injectandtanjun.injectedbeing left as not deprecated for the sake of ease of use.