Picocli 4.0.3
The picocli community is pleased to announce picocli 4.0.3.
This release contains a bugfixes and enhancements.
GraalVM native image-configuration generation for picocli commands with argument groups now work correctly.
This is the sixtieth public release.
Picocli follows semantic versioning.
Table of Contents
- New and noteworthy
- Fixed issues
- Deprecations
- Potential breaking changes
New and Noteworthy
Fixed issues
- [#794] (Bugfix) Perform topological sort on ArgGroups in annotation processor before wiring up the model to prevent FATAL ERROR in annotation processor: picocli.CommandLine$InitializationException: ArgGroup has no options or positional parameters, and no subgroups.
- [#793] (Bugfix) Argument groups disappear in GraalVM native-image (the generated
reflect-config.json
was missing the@ArgGroup
-annotated fields). Thanks to Mike Hearn for the bug report. - [#787] (Enhancement) Throw
InitializationException
instead ofStackOverflowError
when subcommand is subclass of itself. Thanks to Peter Murray-Rust for raising this. - [#784] (DOC) Update documentation to show custom
IFactory
implementations should fall back to the default factory to enable the creation of collections for@Option
-annotated methods and fields. - [#788] (DOC) Add link to GitHub examples in user manual Mixins section. Thanks to Peter Murray-Rust for the suggestion.
- [#789] (DOC) Add example usage help to the user manual Negatable Options section.
Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.