Update picocli to v4.7.7 #507
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
4.7.0->4.7.74.7.0->4.7.7Release Notes
remkop/picocli (info.picocli:picocli-codegen)
v4.7.7The picocli community is pleased to announce picocli 4.7.7.
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-sixth 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
This release fixes a problem that was introduced in the previous release (4.7.6), where using an
ArgGroupin aMixinwould result in options being added twice, orDuplicateOptionAnnotationsException.The built-in
picocli.CommandLine.HelpCommandsubcommand now implementsCallable<Integer>and returns the exit code of the subcommand'sexitCodeOnUsageHelpvalue for the subcommand whose help was requested.From this release, if a command implements both
CallableandRunnable, then the default execution strategy will invoke thecallmethod instead of therunmethod.Fixed issues
picocli.shell.jline3.PicocliCommands::invokenow returnsParseResultinstead of null. Thanks to Paul for raising this.paramLabelvalues starting with a digit. Thanks to Ruud Senden and Tobias Knerr for raising this.ArgGroup.headingattribute. Thanks to Marc Philipp for raising this.helpsubcommand should return the exit code of the subcommand'sexitCodeOnUsageHelpvalue for the subcommand whose help was requested. Thanks to marco-brandizi for raising this.negatable=trueoption in anArgGroupshould not add negated option twice. Thanks to Robin Fritz for raising this.ArgGroupfrom aMixin. Thanks to s-falke for raising this. Thanks to Simon Gamma for providing a pull request for this.ArgGroupwhen used inMixin. Thanks to Selene Feigl for raising this.ArgGroup+ defaultValue + split + List/Set. Thanks to Mithun Josalyn Gonsalvez for raising this.DuplicateOptionAnnotationsExceptionon using negatable option inArgGroup. Thanks to Bhavik Patel for raising this.arity=0anddefaultValue=falsebehaved unexpectedly. Thanks to Leonard Brünings for raising this.[#2399] DEP: Bump jakarta.validation:jakarta.validation-api from 3.1.0 to 3.1.1
[#2403] DEP: Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.2.0
[#2400] DEP: Bump org.jetbrains.kotlin:kotlin-gradle-plugin from 2.0.0 to 2.1.20
[#2401] DEP: Bump org.jetbrains.kotlin:kotlin-script-runtime from 2.0.0 to 2.1.20
[#2402] DEP: Bump org.jline:jline from 3.26.1 to 3.29.0
Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.6The 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
PropertiesDefaultProvidernow tries to load properties from the classpath if the file cannot be found in the user.home directory.Fixed issues
PropertiesDefaultProvidershould try to load properties from classpath (last). Thanks to Lumír Návrat for the pull request....vararg instead of array parameter to match overridden method signature. Thanks to Michael Vorburger for the pull request.defaultValueshould not be applied in addition to user-specified value for options with a customIParameterConsumer. Thanks to Staffan Arvidsson McShane for raising this.Example.jarasConfigurationPathcannot benullanymore. Thanks to llzen44 for the pull request.Optional<T>arguments with initial value. Thanks to hq6 for raising this.@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.booleanoptions should not be ignored. Thanks to Sven Kammerer for raising this.TruthSelfEqualswarningsParseResultpassed toIExecutionExceptionHandleris the top-level parse result, not the parse result of the subcommand that failed. Thanks to Abel Salgado Romero for raising this.1fbfbbcto6e8d644Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.5The picocli community is pleased to announce picocli 4.7.5.
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-forth 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
echo=falseforinteractiveoptions and positional parameters. Thanks to szzsolt for raising this.picocli.shell.jline3.PicoCommand. Thanks to clebertsuconic for the pull request.exclusive=falseandmultiplicity=1should require at least one option; fix regression and refine solution introduced in [#1848][#2030]. Thanks to Utkarsh Mittal for raising this.graalvm-native-image-plugin. Thanks to Bhavik Patel for the pull request.Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.4The picocli community is pleased to announce picocli 4.7.4.
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-third 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
See fixed items below.
I cheated on the semantic versioning in this release: a public setter method was added in a class in the
picocli.shell.jline3module. In spite of that, the version number went from 4.7.3 to 4.7.4 (not 4.8.0). My apologies.Fixed issues
picocli.shell.jline3.PicocliCommands. Thanks to Irina Leontyuk for raising this.java.nio.charset.UnsupportedCharsetException: cp0on windows, and fall back to the default charset if the charset provided by System propertysun.stdout.encodingis invalid. Thanks toBartosz Spyrko-Smietanko for the pull request.
ArgGroupbecoming optional when combined withDefaultValueProvider. Thanks to Ruud Senden and Mike Snowden for the pull request.Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.3The picocli community is pleased to announce picocli 4.7.3.
This release includes bugfixes and enhancements.
This is the eighty-second 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 a regression introduced in picocli 4.7.2.
Multi-value options whose
fallbackValueis set toCommandLine.Option.NULL_VALUE, may see aNullPointerExceptionif the option is specified on the command line without a parameter but with a=attached, like--option=.Also, this release fixes broken links in the Javadoc.
Fixed issues
Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.2The picocli community is pleased to announce picocli 4.7.2.
This release includes bugfixes and enhancements.
This is the eighty-first 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
fallbackValue=Option.NULL_VALUEdid not work forCollectionor array options.isJansiConsoleInstalledperformance issue.paramLabelstring auto-generated from Kotlininternalmethods which have mangled names with embedded "$".Fixed issues
fallbackValue=Option.NULL_VALUEdid not work forCollectionor array options. Thanks to Jiri Daněk for raising this.isJansiConsoleInstalledperformance issue. Thanks to ChrisTrenkamp for the pull request.paramLabelstring auto-generated from Kotlininternalmethods which have mangled names with embedded "$". Thanks to Ken Yee for raising this.Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
v4.7.1The 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
picocli-groovymodule should not declareorg.codehaus.groovy:groovy-allas dependency. Thanks to Mattias Andersson and Michael Kutz for raising this, and to Paul King for the analysis.CommandLine.Interpreter.applyValueToSingleValuedField. Thanks to Jiehong for the pull request.StringIndexOutOfBoundsExceptionin usage help when command has too many (and long) aliases. Thanks to Martin for raising this.fallbackValueto vararg multi-value options, not just single-value options. Thanks to Andreas Sewe for raising this.ManPageGeneratorTest. Thanks to Mike Snowden for the pull request.System.exitusage. Thanks to Tadaya Tsuyukubo for the pull request.picocli-codegen/README.adoc. Thanks to Seyyed Emad Razavi for the pull request.picocli-annotation-processing-testsfailures on Java 16+: rewrite tests to avoid Googlecompiler-testAPI that internally usescom.sun.tools.javac.util.Context.Deprecations
No features were deprecated in this release.
Potential breaking changes
This release has no breaking changes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.