Skip to content

v3.0.0-alpha.15 | Added anonymous handlers, hotfixes

Compare
Choose a tag to compare
@freya022 freya022 released this 26 May 17:39
· 287 commits to 3.X since this release
26ca7bb

JDA version

Overview

Added anonymous handlers, hotfixes

Allow anonymous handlers if type-safe binding exists (#176)

This allows you to not set a name on annotated methods which are reference-able using a callable reference.

bindTo

timeout

autocompleteByFunction

Changes

Dependencies

  • Kotlin: 2.0.0-RC2 -> 2.0.0

Built-in resolvers

  • [Breaking] Removed support for text command options on Resolvers.enumResolver, as they were inconsistent with other option types and are,
    in general, awkward to use for an user, much rather let you define what gets mapped to which entry
  • [Small breaking] Improved usages of enumResolver, uses builder

Misc

  • Warn when a timeout is set on CoroutineEventManager (as it is ignored)

Removals

  • ResolverContainer is now internal, as it wasn't really usable in the first place, use service factories to register your resolver(s) (factories)

Fixes

Components

  • Fixed missing dependency exception when components were not used

Don't hesitate to check out the changelogs and the wiki.

Full Changelog: v3.0.0-alpha.14...v3.0.0-alpha.15