Skip to content

Releases: VelixDevelopments/Imperat

Imperat v1.0.0-b.3

25 Sep 00:23
Compare
Choose a tag to compare
Imperat v1.0.0-b.3 Pre-release
Pre-release

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 original SuggestionResolver to accept only one generic type parameter (e.g: SuggestionResolver<S>) and refactored the overloaded static method SuggestionResolver#plain into SuggestionResolver#type making it return TypeSuggestionResolver.

  • Added static method SuggestionResolver#plain to return plain SuggestionResolver.

Internal changes

  • Renamed UsageContextMatch to CommandDispatch
  • 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 and AdvancedAutoCompleter making AutoCompleter a class instead of being abstract.

Imperat v1.0.0-b.2

22 Sep 23:48
Compare
Choose a tag to compare
Imperat v1.0.0-b.2 Pre-release
Pre-release

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

18 Sep 03:50
Compare
Choose a tag to compare