Releases: Incendo/cloud
Releases · Incendo/cloud
Release list
1.4.0
Added
- Predicate command filters to the help system (#187)
- Allow flags to contain compound arguments (#192)
- Allow for components in exceptions and meta data (#200)
- Location2DArgument (#201)
- Expose the Command which led to
InvalidCommandSenderExceptions (#204) - Expose the CommandContext which led to
CommandExecutionExceptions (#204) - Helper methods for command flags to MutableCommandBuilder (#205)
- CommandFlag accepting getters to FlagContext (#206)
- More abstract description concept (#207)
- Predicate permissions (#210)
- Injection services (#211)
- Sponge v7 support (#212)
- Logical
ANDandORoperations forCommandPermissions (#213)
Changed
- Allow command argument names to include
_and-(#186) - Make it easier to use translatable components with MinecraftHelp (#197)
- Show "No result for query" when a multi-help topic is empty
- Use the method+field annotation accessor rather than the method accessor when injecting method parameters
Deprecated
- Description, and everything using Description directly (#207)
- ParameterInjectorRegistry#injectors (#211)
Fixed
1.3.0
Added
@Suggestionsannotated methods@Parserannotated methods- Type safe meta system
- Allow interception of command builders based on annotations in AnnotationParser
- Kotlin DSL
Changed
- Move the parser injector registry into CommandManager and added injection to CommandContext
- Supporting repeating literals or argument names
- Make CommandMeta and FlagContext more Kotlin friendly
Deprecated
- String keyed command meta
- ParameterInjectorRegistry#injectors
Fixed
- Fixed issue with task synchronization
1.2.0
Added
- Added access to the CloudBrigadierManager from Brigadier-enabled command managers
- Added parameter injectors (cloud-annotations)
- Store currently parsing command argument in the command context
- Added a method to CloudBrigadierManager to enable or disable Brigadier native suggestions for specific argument types
- Added a method to get the failure reason of SelectorParseExceptions
- Added some methods to FlagContext to work with flag values as optionals
- Allow for use of named suggestion providers with
@Flags (cloud-annotations) - Added
CommandExecutionExceptionwhich wraps any exception thrown during the execution of command handlers. Should be
handled usingCommandManager#registerExceptionHandler, similar toNoSuchCommandException,ArgumentParseException, etc. - Added registration state to command managers
- Added ALLOW_UNSAFE_REGISTRATION ManagerSetting to disable state checks when registering commands
- Added OVERRIDE_EXISTING_COMMANDS ManagerSetting to allow for overriding of existing commands on supported platforms
Changed
- Allow for use of
@Completionsannotation with argument types other than String - Allow for use of a BiFunction<C, E, Component> instead of just a Function<E, Component> in MinecraftExceptionHandler
Deprecated
- Deprecated LockableCommandManager in favor of CommandManager state
Fixed
- Use the correct default range for Double and Float parsers in the StandardParserRegistry
- Fix Bukkit alias command suggestions without Brigadier
- Fix Bukkit command alias registration when using Brigadier
- Fixed a bug where providing valid input for an argument caused cloud to no longer make suggestions
- Detect and throw an exception for ambiguous nodes in more cases
- CloudBrigadierManager no longer forgets the command sender
1.1.0
Added
- Added ExampleVelocityPlugin
- Added CloudInjectionModule to cloud-velocity
- Added PlayerArgument to cloud-velocity
- Added TextColorArgument to minecraft-extras
- Added LocationArgument to cloud-bukkit
- Added ServerArgument to cloud-velocity
- Added LockableCommandManager to cloud-core
- Added VelocityCommandPreprocessor to cloud-velocity
- Added PlayerArgument to cloud-bungee
- Added ServerArgument to cloud-bungee
- Added ExampleBungeePlugin
- Added CaptionKeys to cloud-bungee
- Added BungeeCommandPreprocessor to cloud-bungee
- Added named suggestion providers
- Added a PircBotX implementation
Changed
- Allow for combined presence flags, such that
-a -b -cis equivalent to-abc - Allow for class annotations as a default for when an annotation is not present on a method
- Allow for annotated annotations
Fixed
- Fix arguments with no required children not being executors (cloud-brigadier)
1.0.2
1.0.1
1.0.1 has been pushed to Maven Central.
Changes
- Switched from a snapshot to a release version of adventure 4.0.0
- Added
Identity.nil()when sending adventure messages