picocli 3.0.0-alpha-2
Picocli 3.0.0-alpha-2
The picocli community is pleased to announce picocli 3.0.0-alpha-2.
This release includes some bug fixes and small enhancements. See 3.0.0-alpha-1 for recent functional changes.
This is the twenty-second public release.
Picocli follows semantic versioning.
Fixed issues
- [#312] Enhancement and API change: Remove
AbstractSimpleParseResultHandler
class andparseWithSimpleHandlers
method. - [#311] Enhancement and API change: Simplify parseWithHandlers: removed prototypeReturnValue parameter.
- [#307] Enhancement: Provide CommandLine.usage(PrintWriter) method for testing and to facilitate GROOVY-8520 migration from commons-cli to picocli.
- [#306] Enhancement: Support generating autocompletion scripts for non-public @command classes. Thanks to cbeams for the request.
- [#308] Enhancement: Provide API to disallow POSIX clustered short options.
- [#310] Enhancement: PicocliBaseScript should follow conventions for stdout and stderr: requested help to stdout, invalid input usage help to stderr.
- [#309] Bugfix: Tests were failing on environments that support ANSI colors.
Deprecations
See 3.0.0-alpha-1
Potential breaking changes
- [#311] API change from 3.0.0-alpha-1: the
parseWithHandlers
methods signature changed: removed theprototypeReturnValue
parameter. - [#312] API change from 3.0.0-alpha-1: Remove
AbstractSimpleParseResultHandler
class andparseWithSimpleHandlers
method.
See 3.0.0-alpha-1