Picocli 4.7.1
Picocli 4.7.1
The picocli community is pleased to announce picocli 4.7.1.
This release includes bugfixes and enhancements.
This is the eightieth public release.
Picocli follows semantic versioning.
Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96).
Table of Contents
New and Noteworthy
Fixed issues
- [#1874][#1885][#1933] Bugfix: The
picocli-groovy
module should not declareorg.codehaus.groovy:groovy-all
as dependency. Thanks to Mattias Andersson and Michael Kutz for raising this, and to Paul King for the analysis. - [#1886][#1896] Bugfix: AsciiDoc generator now correctly outputs options even if all options are in ArgGroups. Thanks to Ruud Senden for the discussion and the pull request.
- [#1878][#1876] Bugfix: Annotation processor now avoids loading resource bundles at compile time. Thanks to Ruud Senden for the discussion and the pull request.
- [#1911] Avoid using boxed boolean in
CommandLine.Interpreter.applyValueToSingleValuedField
. Thanks to Jiehong for the pull request. - [#1870] Bugfix:
StringIndexOutOfBoundsException
in usage help when command has many (and long) aliases. Thanks to Martin for raising this. - [#1904] Bugfix: Apply
fallbackValue
to vararg multi-value options, not just single-value options. Thanks to Andreas Sewe for raising this. - [#1930] Bugfix: Ensure tests pass in environments for Java 5-18.
- [#1940] Bugfix: fix 3 failing tests in
ManPageGeneratorTest
. Thanks to Mike Snowden for the pull request. - [#1881] DOC: Many documentation improvements. Thanks to Andreas Deininger for the pull request.
- [#1855][#1857] DOC: Add new user manual section called Rare Use Cases detailing
System.exit
usage. Thanks to Tadaya Tsuyukubo for the pull request. - [#1880] DOC: Improve documentation for negatable options that are true by default. Thanks to Sebastian Hoß for raising this.
- [#1815] DOC: Improve user manual section for non-validating ArgGroups. Thanks for Paul Harris for raising this.
- [#1908] DOC: Update the user manual GraalVM section to use the new official native-maven-plugin. Thanks to tison for the pull request.
- [#1924] DOC: Update
picocli-codegen/README.adoc
. Thanks to Seyyed Emad Razavi for the pull request. - [#1910][#1917] DOC: Fix broken link to Zero Bug Commitment. Thanks to Jiehong for raising this and thanks to Andreas Deininger for the pull request.
- [#1915] DOC: Improve default provider examples. Thanks to David for raising this.
- [#1918][#1920] DOC: Removed unused Travis CI badge and associated broken link from README. Thanks to Andreas Deininger for raising this and the pull request.
- [#706] DOC: Add GitHub badge with test count to README.
- [#1939] BUILD: Fix
picocli-annotation-processing-tests
failures on Java 16+: rewrite tests to avoid Googlecompiler-test
API that internally usescom.sun.tools.javac.util.Context
. - [#1887] DEP: Bump biz.aQute.bnd.gradle from 6.3.1 to 6.4.0
- [#1865] DEP: Bump ivy from 2.5.0 to 2.5.1
- [#1931] DEP: Bump springBootVersion from 2.7.5 to 3.0.2
- [#1929] DEP: Bump github/codeql-action from 2.1.29 to 2.1.39
- [#1926] DEP: Bump step-security/harden-runner from 1.5.0 to 2.1.0
- [#1914] DEP: Bump actions/checkout from 3.1.0 to 3.3.0
- [#1897] DEP: Bump actions/setup-java from 3.6.0 to 3.9.0
- [#1902] DEP: Bump ossf/scorecard-action from 2.0.6 to 2.1.2
- [#1938] DEP: Bump actions/upload-artifact from 3.1.1 to 3.1.2
- [#1937] DEP: Bump asciidoctorj-pdf from 2.3.3 to 2.3.4
- [#1936] DEP: Bump jline from 3.21.0 to 3.22.0
- [#1935] DEP: Bump compile-testing from 0.19 to 0.21.0
Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.