Skip to content

Picocli 4.7.6

Latest
Compare
Choose a tag to compare
@remkop remkop released this 08 May 00:30
· 10 commits to main since this release

Picocli 4.7.6

The picocli community is pleased to announce picocli 4.7.6.

This release includes bugfixes and enhancements.

Many thanks to the picocli community for raising these issues and providing the pull requests to address them!

This is the eighty-fifth 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

PropertiesDefaultProvider now tries to load properties from the classpath if the file cannot be found in the user.home directory.

Fixed issues

  • [#2102][#2107] Enhancement: PropertiesDefaultProvider should try to load properties from classpath (last). Thanks to Lumír Návrat for the pull request.
  • [#2202] Enhancement: Change log level from WARN to INFO when bean not found in ApplicationContext. Thanks to Desmond Kirrane for raising this.
  • [#2248] Enhancement: Don't show hidden commands in JLine3 command description. Thanks to Reinhard Handler for the pull request.
  • [#2170] Enhancement: Use ... vararg instead of array parameter to match overridden method signature. Thanks to Michael Vorburger for the pull request.
  • [#2058] Bugfix: defaultValue should not be applied in addition to user-specified value for options with a custom IParameterConsumer. Thanks to Staffan Arvidsson McShane for raising this.
  • [#2148] Bugfix: Fix NPE in jline3 Example.jar as ConfigurationPath cannot be null anymore. Thanks to llzen44 for the pull request.
  • [#2232] Bugfix: fix bug for Optional<T> arguments with initial value. Thanks to hq6 for raising this.
  • [#2149] Bugfix: @Option-annotated setter method not invoked with default value when used in mixin for both command and subcommand. Thanks to Zhonghao Wang for raising this.
  • [#2270] Bugfix: Custom type converter for primitive boolean options should not be ignored. Thanks to Sven Kammerer for raising this.
  • [#2234] BUILD: fix errorprone TruthSelfEquals warnings
  • [#2172] BUILD: Fix broken build. Thanks to Michael Vorburger for the pull request.
  • [#2174] BUILD: Fix .gitattributes related CR/LF problems. Thanks to Michael Vorburger for the pull request.
  • [#2054][#2176] BUILD: Add Error Prone. Thanks to Michael Vorburger for the pull request.
  • [#2053] [#2175] CLEAN: Remove unused extra format arguments. Thanks to Michael Vorburger for the pull request.
  • [#2171] DOC: Fix a few typos in CommandLine's JavaDoc. Thanks to Michael Vorburger for the pull request.
  • [#2217] DOC: Clarify documentation for negatable options. Thanks to dbear496 for raising this.
  • [#2228] DOC: Clarify that ParseResult passed to IExecutionExceptionHandler is the top-level parse result, not the parse result of the subcommand that failed. Thanks to Abel Salgado Romero for raising this.
  • [#2047] DEP: Bump andymckay/append-gist-action from 1fbfbbce708a39bd45846f0955ed5521f2099c6d to 6e8d64427fe47cbacf4ab6b890411f1d67c07f3e
  • [#2091] DEP: Bump actions/checkout from 3.5.2 to 3.6.0
  • [#2108] DEP: Bump actions/checkout from 3.6.0 to 4.0.0
  • [#2120] DEP: Bump actions/checkout from 4.0.0 to 4.1.0
  • [#2225] DEP: Bump actions/checkout from 4.1.0 to 4.1.2
  • [#2272] DEP: Bump actions/checkout from 4.1.2 to 4.1.4
  • [#2098] DEP: Bump actions/setup-java from 3.11.0 to 3.12.0
  • [#2158] DEP: Bump actions/setup-java from 3.12.0 to 4.0.0
  • [#2236] DEP: Bump actions/setup-java from 4.0.0 to 4.2.1.
  • [#2111] DEP: Bump actions/upload-artifact from 3.1.2 to 3.1.3
  • [#2204] DEP: Bump actions/upload-artifact from 3.1.3 to 4.3.1
  • [#2273] DEP: Bump actions/upload-artifact from 4.3.1 to 4.3.3
  • [#2227] DEP: Bump com.google.errorprone:error_prone_core from 2.23.0 to 2.26.1
  • [#2271] DEP: Bump com.google.errorprone:error_prone_core from 2.26.1 to 2.27.1
  • [#2237] DEP: Bump emibcn/badge-action from 2.0.2 to 2.0.3.
  • [#2099] DEP: Bump gradle/gradle-build-action from 2.4.2 to 2.8.0
  • [#2165] DEP: Bump gradle/gradle-build-action from 2.8.0 to 2.11.0
  • [#2206] DEP: Bump gradle/gradle-build-action from 2.11.1 to 3.1.0
  • [#2246] DEP: Bump gradle/gradle-build-action from 3.1.0 to 3.3.0.
  • [#2096] DEP: Bump gradle/wrapper-validation-action from 1.0.6 to 1.1.0
  • [#2247] DEP: Bump gradle/wrapper-validation-action from 1.1.0 to 3.3.0.
  • [#2263] DEP: Bump gradle/wrapper-validation-action from 3.3.0 to 3.3.2
  • [#2085] DEP: Bump github/codeql-action from 2.3.5 to 2.21.4
  • [#2114] DEP: Bump github/codeql-action from 2.21.4 to 2.21.7
  • [#2167] DEP: Bump github/codeql-action from 2.21.7 to 3.22.11
  • [#2230] DEP: Bump github/codeql-action from 3.22.11 to 3.24.8
  • [#2235] DEP: Bump github/codeql-action from 3.24.8 to 3.24.10.
  • [#2262] DEP: Bump github/codeql-action from 3.24.10 to 3.25.3
  • [#2093] DEP: Bump junit5Version from 5.9.3 to 5.10.0
  • [#2180] DEP: Bump junit5Version from 5.10.0 to 5.10.1
  • [#2240] DEP: Bump junit5Version from 5.10.1 to 5.10.2.
  • [#2140] DEP: Bump log4j2Version from 2.20.0 to 2.21.1
  • [#2178] DEP: Bump log4j2Version from 2.21.1 to 2.22.0
  • [#2252] DEP: Bump log4j2Version from 2.22.0 to 2.23.1
  • [#2095] DEP: Bump org.apache.ivy:ivy from 2.5.1 to 2.5.2
  • [#2094] DEP: Bump org.asciidoctor:asciidoctorj-pdf from 2.3.7 to 2.3.9
  • [#2229] DEP: Bump org.asciidoctor:asciidoctorj-pdf from 2.3.9 to 2.3.15
  • [#2244] DEP: Bump org.asciidoctor:asciidoctor-gradle-jvm from 3.3.2 to 4.0.2.
  • [#2135] DEP: Bump org.fusesource.jansi:jansi from 2.4.0 to 2.4.1
  • [#2089] DEP: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.8.21 to 1.9.10
  • [#2154] DEP: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.10 to 1.9.21
  • [#2090] DEP: Bump org.jetbrains.kotlin:kotlin-script-runtime from 1.8.21 to 1.9.10
  • [#2221] DEP: Bump org.jetbrains.kotlin:kotlin-script-runtime from 1.9.10 to 1.9.23
  • [#2243] DEP: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 1.9.21 to 1.9.23.
  • [#2146] DEP: Bump org.jline:jline from 3.23.0 to 3.24.1
  • [#2241] DEP: Bump org.jline:jline from 3.24.1 to 3.25.1.
  • [#2261] DEP: Bump org.jline:jline from 3.25.1 to 3.26.1
  • [#2049] DEP: Bump org.hibernate.validator:hibernate-validator from 8.0.0.Final to 8.0.1.Final
  • [#2037] DEP: Bump org.scala-lang:scala-library from 2.13.10 to 2.13.11
  • [#2112] DEP: Bump org.scala-lang:scala-library from 2.13.11 to 2.13.12
  • [#2242] DEP: Bump org.scala-lang:scala-library from 2.13.12 to 2.13.13.
  • [#2267] DEP: Bump org.scala-lang:scala-library from 2.13.13 to 2.13.14
  • [#2052] DEP: Bump ossf/scorecard-action from 2.1.3 to 2.2.0
  • [#2183] DEP: Bump ossf/scorecard-action from 2.2.0 to 2.3.1
  • [#2082] DEP: Bump step-security/harden-runner from 2.4.0 to 2.5.1
  • [#2152] DEP: Bump step-security/harden-runner from 2.5.1 to 2.6.1
  • [#2268] DEP: Bump step-security/harden-runner from 2.6.1 to 2.7.1
  • DEP: Bump SpringBoot from 2.7.1 to 2.7.2 (for Java versions prior to 17)
  • [#2255] DEP: Bump andymckay/append-gist-action from 0.2 to 0.3

Deprecations

No features were deprecated in this release.

Potential breaking changes

This release has no breaking changes.