Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/andymckay/append-g…
Browse files Browse the repository at this point in the history
…ist-action-6e8d64427fe47cbacf4ab6b890411f1d67c07f3e
  • Loading branch information
remkop committed Aug 26, 2023
2 parents 7b6ee9f + b240e03 commit d7b0fee
Show file tree
Hide file tree
Showing 535 changed files with 1,832 additions and 1,488 deletions.
7 changes: 0 additions & 7 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.+"]
26 changes: 14 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
```
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.7.4</version>
<version>4.7.5</version>
</dependency>
```
### Scala SBT
```
libraryDependencies += "info.picocli" % "picocli" % "4.7.4"
libraryDependencies += "info.picocli" % "picocli" % "4.7.5"
```
### Ivy
```
<dependency org="info.picocli" name="picocli" rev="4.7.4" />
<dependency org="info.picocli" name="picocli" rev="4.7.5" />
```
### 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
```

38 changes: 38 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# picocli Release Notes

# <a name="4.7.5"></a> 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).

## <a name="4.7.5-toc"></a> 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)

## <a name="4.7.5-new"></a> New and Noteworthy



## <a name="4.7.5-fixes"></a> 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.

## <a name="4.7.5-deprecated"></a> Deprecations
No features were deprecated in this release.

## <a name="4.7.5-breaking-changes"></a> Potential breaking changes
This release has no breaking changes.



# <a name="4.7.4"></a> Picocli 4.7.4
The picocli community is pleased to announce picocli 4.7.4.

Expand Down
14 changes: 7 additions & 7 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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'
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions docs/A-Whirlwind-Tour-of-Picocli.html
Original file line number Diff line number Diff line change
Expand Up @@ -1646,7 +1646,7 @@
<h1>A Whirlwind Tour of Picocli</h1>
<div class="details">
<span id="author" class="author">Remko Popma</span><br>
<span id="revnumber">version 4.7.4</span>
<span id="revnumber">version 4.7.5</span>
</div>
</div>
<div id="content">
Expand Down Expand Up @@ -3084,7 +3084,7 @@ <h2 id="_conclusion">Conclusion</h2>
</div>
<div id="footer">
<div id="footer-text">
Version 4.7.4<br>
Version 4.7.5<br>
Last updated 2023-03-12 17:36:31 +0900
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions docs/announcing-picocli-1.0.html
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@
<h1>Announcing picocli 1.0 - a mighty tiny command line interface</h1>
<div class="details">
<span id="author" class="author">Remko Popma</span><br>
<span id="revnumber">version 4.7.4,</span>
<span id="revnumber">version 4.7.5,</span>
<span id="revdate">2017-09-10</span>
</div>
</div>
Expand Down Expand Up @@ -732,7 +732,7 @@ <h2 id="_feedback_welcome">Feedback Welcome</h2>
</div>
<div id="footer">
<div id="footer-text">
Version 4.7.4<br>
Version 4.7.5<br>
Last updated 2023-03-12 17:36:32 +0900
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs-all/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (picocli 4.7.4 API)</title>
<title>All Classes (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/allclasses-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (picocli 4.7.4 API)</title>
<title>All Classes (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Classes (picocli 4.7.4 API)";
parent.document.title="All Classes (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
2 changes: 1 addition & 1 deletion docs/apidocs-all/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Classes (picocli 4.7.4 API)</title>
<title>All Classes (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/allpackages-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>All Packages (picocli 4.7.4 API)</title>
<title>All Packages (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="All Packages (picocli 4.7.4 API)";
parent.document.title="All Packages (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
6 changes: 3 additions & 3 deletions docs/apidocs-all/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Constant Field Values (picocli 4.7.4 API)</title>
<title>Constant Field Values (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (picocli 4.7.4 API)";
parent.document.title="Constant Field Values (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down Expand Up @@ -174,7 +174,7 @@ <h2 title="picocli">picocli.*</h2>
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td>
<th class="colSecond" scope="row"><code><a href="info.picocli/picocli/CommandLine.html#VERSION">VERSION</a></code></th>
<td class="colLast"><code>"4.7.4"</code></td>
<td class="colLast"><code>"4.7.5"</code></td>
</tr>
</tbody>
</table>
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/deprecated-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Deprecated List (picocli 4.7.4 API)</title>
<title>Deprecated List (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Deprecated List (picocli 4.7.4 API)";
parent.document.title="Deprecated List (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/help-doc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>API Help (picocli 4.7.4 API)</title>
<title>API Help (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="API Help (picocli 4.7.4 API)";
parent.document.title="API Help (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/index-files/index-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>A-Index (picocli 4.7.4 API)</title>
<title>A-Index (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="A-Index (picocli 4.7.4 API)";
parent.document.title="A-Index (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/index-files/index-10.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>J-Index (picocli 4.7.4 API)</title>
<title>J-Index (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="J-Index (picocli 4.7.4 API)";
parent.document.title="J-Index (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
4 changes: 2 additions & 2 deletions docs/apidocs-all/index-files/index-11.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>K-Index (picocli 4.7.4 API)</title>
<title>K-Index (picocli 4.7.5 API)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../jquery/jquery-ui.min.css" title="Style">
Expand All @@ -21,7 +21,7 @@
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="K-Index (picocli 4.7.4 API)";
parent.document.title="K-Index (picocli 4.7.5 API)";
}
}
catch(err) {
Expand Down
Loading

0 comments on commit d7b0fee

Please sign in to comment.