Skip to content

v0.4.0

Compare
Choose a tag to compare
@Vampire Vampire released this 14 Mar 10:24
· 7 commits to master since this release
v0.4.0

Highlights

  • Things are now initialized lazily where possible to prevent stack-overflow problems due to hen-and-egg situations
  • There is now a parameter parser that supports typed parameters that are automatically converted
  • Support non-relaxed proxy creation and produced restrictions
  • Checking restrictions is not dependent on an internal class anymore but uses a map, also allowing to check restrictions in downstream code
  • Update to latest JDA and Javacord versions
  • Command context class for consolidating command invocation relevant information and attaching arbitrary information to the context
  • The command recognition and resolution process can now be influenced at certain points using command context transformers
  • Slash commands are now supported natively for Javacord support

Details

  • Support slash commands for Javacord [9730677]
  • Update JDA version to 4.4.0_352 [a816a86]
  • Update Javacord version to 3.4.0 [7e359e3]
  • Make private elements needed by CDI package-private [d4e050d]
  • Replace RestrictionLookup by a Map [c457e94]
  • Make all beans proxyable [d0c12df]
  • Check actual restriction class instead of inheritance distance [ad55836]
  • Make sure that default aliases have Command and Cmd only stripped from beginning and end [38d6db7]
  • Increase integ tests coverage for parameter parsers [7eb23d4]
  • Improve README text [6091043]
  • Add command context class with additional information store and allow to transform it in various phases [4d3d6d1]
  • Update Discord Frameworks to intent-compatible versions and adapt integ tests [85bcac8]
  • Fix Parameters JavaDoc [825212c]
  • Rename usageParser feature to parameterParser [855c3eb]
  • Fix JDA command handler JavaDoc [c0ff0d6]
  • Provoke a more visible and intuitive error if a user tries to use ParameterParser without ANTLR runtime [f339cb2]
  • Fix prerequisites regarding message framework [cb47dae]
  • Limit backwards compatibility guarantee to API classes [fe5352f]
  • Add support for typed parameter parsing [614047a]
  • Increase version to 0.4.0 [d20a99f]
  • Fix toString() tests [5977faf]
  • Fix Pitest execution on Java 8 [8ea216b]
  • Remove unnecessary volatile keywords [f24078a]
  • Initialize things lazily where possible to prevent stack-overflow problems due to hen-and-egg situations [1ce91e5]
  • Refactor out lazy initialization logic into own helper classes [05ae936]
  • Fix example path in readme [6ca0a1e]