Skip to content

1.7.0

Choose a tag to compare

@jpenilla jpenilla released this 19 Jun 05:54
· 392 commits to master since this release
1.7.0

Notes

Command Deletion

This release adds the ability to delete commands when using supported platform implementations (JDA, javacord, Bukkit, Paper & PircBotX).

This feature has limited support when using Bukkit/Paper. Command deletion does work. However, command reloading is still (and there are currently no plans for this to change) unsupported. Use it at your own risk.

Annotations

Do note the addition of the annotation processor. You can find installation instructions here. Instructions about how to utilise @CommandContainers will be added to the documentation soon. However, the gist of it can be found in the @CommandContainer JavaDoc. Furthermore, if you do use the annotation processor, you may find that your @CommandMethod annotated methods have some compile-time validation. This system will be expanded upon in the future, so feel free to suggest more features in the Issue Tracker.

Changes

Added

  • Core: Allow for setting a custom CaptionVariableReplacementHandler on the command manager (#352)
  • Core: Add DurationArgument for parsing java.time.Duration (#330)
  • Core: Add delegating command execution handlers (#363)
  • Core: Add builder() getter to Command.Builder (#363)
  • Core: Add flag yielding modes to StringArgument and StringArrayArgument (#367)
  • Core: Add apiguardian @API annotations (#368)
  • Core: Deprecate prefixed getters/setters in CommandManager (#377)
  • Core: Add repeatable flags (#378)
  • Annotations: Annotation string processors (#353)
  • Annotations: @CommandContainer annotation processing (#364)
  • Annotations: @CommandMethod annotation processing for compile-time validation (#365)
  • Add root command deletion support (core/pircbotx/javacord/jda/bukkit/paper) (#369,
    #371)
  • Bukkit/Paper: Full support for Minecraft 1.19

Fixed

  • Core: Fix missing caption registration for the regex caption (#351)
  • Core: Fix NPE thrown on empty command tree (#337)
  • Annotations: Fix MutableCommandBuilder Java/Kotlin interoperability issues (#342)

Changed

  • Fabric: Updated for Minecraft 1.19 (no longer supports older versions) (#356)
  • Paper: Improved KeyedWorldArgument suggestions (#334)
  • Minecraft-Extras: Support sender-aware description decorators in MinecraftHelp (#354)