github remkop/picocli v4.5.0
Picocli 4.5.0

latest releases: v4.7.5, v4.7.4, v4.7.3...
3 years ago

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
  • Deprecations
  • Potential breaking changes

New and Noteworthy

Fixed issues

  • [#1129] API: Add methods ColorScheme::stackTraceText(Throwable) and ColorScheme::richStackTraceString(Throwable).
  • [#1124] Enhancement: automatically generate a better summary in the AutoComplete.GenerateCompletion generated man page.
  • [#1126] Enhancement: Make picocli trace levels case-insensitive.
  • [#1128] Enhancement: ParameterException caused by TypeConversionException now have their cause exception set.
  • [#1137] Bugfix: The picocli-codegen annotation processor causes the build to fail with a ClassCastException when an option has completionCandidates defined.
  • [#1134] Bugfix: The picocli-codegen annotation processor should allow @Spec-annotated field in classes implementing IVersionProvider.
  • [#1138] Bugfix: The picocli-codegen annotation processor no longer gives FATAL ERROR: picocli.CommandLine$InitializationException: ArgGroup has no options or positional parameters, and no subgroups during 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.

Don't miss a new picocli release

NewReleases is sending notifications on new releases.