Skip to content

1.8.0

Compare
Choose a tag to compare
@jpenilla jpenilla released this 13 Dec 18:30
· 317 commits to master since this release
1.8.0

Added

  • Core: Added CommandBuilderApplicable and Command.Builder#apply(CommandBuilderApplicable) (#409)
  • Core: Expose failure reason when flag parsing fails (#380)
  • Core: Allow registering injectors to ParameterInjectorRegistry using a class predicate instead of just a class (#402)
  • Core: Experimental option to allow flags to be parsed and suggested anywhere after the last literal in a command chain (#395)
  • Core: New Filter interface used by FilteringCommandSuggestionProcessor, allowing custom filter behavior (#410)
  • Core: Helper to get the root index help topic (#415)
  • Bukkit/Paper: Full support for Minecraft 1.19.3 (#412)

Fixed

  • Core: Greedy arguments are now able to suggest after a space in the input, and will receive the full concatenated input
    instead of just the queue head (#414)
  • Core: Fixed invalid suggestions when parsing of argument fails (#401)
  • Core: Fixed commands not being removed from command collection on unregister (#408)
  • Annotations: Fix argument annotation name not being processed (#397)
  • Brigadier: Further fixes for suggestions on old versions of Minecraft
  • Brigadier: Fixed handling of GREEDY_FLAG_YIELDING string arguments
  • Minecraft-Extras: Fixed wrong color codes in TextColorArgument (#407)
  • Minecraft-Extras: Removed double space when paginating with a blank help query
  • Javacord: Fixed regex issue with certain prefixes (#400)

Changed

  • Default suggestion processor ignores case when checking starts with (#410)
  • Deprecated newBuilder argument builder static factories, added builder factories to align with conventions for new
    arguments (#419)
  • Core: Improve nullability annotations on generics in CommandContext (#405)
  • Core: Made injection order of ParameterInjectorRegistry consistent (#402)
  • Bukkit/Paper: Rewrite Bukkit entity selector arguments using WrappedBrigadierParser instead of Bukkit API
  • Fabric: Updated for Minecraft 1.19.3, dropping support for previous versions (#411)
  • Minecraft: Default suggestion processor now removes the part of a suggestion which is before the last user typed space in
    the input, allowing for full sentence suggestions more easily, especially combined with other fixes in this update (#410)