Skip to content

1.6.0

Choose a tag to compare

@jpenilla jpenilla released this 02 Dec 10:10
· 474 commits to master since this release
1.6.0
4df07c0

Added

  • Kotlin: New module cloud-kotlin-coroutines: Support for suspending command handlers in builders and the Kotlin builder DSL
  • Kotlin: New module cloud-kotlin-coroutines-annotations: Support for suspending annotated command functions using AnnotationParser<C>.installCoroutineSupport()
  • Flags can be bound to a permission
  • Paper: Implement KeyedWorldArgument for matching worlds by their namespaced key
  • Annotations: Parser parameter annotations are now also parsed for flags (#315)

Changed

  • Added executeFuture to CommandExecutionHandler which is now used internally. By default, this delegates to the old
    execute method
  • Added @Liberal annotation to mark boolean arguments as liberal when using the annotation parser (#288)
  • Annotations: Apply builder modifiers from class annotations (#303)
  • Annotations: Add default value to @Argument, which will force the parser to infer the argument name from the parameter name
  • Annotations: @CommandMethod can now be used to annotate a class, allowing for a common literal prefix on all annotated command methods in that class. (#301)

Fixed

  • Bukkit: Permission checking and syntax string for Bukkit '/help' command
  • And/OrPermission factory method of did not preserve the conditional tree
  • Formatting of literal arguments with no siblings in StandardCommandSyntaxFormatter
  • Replaced improper usages of TypeToken#toString in error messages
  • Fixed unhandled exceptions being swallowed when AsynchronousCommandExecutionCoordinator is configured with Synchronous Parsing enabled (#307)