diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8bd043096..5e1304062 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,10 +12,3 @@ updates: ignore: # For Groovy, ignore all updates - dependency-name: "org.codehaus.groovy:groovy-all" - # For Spring-boot, version 3 requires Java 17 - - dependency-name: "org.springframework.boot:spring-boot-starter" - versions: ["3.+"] - - dependency-name: "org.springframework.boot:spring-boot-configuration-processor" - versions: ["3.+"] - - dependency-name: "org.springframework.boot:spring-boot-starter-test" - versions: ["3.+"] diff --git a/README.md b/README.md index e7d0292f8..2f35d1594 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_ ### Releases * [All Releases](https://github.com/remkop/picocli/releases) -* Latest: 4.7.4 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.4) +* Latest: 4.7.5 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.5) * 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) @@ -88,7 +88,7 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_ * [4.x User manual: https://picocli.info](https://picocli.info) * [4.x Quick Guide](https://picocli.info/quick-guide.html) * [4.x API Javadoc](https://picocli.info/apidocs/) -* [PREVIEW: Modular Javadoc for all artifacts (4.7.4-SNAPSHOT)](https://picocli.info/apidocs-all/) +* [PREVIEW: Modular Javadoc for all artifacts (4.7.5-SNAPSHOT)](https://picocli.info/apidocs-all/) * [Command line autocompletion](https://picocli.info/autocomplete.html) * [Programmatic API](https://picocli.info/picocli-programmatic-api.html) * [FAQ](https://github.com/remkop/picocli/wiki/FAQ) @@ -156,6 +156,8 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_ * [Интерфейсы командной строки Java: picocli](https://habr.com/ru/company/otus/blog/419401/) (2018-08-06): Russian translation by [MaxRokatansky](https://habr.com/ru/users/MaxRokatansky/) of Dustin Marx' blog post. #### Español +* [picocli, un poderoso framework para la creación de aplicaciones de línea de comandos](https://laboratoriolinux.es/index.php/-noticias-mundo-linux-/software/34261-picocli-un-poderoso-framework-para-la-creacion-de-aplicaciones-de-linea-de-comandos.html) (2023-09-09) by [Darkcrizt](https://ubunlog.com/author/darkcrizt/) +* [picocli, un poderoso framework para la creación de aplicaciones de línea de comandos](https://ubunlog.com/picocli-un-poderoso-framework-para-la-creacion-de-aplicaciones-de-linea-de-comandos/) (2023-09-09) by [Darkcrizt](https://ubunlog.com/author/darkcrizt/) * [Quarkus + Picocli: Web scaper para extraer proyectos dependientes en GitHub](https://blog.marcnuri.com/quarkus-picocli-web-scaper-dependientes-github/) (2020-08-15) by [Marc Nuri](https://twitter.com/MarcNuri). * [Quarkus - Introducción: picocli](https://gerardo.dev/aws-quarkus-picocli.html) (2020-06-15) by [Gerardo Arroyo](https://twitter.com/codewarrior506). * [VIDEO] [Picocli - Spring Boot example](https://youtu.be/y9ayfjfrTF4) (2020-05-24) 7-minute quick introduction by Gonzalo H. Mendoza. @@ -270,9 +272,9 @@ If you like picocli, help others discover picocli: #### Spread the joy! :tada: * Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives? * Mention that your project uses picocli in the documentation of your project. -* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.4-green.svg)](https://github.com/remkop/picocli) +* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.5-green.svg)](https://github.com/remkop/picocli) ``` -[![picocli](https://img.shields.io/badge/picocli-4.7.4-green.svg)](https://github.com/remkop/picocli) +[![picocli](https://img.shields.io/badge/picocli-4.7.5-green.svg)](https://github.com/remkop/picocli) ``` #### Preach it! :muscle: @@ -363,41 +365,41 @@ See the [source code](https://github.com/remkop/picocli/blob/main/src/main/java/ ### Gradle ``` -implementation 'info.picocli:picocli:4.7.4' +implementation 'info.picocli:picocli:4.7.5' ``` ### Maven ``` info.picocli picocli - 4.7.4 + 4.7.5 ``` ### Scala SBT ``` -libraryDependencies += "info.picocli" % "picocli" % "4.7.4" +libraryDependencies += "info.picocli" % "picocli" % "4.7.5" ``` ### Ivy ``` - + ``` ### Grape ```groovy @Grapes( - @Grab(group='info.picocli', module='picocli', version='4.7.4') + @Grab(group='info.picocli', module='picocli', version='4.7.5') ) ``` ### Leiningen ``` -[info.picocli/picocli "4.7.4"] +[info.picocli/picocli "4.7.5"] ``` ### Buildr ``` -'info.picocli:picocli:jar:4.7.4' +'info.picocli:picocli:jar:4.7.5' ``` ### JBang ``` -//DEPS info.picocli:picocli:4.7.4 +//DEPS info.picocli:picocli:4.7.5 ``` diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index dc1bc378a..298d427b1 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,43 @@ # picocli Release Notes +# Picocli 4.7.5 +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](https://semver.org/). +Artifacts in this release are signed by Remko Popma (6601 E5C0 8DCC BB96). + +## Table of Contents +* [New and noteworthy](#4.7.5-new) +* [Fixed issues](#4.7.5-fixes) +* [Deprecations](#4.7.5-deprecated) +* [Potential breaking changes](#4.7.5-breaking-changes) + +## New and Noteworthy + + + +## Fixed issues +* [#2083][#2084] Enhancement: Java 22 update: improve logic for detecting if the output stream is connected to a terminal. Thanks to [Liam Miller-Cushon](https://github.com/cushon) for the pull request. +* [#2087] Enhancement: Mask parameters in trace log when `echo=false` for `interactive` options and positional parameters. Thanks to [szzsolt](https://github.com/szzsolt) for raising this. +* [#2060] Bugfix: Fix positional parameters bug with late-resolved arity variable. Thanks to [daisukeoto](https://github.com/daisukeoto) for raising this. +* [#2074][#2075] Bugfix: Don't generate auto-complete for hidden attributes in `picocli.shell.jline3.PicoCommand`. Thanks to [clebertsuconic](https://github.com/clebertsuconic) for the pull request. +* [#2059] Bugfix: ArgGroup with `exclusive=false` and `multiplicity=1` should require at least one option; fix regression and refine solution introduced in [#1848][#2030]. Thanks to [Utkarsh Mittal](https://github.com/utmittal) for raising this. +* [#2080] DOC: Improve GraalVM documentation: add `graalvm-native-image-plugin`. Thanks to [Bhavik Patel](https://github.com/bhavikp19) for the pull request. +* [#2045] DOC: Commit html files with LF line-endings. Thanks to [Fridrich Strba](https://github.com/fridrich) for the pull request. + +## Deprecations +No features were deprecated in this release. + +## Potential breaking changes +This release has no breaking changes. + + + # Picocli 4.7.4 The picocli community is pleased to announce picocli 4.7.4. diff --git a/dependencies.gradle b/dependencies.gradle index ba52f8b14..efd34c36f 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -5,12 +5,12 @@ ext { // PICOCLI VERSION // projectPreviousPublishedVersion is non-SNAPSHOT, only published releases - projectPreviousPublishedVersion = "4\\.7\\.4" // for task bumpReadmeVersion + projectPreviousPublishedVersion = "4\\.7\\.5" // for task bumpReadmeVersion // projectPreviousVersionRegex may be a SNAPSHOT - projectPreviousVersionRegex = "4\\.7\\.4" // for task bumpVersion - projectVersion = "4.7.5-SNAPSHOT" // for all build tasks - releaseDate = "2023-06-03" // for task bumpVersion - releaseDatePreviousRegex = "2023\\-06\\-03" // for task bumpVersion + projectPreviousVersionRegex = "4\\.7\\.5" // for task bumpVersion + projectVersion = "4.7.6-SNAPSHOT" // for all build tasks + releaseDate = "2023-08-27" // for task bumpVersion + releaseDatePreviousRegex = "2023\\-08\\-27" // for task bumpVersion // DEPENDENCIES asciidoctorGradlePluginVersion = "3.3.2" @@ -25,7 +25,7 @@ ext { junitDepVersion = "4.11" junitVersion = "4.13.2" log4j2Version = "2.20.0" - springBootVersion = "2.7.11" // Spring Boot 3.0 requires Java 17 as a minimum version + springBootVersion = "3.1.2" // Spring Boot 3.0 requires Java 17 as a minimum version systemRulesVersion = "1.19.0" systemLambdaVersion = '1.2.1' junit5Version = '5.9.3' @@ -50,7 +50,7 @@ ext { log4j2api : "org.apache.logging.log4j:log4j-api:$log4j2Version", log4j2core : "org.apache.logging.log4j:log4j-core:$log4j2Version", kotlin_stdlib : "org.jetbrains.kotlin:kotlin-stdlib", - scala_lang : "org.scala-lang:scala-library:2.13.10", + scala_lang : "org.scala-lang:scala-library:2.13.11", validation_api : "jakarta.validation:jakarta.validation-api:3.0.2", //el_api : "jakarta.el:jakarta.el-api:3.0.3", el_impl : "org.glassfish:jakarta.el:4.0.2", diff --git a/docs/A-Whirlwind-Tour-of-Picocli.html b/docs/A-Whirlwind-Tour-of-Picocli.html index 247fae5b8..8cb5f1d99 100644 --- a/docs/A-Whirlwind-Tour-of-Picocli.html +++ b/docs/A-Whirlwind-Tour-of-Picocli.html @@ -1646,7 +1646,7 @@

A Whirlwind Tour of Picocli

Remko Popma
-version 4.7.4 +version 4.7.5
@@ -3084,7 +3084,7 @@

Conclusion

diff --git a/docs/announcing-picocli-1.0.html b/docs/announcing-picocli-1.0.html index 8816ca647..1266d35b6 100644 --- a/docs/announcing-picocli-1.0.html +++ b/docs/announcing-picocli-1.0.html @@ -608,7 +608,7 @@

Announcing picocli 1.0 - a mighty tiny command line interface

Remko Popma
-version 4.7.4, +version 4.7.5, 2017-09-10
@@ -732,7 +732,7 @@

Feedback Welcome

diff --git a/docs/apidocs-all/allclasses-frame.html b/docs/apidocs-all/allclasses-frame.html index ca65fc12c..b34a85aad 100644 --- a/docs/apidocs-all/allclasses-frame.html +++ b/docs/apidocs-all/allclasses-frame.html @@ -3,7 +3,7 @@ -All Classes (picocli 4.7.4 API) +All Classes (picocli 4.7.5 API) diff --git a/docs/apidocs-all/allclasses-index.html b/docs/apidocs-all/allclasses-index.html index 5ba91058b..099f408da 100644 --- a/docs/apidocs-all/allclasses-index.html +++ b/docs/apidocs-all/allclasses-index.html @@ -3,7 +3,7 @@ -All Classes (picocli 4.7.4 API) +All Classes (picocli 4.7.5 API) @@ -21,7 +21,7 @@ diff --git a/docs/apidocs/allclasses-noframe.html b/docs/apidocs/allclasses-noframe.html index da6f5b203..bc3cdd9f2 100644 --- a/docs/apidocs/allclasses-noframe.html +++ b/docs/apidocs/allclasses-noframe.html @@ -3,7 +3,7 @@ -All Classes (picocli 4.7.4 API) +All Classes (picocli 4.7.5 API) diff --git a/docs/apidocs/constant-values.html b/docs/apidocs/constant-values.html index bf30838ee..5592c03de 100644 --- a/docs/apidocs/constant-values.html +++ b/docs/apidocs/constant-values.html @@ -3,7 +3,7 @@ -Constant Field Values (picocli 4.7.4 API) +Constant Field Values (picocli 4.7.5 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 @@ @@ -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 ddfdd3e96..94369f2e6 100644 --- a/docs/apidocs/picocli/package-summary.html +++ b/docs/apidocs/picocli/package-summary.html @@ -3,7 +3,7 @@ -picocli (picocli 4.7.4 API) +picocli (picocli 4.7.5 API) @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@