Igetter troubleshoot12/26/2023 Enhancement: Support optional booleans in annotation processor.Thanks to Garret Wilson for raising this. Thanks to Michael L Heuer for the pull request. Enhancement: improve built-in Help command description.Thanks to Ruud Senden and Mike Snowden for the pull request. Enhancement: Subcommands should get missing messages from parent command resource bundle.Thanks to Enderaoe for the pull request with unit tests. Enhancement: ArgGroup synopsis should respect order (if specified).Enhancement: Synopsis should respect order if specified.Enhancement: Applications can improve startup time by setting system property to true to disable support for closures in annotations.API: The setUsageHelpLongOptionsMaxWidth method no longer throws an exception when an invalid value is specified instead, the value is ignored and an INFO-level trace message is logged.API: Add annotation API to control whether synopsis should be sorted alphabetically or by explicit order.Enhancement: Variables in values from the default value provider should be interpolated.Thanks to Lukáš Petrovický for the pull request for the test. Enhancement: Treat char as single-value types (Potentially breaking change).Thanks to Ruud Senden for the discussion and the pull request. API: avoid NPE on OptionSpec.getValue() and add IScoped internal API.Thanks to Andrew Holland for raising this. API: Add constructor to PicocliSpringFactory to allow custom fallback IFactory.Thanks to Ahmed El Khalifa for the pull request. API, bugfix: requiredOptionMarker should not be displayed on ArgGroup options.Thanks to Michał Górniewski for the pull request. API: Support generic types in containers (e.g.API: Add parser configuration to allow options to consume values that match subcommand names or option names.API: Provide a programmatic way to configure Picocli's TraceLevel.API: Add requires static java.sql to picocli module-info.API: Change picocli-spring-boot-starter JPMS module name to from.API: The picocli-spring-boot-starter is now an explicitly declared named JPMS module with a module-info.class.API: The picocli-shell-jline3 is now an explicitly declared named JPMS module with a module-info.class.API: The picocli-shell-jline2 is now an explicitly declared named JPMS module with a module-info.class.API: The picocli-groovy artifact is now an explicitly declared named JPMS module with a module-info.class.API: The picocli-codegen artifact is now an explicitly declared named JPMS module with a module-info.class.Picocli 4.7.0 introduced a sortSynopsis = false attribute to let the synopsis display options in the order they are declared in your class, or sorted by their order Command( sortSynopsis = false) Fixed issues Unsorted Synopsisīy default, the synopsis displays options in alphabetical order. 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. This means that any option will consume the maximum number of arguments possible for its arity. When set to true, all options in the command (options that take a parameter) can consume values that match option names or subcommand names. CommandLine::setAllowSubcommandsAsOptionParameters allows options to consume subcommand names.CommandLine::setAllowOptionsAsOptionParameters allows options to consume option names.This release introduces two parser configuration options to change this behaviour: For example:Ĭlass MyIntConverter implements ITypeConverter Enable Consuming Option Names or Subcommandsīy default, options that take a parameter do not consume values that match a subcommand name or an option name. In addition to setting system property ace, applications can now change the trace level via the Tracer::setLevel method. Table of Contentsįrom picocli 4.7.0, applications can programmatically set the trace level, and use tracing in custom components. This is the seventy-ninth public release.Īrtifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96). This release includes bugfixes and enhancements.įrom this release, applications can programmatically set the trace level, and use tracing in custom components.Īpplications can improve startup time by setting system property to true to disable support for closures in annotations.Īlso, this release has various fixes and enhancements related to the synopsis of the usage help message. The picocli community is pleased to announce picocli 4.7.0. Picocli Release Notes Picocli 4.7.0 (UNRELEASED)
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |