Skip to content

v3.4.0

Choose a tag to compare

@Mqzn Mqzn released this 06 Apr 04:41
· 63 commits to master since this release

Changes

  • Bug-fix: aliases of root command not being detected correctly only when using brigadier integration.
  • Bug-fix: Tab completion for flags that are in between different subcommands.
  • Improved: the handling of greedy-by-nature argument-types, and thus eliminating the need for overriding ArgumentType#parse(ExecutionContext<S>, Cursor<S>).
  • Added validation for command names used in annotations like @RootCommand or @SubCommand to ensure the names do not contain any spaces.
  • Added NEW method Cursor#collectRawArguments(int) (this is more of an internal change)

Breaking change:

  • Refactored the method ArgumentType#parse(CommandContext<S>, String)
    to ArgumentType#parse(CommandContext<S>, Argument<S>, String).

Full Changelog: v3.3.0...v3.4.0