Releases: VelixDevelopments/Imperat
Imperat v1.0.0-b.3
Changes:
There are several internal and API changes in this release.
API changes
-
Added new feature
Source Resolver
allowing for custom command sources. -
Added new platform support for
Velocity
the proxy API in minecraft -
Added tab-completion of parameter's formats (e.g:
<number>
).
ONLY if the parameter doesn't have ANY type of suggestion resolvers. -
Removed Platform specific resolvers/processors e.g: BukkitResolvers
-
Added interface
TypeSuggestionResolver
for specific suggestion resolvers that are linked to a type, while refactoring the originalSuggestionResolver
to accept only one generic type parameter (e.g:SuggestionResolver<S>
) and refactored the overloaded static methodSuggestionResolver#plain
intoSuggestionResolver#type
making it returnTypeSuggestionResolver
. -
Added static method
SuggestionResolver#plain
to return plainSuggestionResolver
.
Internal changes
- Renamed
UsageContextMatch
toCommandDispatch
- Added internal default resolvers of various types for minecraft-related platforms.
- BUG-FIX: fixed a bug where the command tree wasn't identifying flags as nodes during dispatching.
- Removed
SimpleAutoCompleter
andAdvancedAutoCompleter
makingAutoCompleter
a class instead of being abstract.
Imperat v1.0.0-b.2
Changes:
- Made the class
CommandParameter
generic - Added new method
Imperat#dispatch(source, commandLine)
- Restructured the help-system while keeping some of its previous concepts.
- Deleted some classes such as
UsageDisplayer
- Added
CLI
support for command-line applications
Imperat 1.0.0-b.1
Full Changelog: https://github.com/VelixDevelopments/Imperat/commits/1.0.0-b.1