From b89eec6905deb15b2d650065433e976f56d6da62 Mon Sep 17 00:00:00 2001 From: Remko Popma Date: Sun, 3 Jan 2021 11:55:15 +0900 Subject: [PATCH] Release picocli version 4.6.1 --- README.md | 22 +++---- RELEASE-NOTES.md | 44 +++++++++++++ docs/A-Whirlwind-Tour-of-Picocli.html | 4 +- docs/announcing-picocli-1.0.html | 4 +- docs/apidocs/allclasses-frame.html | 2 +- docs/apidocs/allclasses-noframe.html | 2 +- docs/apidocs/constant-values.html | 6 +- docs/apidocs/deprecated-list.html | 4 +- docs/apidocs/help-doc.html | 4 +- docs/apidocs/index-all.html | 6 +- docs/apidocs/index.html | 2 +- docs/apidocs/overview-summary.html | 6 +- docs/apidocs/overview-tree.html | 4 +- .../AutoComplete.GenerateCompletion.html | 4 +- docs/apidocs/picocli/AutoComplete.html | 4 +- .../picocli/CommandLine.AbstractHandler.html | 4 +- ...ommandLine.AbstractParseResultHandler.html | 4 +- .../apidocs/picocli/CommandLine.ArgGroup.html | 4 +- docs/apidocs/picocli/CommandLine.Command.html | 4 +- .../CommandLine.DefaultExceptionHandler.html | 4 +- .../CommandLine.DuplicateNameException.html | 4 +- ...e.DuplicateOptionAnnotationsException.html | 4 +- .../CommandLine.ExecutionException.html | 4 +- .../apidocs/picocli/CommandLine.ExitCode.html | 4 +- .../picocli/CommandLine.Help.Ansi.IStyle.html | 4 +- .../picocli/CommandLine.Help.Ansi.Style.html | 4 +- .../picocli/CommandLine.Help.Ansi.Text.html | 4 +- .../picocli/CommandLine.Help.Ansi.html | 4 +- .../CommandLine.Help.ColorScheme.Builder.html | 4 +- .../picocli/CommandLine.Help.ColorScheme.html | 4 +- .../CommandLine.Help.Column.Overflow.html | 4 +- .../picocli/CommandLine.Help.Column.html | 4 +- .../CommandLine.Help.IOptionRenderer.html | 4 +- .../CommandLine.Help.IParamLabelRenderer.html | 4 +- .../CommandLine.Help.IParameterRenderer.html | 4 +- .../picocli/CommandLine.Help.Layout.html | 4 +- .../CommandLine.Help.TextTable.Cell.html | 4 +- .../picocli/CommandLine.Help.TextTable.html | 4 +- .../picocli/CommandLine.Help.Visibility.html | 4 +- docs/apidocs/picocli/CommandLine.Help.html | 4 +- .../picocli/CommandLine.HelpCommand.html | 4 +- .../CommandLine.IDefaultValueProvider.html | 4 +- .../CommandLine.IExceptionHandler.html | 4 +- .../CommandLine.IExceptionHandler2.html | 4 +- ...ommandLine.IExecutionExceptionHandler.html | 4 +- .../CommandLine.IExecutionStrategy.html | 4 +- .../CommandLine.IExitCodeExceptionMapper.html | 4 +- .../CommandLine.IExitCodeGenerator.html | 4 +- .../apidocs/picocli/CommandLine.IFactory.html | 4 +- ...CommandLine.IHelpCommandInitializable.html | 4 +- ...ommandLine.IHelpCommandInitializable2.html | 4 +- .../picocli/CommandLine.IHelpFactory.html | 4 +- .../CommandLine.IHelpSectionRenderer.html | 4 +- .../CommandLine.IModelTransformer.html | 4 +- ...mmandLine.INegatableOptionTransformer.html | 4 +- .../CommandLine.IParameterConsumer.html | 4 +- ...ommandLine.IParameterExceptionHandler.html | 4 +- .../CommandLine.IParameterPreprocessor.html | 4 +- .../CommandLine.IParseResultHandler.html | 4 +- .../CommandLine.IParseResultHandler2.html | 4 +- .../picocli/CommandLine.ITypeConverter.html | 4 +- .../picocli/CommandLine.IVersionProvider.html | 4 +- .../CommandLine.InitializationException.html | 4 +- ...ommandLine.MaxValuesExceededException.html | 4 +- ...CommandLine.MissingParameterException.html | 4 +- ...andLine.MissingTypeConverterException.html | 4 +- docs/apidocs/picocli/CommandLine.Mixin.html | 4 +- ...ommandLine.Model.ArgGroupSpec.Builder.html | 4 +- .../CommandLine.Model.ArgGroupSpec.html | 4 +- .../picocli/CommandLine.Model.ArgSpec.html | 6 +- .../CommandLine.Model.CommandSpec.html | 4 +- .../CommandLine.Model.IAnnotatedElement.html | 4 +- .../CommandLine.Model.IExtensible.html | 4 +- .../picocli/CommandLine.Model.IGetter.html | 4 +- .../picocli/CommandLine.Model.IOrdered.html | 4 +- .../picocli/CommandLine.Model.IScope.html | 4 +- .../picocli/CommandLine.Model.ISetter.html | 4 +- .../picocli/CommandLine.Model.ITypeInfo.html | 4 +- .../picocli/CommandLine.Model.Messages.html | 4 +- .../CommandLine.Model.MethodParam.html | 4 +- .../CommandLine.Model.OptionSpec.Builder.html | 8 +-- .../picocli/CommandLine.Model.OptionSpec.html | 4 +- .../picocli/CommandLine.Model.ParserSpec.html | 4 +- ...ine.Model.PositionalParamSpec.Builder.html | 8 +-- ...CommandLine.Model.PositionalParamSpec.html | 4 +- ...ommandLine.Model.UnmatchedArgsBinding.html | 4 +- .../CommandLine.Model.UsageMessageSpec.html | 4 +- docs/apidocs/picocli/CommandLine.Model.html | 4 +- ...ndLine.MutuallyExclusiveArgsException.html | 4 +- docs/apidocs/picocli/CommandLine.Option.html | 4 +- ...ommandLine.OverwrittenOptionException.html | 4 +- .../CommandLine.ParameterException.html | 4 +- ...ommandLine.ParameterIndexGapException.html | 4 +- .../picocli/CommandLine.Parameters.html | 4 +- .../picocli/CommandLine.ParentCommand.html | 4 +- .../CommandLine.ParseResult.Builder.html | 4 +- .../CommandLine.ParseResult.GroupMatch.html | 4 +- ...dLine.ParseResult.GroupMatchContainer.html | 4 +- .../picocli/CommandLine.ParseResult.html | 4 +- .../picocli/CommandLine.PicocliException.html | 4 +- ...CommandLine.PropertiesDefaultProvider.html | 4 +- docs/apidocs/picocli/CommandLine.Range.html | 4 +- .../CommandLine.RegexTransformer.Builder.html | 4 +- .../picocli/CommandLine.RegexTransformer.html | 4 +- docs/apidocs/picocli/CommandLine.RunAll.html | 4 +- .../apidocs/picocli/CommandLine.RunFirst.html | 4 +- docs/apidocs/picocli/CommandLine.RunLast.html | 4 +- .../picocli/CommandLine.ScopeType.html | 4 +- .../picocli/CommandLine.Spec.Target.html | 4 +- docs/apidocs/picocli/CommandLine.Spec.html | 4 +- .../CommandLine.TypeConversionException.html | 4 +- .../picocli/CommandLine.Unmatched.html | 4 +- ...ommandLine.UnmatchedArgumentException.html | 4 +- docs/apidocs/picocli/CommandLine.html | 8 +-- docs/apidocs/picocli/package-frame.html | 2 +- docs/apidocs/picocli/package-summary.html | 4 +- docs/apidocs/picocli/package-tree.html | 4 +- docs/apidocs/serialized-form.html | 4 +- docs/autocomplete.adoc | 4 +- docs/autocomplete.html | 8 +-- ...apps-in-java-with-graalvm-and-picocli.html | 4 +- docs/feedback.html | 2 +- docs/groovy-2.5-clibuilder-renewal-part1.html | 4 +- docs/groovy-2.5-clibuilder-renewal-part2.html | 4 +- docs/groovy-2.5-clibuilder-renewal.html | 4 +- docs/index.adoc | 58 ++++++++--------- docs/index.html | 62 +++++++++---------- docs/man/gen-manpage.html | 6 +- docs/man/gen-proxy-config.html | 6 +- docs/man/gen-reflect-config.html | 6 +- docs/man/gen-resource-config.html | 6 +- docs/man/generate-completion.html | 4 +- docs/man/index.html | 4 +- docs/man/picocli.AutoComplete.html | 6 +- docs/migrating-from-commons-cli.html | 4 +- docs/picocli-2.0-do-more-with-less.html | 4 +- ...icocli-2.0-groovy-scripts-on-steroids.html | 4 +- docs/picocli-on-graalvm.html | 4 +- docs/picocli-programmatic-api.adoc | 4 +- docs/picocli-programmatic-api.html | 8 +-- docs/quick-guide.adoc | 10 +-- docs/quick-guide.html | 14 ++--- docs/zh/picocli-2.0-do-more-with-less.html | 4 +- ...icocli-2.0-groovy-scripts-on-steroids.html | 4 +- gradle.properties | 6 +- picocli-codegen/README.adoc | 46 +++++++------- .../graalvm/DynamicProxyConfigGenerator.java | 2 +- .../aot/graalvm/JniConfigGenerator.java | 2 +- .../graalvm/ReflectionConfigGenerator.java | 2 +- .../aot/graalvm/ResourceConfigGenerator.java | 2 +- .../docgen/manpage/ManPageGenerator.java | 2 +- .../build.gradle | 4 +- .../example-gradle-project/build.gradle | 6 +- .../example-maven-project-shading/pom.xml | 4 +- .../example-maven-project-simple/pom.xml | 4 +- .../example-gradle-project/build.gradle | 4 +- .../example-maven-project/pom.xml | 6 +- picocli-groovy/README.md | 2 +- picocli-shell-jline2/README.md | 2 +- picocli-shell-jline3/README.md | 2 +- picocli-spring-boot-starter/README.md | 4 +- src/main/java/picocli/AutoComplete.java | 2 +- src/main/java/picocli/CommandLine.java | 8 +-- src/test/java/picocli/AutoCompleteTest.java | 2 +- src/test/java/picocli/CommandLineTest.java | 2 +- 165 files changed, 474 insertions(+), 430 deletions(-) diff --git a/README.md b/README.md index 7e037a3e6..2328a2b39 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ The user manual has an [example](https://picocli.info/#_guice_example) of integr ### Releases * [All Releases](https://github.com/remkop/picocli/releases) -* Latest: 4.6.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.6.0) +* Latest: 4.6.1 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.6.1) * Older: Picocli 4.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0) * Older: Picocli 3.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.0.0) * Older: Picocli 2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v2.0.0) @@ -246,9 +246,9 @@ If you like picocli, there are a few things you can do to help: * Upvote my [Quora answer](https://www.quora.com/What-is-the-best-way-to-parse-command-line-arguments-with-Java/answer/Remko-Popma) to "What is the best way to parse command-line arguments with Java?" * Upvote my [StackOverflow answer](https://stackoverflow.com/a/43780433/1446916) to "How do I parse command line arguments in Java?" -If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [![picocli](https://img.shields.io/badge/picocli-4.6.0-green.svg)](https://github.com/remkop/picocli) +If you like picocli and your project is on GitHub, consider adding this badge to your README.md: [![picocli](https://img.shields.io/badge/picocli-4.6.1-green.svg)](https://github.com/remkop/picocli) ``` -[![picocli](https://img.shields.io/badge/picocli-4.6.0-green.svg)](https://github.com/remkop/picocli) +[![picocli](https://img.shields.io/badge/picocli-4.6.1-green.svg)](https://github.com/remkop/picocli) ``` @@ -336,41 +336,41 @@ See the [source code](https://github.com/remkop/picocli/blob/master/src/main/jav ### Gradle ``` -implementation 'info.picocli:picocli:4.6.0' +implementation 'info.picocli:picocli:4.6.1' ``` ### Maven ``` info.picocli picocli - 4.6.0 + 4.6.1 ``` ### Scala SBT ``` -libraryDependencies += "info.picocli" % "picocli" % "4.6.0" +libraryDependencies += "info.picocli" % "picocli" % "4.6.1" ``` ### Ivy ``` - + ``` ### Grape ```groovy @Grapes( - @Grab(group='info.picocli', module='picocli', version='4.6.0') + @Grab(group='info.picocli', module='picocli', version='4.6.1') ) ``` ### Leiningen ``` -[info.picocli/picocli "4.6.0"] +[info.picocli/picocli "4.6.1"] ``` ### Buildr ``` -'info.picocli:picocli:jar:4.6.0' +'info.picocli:picocli:jar:4.6.1' ``` ### JBang ``` -//DEPS info.picocli:picocli:4.6.0 +//DEPS info.picocli:picocli:4.6.1 ``` diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index aae74f24c..41066900e 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,49 @@ # picocli Release Notes +# Picocli 4.6.1 +The picocli community is pleased to announce picocli 4.6.1. + +This release fixes a problem with dependency scope in the following sub-modules: + +* picocli-codegen +* picocli-groovy +* picocli-shell-jline2 +* picocli-shell-jline3 +* picocli-spring-boot-starter + +The problem was that these modules contained dependencies that were declared to have `implementation` scope instead of `api` scope. +However, these were transitive dependencies, and necessary to compile any project that uses the above picocli modules. + +In this release, transitive dependencies are declared with `api` scope in the above modules. + +Special thanks to [Sualeh Fatehi](https://github.com/sualeh), [Dejan Stojadinović](https://github.com/dejan2609) and [Semyon Levin](https://github.com/remal) for the quick community feedback, pull request and reviews! + + +This is the seventy-sixth public release. +Picocli follows [semantic versioning](http://semver.org/). + +## Table of Contents +* [New and noteworthy](#4.6.1-new) +* [Fixed issues](#4.6.1-fixes) +* [Deprecations](#4.6.1-deprecated) +* [Potential breaking changes](#4.6.1-breaking-changes) + +## New and Noteworthy + + +## Fixed issues +* [#1291] Fix dependency scope for `picocli-shell-jline3`. Thanks to [Sualeh Fatehi](https://github.com/sualeh) for raising this. +* [#1292] PR to fix dependency scope for `picocli-shell-jline3`. Thanks to [Dejan Stojadinović](https://github.com/dejan2609) for the pull request, and [Semyon Levin](https://github.com/remal) for the review. +* [#1294] Fix dependency scope for `picocli-spring-boot-starter`. Thanks to [Semyon Levin](https://github.com/remal) for raising this. + + +## Deprecations +No features were deprecated in this release. + +## Potential breaking changes +This release has no breaking changes. + + # Picocli 4.6.0 The picocli community is pleased to announce picocli 4.6.0. diff --git a/docs/A-Whirlwind-Tour-of-Picocli.html b/docs/A-Whirlwind-Tour-of-Picocli.html index 9344a97a4..d4f5152ff 100644 --- a/docs/A-Whirlwind-Tour-of-Picocli.html +++ b/docs/A-Whirlwind-Tour-of-Picocli.html @@ -1648,7 +1648,7 @@

A Whirlwind Tour of Picocli

Remko Popma
-version 4.6.0 +version 4.6.1
@@ -3086,7 +3086,7 @@

Conclusion

diff --git a/docs/announcing-picocli-1.0.html b/docs/announcing-picocli-1.0.html index ba38ba5ca..285195be6 100644 --- a/docs/announcing-picocli-1.0.html +++ b/docs/announcing-picocli-1.0.html @@ -610,7 +610,7 @@

Announcing picocli 1.0 - a mighty tiny command line interface

Remko Popma
-version 4.6.0, +version 4.6.1, 2017-09-10
@@ -734,7 +734,7 @@

Feedback Welcome

diff --git a/docs/apidocs/allclasses-frame.html b/docs/apidocs/allclasses-frame.html index ed00c27fd..0a3f62f40 100644 --- a/docs/apidocs/allclasses-frame.html +++ b/docs/apidocs/allclasses-frame.html @@ -3,7 +3,7 @@ -All Classes (picocli 4.6.0 API) +All Classes (picocli 4.6.1 API) diff --git a/docs/apidocs/allclasses-noframe.html b/docs/apidocs/allclasses-noframe.html index 57a38c937..87974888e 100644 --- a/docs/apidocs/allclasses-noframe.html +++ b/docs/apidocs/allclasses-noframe.html @@ -3,7 +3,7 @@ -All Classes (picocli 4.6.0 API) +All Classes (picocli 4.6.1 API) diff --git a/docs/apidocs/constant-values.html b/docs/apidocs/constant-values.html index 472c15ac1..d385785c9 100644 --- a/docs/apidocs/constant-values.html +++ b/docs/apidocs/constant-values.html @@ -3,7 +3,7 @@ -Constant Field Values (picocli 4.6.0 API) +Constant Field Values (picocli 4.6.1 API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ diff --git a/docs/apidocs/picocli/package-summary.html b/docs/apidocs/picocli/package-summary.html index b7a5ea726..5fb0ca01f 100644 --- a/docs/apidocs/picocli/package-summary.html +++ b/docs/apidocs/picocli/package-summary.html @@ -3,7 +3,7 @@ -picocli (picocli 4.6.0 API) +picocli (picocli 4.6.1 API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@