chore(deps): update dependency info.picocli:picocli to v4.7.7 #10
+10
−10
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.6.3→4.7.74.2.0→4.7.74.5.0→4.7.74.6.1→4.7.74.7.0→4.7.74.7.6→4.7.7Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
remkop/picocli (info.picocli:picocli)
v4.7.7Compare Source
The 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.6Compare Source
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
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.5Compare Source
The 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.4Compare Source
The 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.3Compare Source
The 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.2Compare Source
The 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.
v4.7.0The picocli community is pleased to announce picocli 4.7.0.
This release includes bugfixes and enhancements.
A potentially breaking change is that the parser now treats
char[]as a single-value type.From this release, applications can programmatically set the trace level, and use tracing in custom components.
Applications can improve startup time by setting system property
picocli.disable.closurestotrueto disable support for closures in annotations.Many more fixes and enhancements, see the sections below for more details.
This is the seventy-ninth 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
Tracing API
From picocli 4.7.0, applications can programmatically set the trace level, and use tracing in custom components.
In addition to setting system property
picocli.trace, applications can now change the trace level via theTracer::setLevelmethod. For example:The new public method
CommandLine.tracer()returns the singletonTracerobject that is used internally by picocli, and can also be used by custom component implementations to do tracing. For example:Enable Consuming Option Names or Subcommands
By default, options that take a parameter do not consume values that match a subcommand name or an option name.
This release introduces two parser configuration options to change this behaviour:
CommandLine::setAllowOptionsAsOptionParametersallows options to consume option namesCommandLine::setAllowSubcommandsAsOptionParametersallows options to consume subcommand namesWhen set to
true, all options in the command (options that take a parameter) can consume values that match option names or subcommand names.This means that any option will consume the maximum number of arguments possible for its arity.
USE WITH CAUTION!
If an option is defined as
arity = "*", this option will consume all remaining command line arguments following this option (until the End-of-options delimiter) as parameters of this option.Unsorted Synopsis
By default, the synopsis displays options in alphabetical order.
Picocli 4.7.0 introduces a
sortSynopsis = falseattribute to let the synopsis display options in the order they are declared in your class, or sorted by theirorderattribute.Parser change for
char[]optionsPrior to 4.7, the picocli parser treated options and positional parameters with type
char[]as array (multi-value) options, except for interactive options. However, it is more intuitive to treat allchar[]options as single-value options, similar toStringoptions.For end users, this means that existing applications that use non-interactive
char[]options will no longer allow multiple characters to be specified separately on the command line. That is, input like-c A -c B -c Cwill be rejected and the user needs to specify-c ABCinstead.Applications that want to preserve the previous behaviour will need to change their code to use
java.lang.Character[]instead ofchar[].Fixed issues
picocli-codegenartifact is now an explicitly declared named JPMS module with amodule-info.class.picocli-groovyartifact is now an explicitly declared named JPMS module with amodule-info.class.picocli-shell-jline2is now an explicitly declared named JPMS module with amodule-info.class.picocli-shell-jline3is now an explicitly declared named JPMS module with amodule-info.class.picocli-spring-boot-starteris now an explicitly declared named JPMS module with amodule-info.class. NOTE: its module name changed toinfo.picocli.spring.bootfrominfo.picocli.spring.picocli-spring-boot-starterJPMS module name toinfo.picocli.spring.bootfrominfo.picocli.spring.requires static java.sqlto picoclimodule-info.TraceLevel. Thanks to ekinano for raising this.requiredOptionMarkershould not be displayed onArgGroupoptions. Thanks to Ahmed El Khalifa for the pull request.PicocliSpringFactoryto allow custom fallbackIFactory. Thanks to Andrew Holland for raising this.OptionSpec.getValue()and addIScopedinternal API. Thanks to Ruud Senden for the discussion and the pull request.order.setUsageHelpLongOptionsMaxWidthmethod no longer throws an exception when an invalid value is specified; instead, the value is ignored and an INFO-level trace message is logged. Thanks to Fabio for the pull request.char[]as single-value types (Potentially breaking change). Thanks to [Lukáš Petrovický](https://redirect.githuConfiguration
📅 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 becomes conflicted, 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.