Skip to content

1.9.6

Choose a tag to compare

@Mqzn Mqzn released this 28 Jun 20:17
· 477 commits to master since this release

Hot Patch

This patch includes a new feature, lots of improvements and a bug fix:

NEW Experimental feature (unstable)

  • Added flag shorthands parsers using advanced flag extracting algorithms.
    e.g: instead of -a -b -c , you can now do -abc. Contact @Mqzn for more details.

Improvements:

  • NEW: ParameterCompletableFuture , you can automatically add CompletableFuture<T> parameters where you must ensure that there's a parameter type registered for T too.

  • NEW: ParameterOptional, you can automatically add Optional<T> parameters where you must ensure that there's a parameter type registered for T too. (NOTE: this does NOT specify this argument/parameter as an optional parameter).

  • Improved performance of auto completion for suggestions.

  • Added automated type-capturer, so you don't need to specify the class in your ParameterType sub class's constructor,
    just implement the method and that's it :D!, special thanks to @iiAhmedYT .

Bug fixes

  • Fixed accumulation of suggestions if there's optional argument,
    after auto completing an required argument.

Full Changelog: v1.9.5...v1.9.6