Skip to content

v2.4.1a1

Choose a tag to compare

@FasterSpeeding FasterSpeeding released this 25 Feb 22:45
· 603 commits to master since this release
a5055e3

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

  • Coroutine is now used instead of Awaitable for 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.TypeDescriptor and tanjun.injecting.CallbackDescriptor as these couldn't be kept through the Alluka refactor.
  • needs_injection attributes.

Deprecated

  • tanjun.injecting now only consists of deprecated aliases to Alluka types, with the only tanjun.inject and tanjun.injected being left as not deprecated for the sake of ease of use.