Picocli 4.5.0
Picocli 4.5.0
The picocli community is pleased to announce picocli 4.5.0.
This release contains bug fixes and enhancements.
The ColorScheme class now has new methods stackTraceText and richStackTraceString, which can be convenient when creating custom error handlers with colors.
Various bugfixes in the picocli-codegen annotation processor.
The user manual now has anchor links before all section titles.
This is the seventy-second public release.
Picocli follows semantic versioning.
Table of Contents
New and Noteworthy
Fixed issues
- [#1129] API: Add methods
ColorScheme::stackTraceText(Throwable)andColorScheme::richStackTraceString(Throwable). - [#1124] Enhancement: automatically generate a better summary in the
AutoComplete.GenerateCompletiongenerated man page. - [#1126] Enhancement: Make picocli trace levels case-insensitive.
- [#1128] Enhancement:
ParameterExceptioncaused byTypeConversionExceptionnow have their cause exception set. - [#1137] Bugfix: The
picocli-codegenannotation processor causes the build to fail with aClassCastExceptionwhen an option hascompletionCandidatesdefined. - [#1134] Bugfix: The
picocli-codegenannotation processor should allow@Spec-annotated field in classes implementingIVersionProvider. - [#1138] Bugfix: The
picocli-codegenannotation processor no longer givesFATAL ERROR: picocli.CommandLine$InitializationException: ArgGroup has no options or positional parameters, and no subgroupsduring incremental compilation in Intelli/J IDEA. - [#1127] DOC: Custom ShortErrorMessageHandler manual example should use bold red for error message.
- [#1130] DOC: Clarify how to run picocli-based applications.
- [#1131] DOC: Add anchor links before section titles in user manual.
Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.