Skip to content

Commit

Permalink
Release picocli version 4.0.0-beta-1b
Browse files Browse the repository at this point in the history
  • Loading branch information
remkop committed Jun 5, 2019
1 parent 7ee5e30 commit 5eb53ff
Show file tree
Hide file tree
Showing 122 changed files with 2,895 additions and 1,206 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Picocli-based applications can easily [integrate](https://picocli.info/#_depende

### Releases
* [All Releases](https://github.com/remkop/picocli/releases)
* Latest: 4.0.0-alpha-3 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0-alpha-3)
* Latest: 4.0.0-beta-1b [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0-beta-1b)
* Stable: Picocli 3.9.6 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.9.6)
* Older: Picocli 3.0.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 Down Expand Up @@ -199,35 +199,35 @@ See the [source code](https://github.com/remkop/picocli/blob/master/src/main/jav

### Gradle
```
compile 'info.picocli:picocli:4.0.0-alpha-3'
compile 'info.picocli:picocli:4.0.0-beta-1b'
```
### Maven
```
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.0.0-alpha-3</version>
<version>4.0.0-beta-1b</version>
</dependency>
```
### Scala SBT
```
libraryDependencies += "info.picocli" % "picocli" % "4.0.0-alpha-3"
libraryDependencies += "info.picocli" % "picocli" % "4.0.0-beta-1b"
```
### Ivy
```
<dependency org="info.picocli" name="picocli" rev="4.0.0-alpha-3" />
<dependency org="info.picocli" name="picocli" rev="4.0.0-beta-1b" />
```
### Grape
```groovy
@Grapes(
@Grab(group='info.picocli', module='picocli', version='4.0.0-alpha-3')
@Grab(group='info.picocli', module='picocli', version='4.0.0-beta-1b')
)
```
### Leiningen
```
[info.picocli/picocli "4.0.0-alpha-3"]
[info.picocli/picocli "4.0.0-beta-1b"]
```
### Buildr
```
'info.picocli:picocli:jar:4.0.0-alpha-3'
'info.picocli:picocli:jar:4.0.0-beta-1b'
```
40 changes: 20 additions & 20 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# picocli Release Notes


# <a name="4.0.0-beta-1"></a> Picocli 4.0.0-beta-1 (UNRELEASED)
The picocli community is pleased to announce picocli 4.0.0-beta-1.
# <a name="4.0.0-beta-1b"></a> Picocli 4.0.0-beta-1b
The picocli community is pleased to announce picocli 4.0.0-beta-1b.

This release includes the first cut of an annotation processor that can build a model from the picocli annotations at compile time rather than at runtime.

Expand Down Expand Up @@ -31,15 +31,15 @@ Many thanks to the picocli community for the contributions!
This is the fifty-fifth public release.
Picocli follows [semantic versioning](http://semver.org/).

## <a name="4.0.0-beta-1"></a> Table of Contents
* [New and noteworthy](#4.0.0-beta-1-new)
* [Fixed issues](#4.0.0-beta-1-fixes)
* [Deprecations](#4.0.0-beta-1-deprecated)
* [Potential breaking changes](#4.0.0-beta-1-breaking-changes)
## <a name="4.0.0-beta-1b"></a> Table of Contents
* [New and noteworthy](#4.0.0-beta-1b-new)
* [Fixed issues](#4.0.0-beta-1b-fixes)
* [Deprecations](#4.0.0-beta-1b-deprecated)
* [Potential breaking changes](#4.0.0-beta-1b-breaking-changes)

## <a name="4.0.0-beta-1-new"></a> New and Noteworthy
## <a name="4.0.0-beta-1b-new"></a> New and Noteworthy

### <a name="4.0.0-beta-1-processor"></a> Annotation Processor
### <a name="4.0.0-beta-1b-processor"></a> Annotation Processor

This release includes the first cut of an annotation processor that can build a model from the picocli annotations at compile time rather than at runtime.

Expand Down Expand Up @@ -74,7 +74,7 @@ This requires `maven-compiler-plugin` plugin version 3.5 or higher.
<path>
<groupId>info.picocli</groupId>
<artifactId>picocli-codegen</artifactId>
<version>4.0.0-beta-1</version>
<version>4.0.0-beta-1b</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand All @@ -87,13 +87,13 @@ An alternative that works with older versions of the `maven-compiler-plugin` is
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli</artifactId>
<version>4.0.0-beta-1</version>
<version>4.0.0-beta-1b</version>
</dependency>
<dependency>
<groupId>info.picocli</groupId>
<artifactId>picocli-codegen</artifactId>
<version>4.0.0-beta-1</version>
<version>4.0.0-beta-1b</version>
<provided>true</provided>
</dependency>
```
Expand All @@ -106,16 +106,16 @@ See Processor Options below.
Use the `annotationProcessor` path in Gradle [4.6 and higher](https://docs.gradle.org/4.6/release-notes.html#convenient-declaration-of-annotation-processor-dependencies):
```
dependencies {
compile 'info.picocli:picocli:4.0.0-beta-1'
annotationProcessor 'info.picocli:picocli-codegen:4.0.0-beta-1'
compile 'info.picocli:picocli:4.0.0-beta-1b'
annotationProcessor 'info.picocli:picocli-codegen:4.0.0-beta-1b'
}
```

For Gradle versions prior to 4.6, use `compileOnly`, to prevent the `picocli-codegen` jar from being a transitive dependency included in the artifact the module produces.
```
dependencies {
compile 'info.picocli:picocli:4.0.0-beta-1'
compileOnly 'info.picocli:picocli-codegen:4.0.0-beta-1'
compile 'info.picocli:picocli:4.0.0-beta-1b'
compileOnly 'info.picocli:picocli-codegen:4.0.0-beta-1b'
}
```

Expand Down Expand Up @@ -187,7 +187,7 @@ compileJava {
See the [Gradle documentation](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.compile.CompileOptions.html) for details.


### <a name="4.0.0-beta-1-negatable"></a> Negatable Options
### <a name="4.0.0-beta-1b-negatable"></a> Negatable Options
From picocli 4.0, options can be `negatable`.

```java
Expand All @@ -207,7 +207,7 @@ If the negated form of the option is found, for example `--no-verbose`, the valu



## <a name="4.0.0-beta-1-fixes"></a> Fixed issues
## <a name="4.0.0-beta-1b-fixes"></a> Fixed issues
- [#500] Add a generic and extensible picocli annotation processor
- [#699] Add annotation processor that generates `reflect-config.json` during build
- [#703] Add annotation processor that generates `resource-config.json` during build
Expand All @@ -226,10 +226,10 @@ If the negated form of the option is found, for example `--no-verbose`, the valu
- [#710] Let annotation processor validate negatable options, usageHelp options
- [#716] Revert `@Inherited` annotation for `@Command`. Thanks to [Mikusch](https://github.com/Mikusch) for raising this.

## <a name="4.0.0-beta-1-deprecated"></a> Deprecations
## <a name="4.0.0-beta-1b-deprecated"></a> Deprecations


## <a name="4.0.0-beta-1-breaking-changes"></a> Potential breaking changes
## <a name="4.0.0-beta-1b-breaking-changes"></a> Potential breaking changes

### `picocli.groovy` Classes Moved to Separate Artifact
From this release the main `picocli-4.x` artifact no longer contains the `picocli.groovy` classes: these have been split off into a separate `picocli-groovy-4.x` artifact.
Expand Down
12 changes: 6 additions & 6 deletions docs/apidocs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_202) on Mon May 13 21:10:50 JST 2019 -->
<title>All Classes (picocli 4.0.0-alpha-3 API)</title>
<meta name="date" content="2019-05-13">
<!-- Generated by javadoc (1.8.0_202) on Wed Jun 05 20:56:44 JST 2019 -->
<title>All Classes (picocli 4.0.0-beta-1b API)</title>
<meta name="date" content="2019-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -51,6 +51,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="picocli/CommandLine.IHelpCommandInitializable2.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.IHelpCommandInitializable2</span></a></li>
<li><a href="picocli/CommandLine.IHelpFactory.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.IHelpFactory</span></a></li>
<li><a href="picocli/CommandLine.IHelpSectionRenderer.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.IHelpSectionRenderer</span></a></li>
<li><a href="picocli/CommandLine.INegatableOptionTransformer.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.INegatableOptionTransformer</span></a></li>
<li><a href="picocli/CommandLine.InitializationException.html" title="class in picocli" target="classFrame">CommandLine.InitializationException</a></li>
<li><a href="picocli/CommandLine.IParameterExceptionHandler.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.IParameterExceptionHandler</span></a></li>
<li><a href="picocli/CommandLine.IParseResultHandler.html" title="interface in picocli" target="classFrame"><span class="interfaceName">CommandLine.IParseResultHandler</span></a></li>
Expand Down Expand Up @@ -94,16 +95,15 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="picocli/CommandLine.ParseResult.GroupMatchContainer.html" title="class in picocli" target="classFrame">CommandLine.ParseResult.GroupMatchContainer</a></li>
<li><a href="picocli/CommandLine.PicocliException.html" title="class in picocli" target="classFrame">CommandLine.PicocliException</a></li>
<li><a href="picocli/CommandLine.Range.html" title="class in picocli" target="classFrame">CommandLine.Range</a></li>
<li><a href="picocli/CommandLine.RegexTransformer.html" title="class in picocli" target="classFrame">CommandLine.RegexTransformer</a></li>
<li><a href="picocli/CommandLine.RegexTransformer.Builder.html" title="class in picocli" target="classFrame">CommandLine.RegexTransformer.Builder</a></li>
<li><a href="picocli/CommandLine.RunAll.html" title="class in picocli" target="classFrame">CommandLine.RunAll</a></li>
<li><a href="picocli/CommandLine.RunFirst.html" title="class in picocli" target="classFrame">CommandLine.RunFirst</a></li>
<li><a href="picocli/CommandLine.RunLast.html" title="class in picocli" target="classFrame">CommandLine.RunLast</a></li>
<li><a href="picocli/CommandLine.Spec.html" title="annotation in picocli" target="classFrame">CommandLine.Spec</a></li>
<li><a href="picocli/CommandLine.TypeConversionException.html" title="class in picocli" target="classFrame">CommandLine.TypeConversionException</a></li>
<li><a href="picocli/CommandLine.Unmatched.html" title="annotation in picocli" target="classFrame">CommandLine.Unmatched</a></li>
<li><a href="picocli/CommandLine.UnmatchedArgumentException.html" title="class in picocli" target="classFrame">CommandLine.UnmatchedArgumentException</a></li>
<li><a href="picocli/groovy/PicocliBaseScript.html" title="class in picocli.groovy" target="classFrame">PicocliBaseScript</a></li>
<li><a href="picocli/groovy/PicocliScript.html" title="annotation in picocli.groovy" target="classFrame">PicocliScript</a></li>
<li><a href="picocli/groovy/PicocliScriptASTTransformation.html" title="class in picocli.groovy" target="classFrame">PicocliScriptASTTransformation</a></li>
</ul>
</div>
</body>
Expand Down
12 changes: 6 additions & 6 deletions docs/apidocs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_202) on Mon May 13 21:10:50 JST 2019 -->
<title>All Classes (picocli 4.0.0-alpha-3 API)</title>
<meta name="date" content="2019-05-13">
<!-- Generated by javadoc (1.8.0_202) on Wed Jun 05 20:56:44 JST 2019 -->
<title>All Classes (picocli 4.0.0-beta-1b API)</title>
<meta name="date" content="2019-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down Expand Up @@ -51,6 +51,7 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="picocli/CommandLine.IHelpCommandInitializable2.html" title="interface in picocli"><span class="interfaceName">CommandLine.IHelpCommandInitializable2</span></a></li>
<li><a href="picocli/CommandLine.IHelpFactory.html" title="interface in picocli"><span class="interfaceName">CommandLine.IHelpFactory</span></a></li>
<li><a href="picocli/CommandLine.IHelpSectionRenderer.html" title="interface in picocli"><span class="interfaceName">CommandLine.IHelpSectionRenderer</span></a></li>
<li><a href="picocli/CommandLine.INegatableOptionTransformer.html" title="interface in picocli"><span class="interfaceName">CommandLine.INegatableOptionTransformer</span></a></li>
<li><a href="picocli/CommandLine.InitializationException.html" title="class in picocli">CommandLine.InitializationException</a></li>
<li><a href="picocli/CommandLine.IParameterExceptionHandler.html" title="interface in picocli"><span class="interfaceName">CommandLine.IParameterExceptionHandler</span></a></li>
<li><a href="picocli/CommandLine.IParseResultHandler.html" title="interface in picocli"><span class="interfaceName">CommandLine.IParseResultHandler</span></a></li>
Expand Down Expand Up @@ -94,16 +95,15 @@ <h1 class="bar">All&nbsp;Classes</h1>
<li><a href="picocli/CommandLine.ParseResult.GroupMatchContainer.html" title="class in picocli">CommandLine.ParseResult.GroupMatchContainer</a></li>
<li><a href="picocli/CommandLine.PicocliException.html" title="class in picocli">CommandLine.PicocliException</a></li>
<li><a href="picocli/CommandLine.Range.html" title="class in picocli">CommandLine.Range</a></li>
<li><a href="picocli/CommandLine.RegexTransformer.html" title="class in picocli">CommandLine.RegexTransformer</a></li>
<li><a href="picocli/CommandLine.RegexTransformer.Builder.html" title="class in picocli">CommandLine.RegexTransformer.Builder</a></li>
<li><a href="picocli/CommandLine.RunAll.html" title="class in picocli">CommandLine.RunAll</a></li>
<li><a href="picocli/CommandLine.RunFirst.html" title="class in picocli">CommandLine.RunFirst</a></li>
<li><a href="picocli/CommandLine.RunLast.html" title="class in picocli">CommandLine.RunLast</a></li>
<li><a href="picocli/CommandLine.Spec.html" title="annotation in picocli">CommandLine.Spec</a></li>
<li><a href="picocli/CommandLine.TypeConversionException.html" title="class in picocli">CommandLine.TypeConversionException</a></li>
<li><a href="picocli/CommandLine.Unmatched.html" title="annotation in picocli">CommandLine.Unmatched</a></li>
<li><a href="picocli/CommandLine.UnmatchedArgumentException.html" title="class in picocli">CommandLine.UnmatchedArgumentException</a></li>
<li><a href="picocli/groovy/PicocliBaseScript.html" title="class in picocli.groovy">PicocliBaseScript</a></li>
<li><a href="picocli/groovy/PicocliScript.html" title="annotation in picocli.groovy">PicocliScript</a></li>
<li><a href="picocli/groovy/PicocliScriptASTTransformation.html" title="class in picocli.groovy">PicocliScriptASTTransformation</a></li>
</ul>
</div>
</body>
Expand Down
62 changes: 28 additions & 34 deletions docs/apidocs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_202) on Mon May 13 21:10:50 JST 2019 -->
<title>Constant Field Values (picocli 4.0.0-alpha-3 API)</title>
<meta name="date" content="2019-05-13">
<!-- Generated by javadoc (1.8.0_202) on Wed Jun 05 20:56:44 JST 2019 -->
<title>Constant Field Values (picocli 4.0.0-beta-1b API)</title>
<meta name="date" content="2019-06-05">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant Field Values (picocli 4.0.0-alpha-3 API)";
parent.document.title="Constant Field Values (picocli 4.0.0-beta-1b API)";
}
}
catch(err) {
Expand All @@ -32,7 +32,7 @@
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li><a href="picocli/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
Expand Down Expand Up @@ -141,7 +141,7 @@ <h2 title="picocli">picocli.*</h2>
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="picocli/CommandLine.html#VERSION">VERSION</a></code></td>
<td class="colLast"><code>"4.0.0-alpha-3"</code></td>
<td class="colLast"><code>"4.0.0-beta-1b"</code></td>
</tr>
</tbody>
</table>
Expand All @@ -167,14 +167,14 @@ <h2 title="picocli">picocli.*</h2>
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="picocli/CommandLine.ExitCode.html#SOFTWARE">SOFTWARE</a></code></td>
<td class="colLast"><code>70</code></td>
<td class="colLast"><code>1</code></td>
</tr>
<tr class="altColor">
<td class="colFirst"><a name="picocli.CommandLine.ExitCode.USAGE">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;int</code></td>
<td><code><a href="picocli/CommandLine.ExitCode.html#USAGE">USAGE</a></code></td>
<td class="colLast"><code>64</code></td>
<td class="colLast"><code>2</code></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -226,6 +226,25 @@ <h2 title="picocli">picocli.*</h2>
</li>
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>picocli.<a href="picocli/CommandLine.Model.CommandSpec.html" title="class in picocli">CommandLine.Model.CommandSpec</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="picocli.CommandLine.Model.CommandSpec.DEFAULT_COMMAND_NAME">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="picocli/CommandLine.Model.CommandSpec.html#DEFAULT_COMMAND_NAME">DEFAULT_COMMAND_NAME</a></code></td>
<td class="colLast"><code>"&lt;main class&gt;"</code></td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>picocli.<a href="picocli/CommandLine.Model.UsageMessageSpec.html" title="class in picocli">CommandLine.Model.UsageMessageSpec</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
Expand Down Expand Up @@ -356,31 +375,6 @@ <h2 title="picocli">picocli.*</h2>
</table>
</li>
</ul>
<a name="picocli.groovy">
<!-- -->
</a>
<h2 title="picocli.groovy">picocli.groovy.*</h2>
<ul class="blockList">
<li class="blockList">
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
<caption><span>picocli.groovy.<a href="picocli/groovy/PicocliBaseScript.html" title="class in picocli.groovy">PicocliBaseScript</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th scope="col">Constant Field</th>
<th class="colLast" scope="col">Value</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a name="picocli.groovy.PicocliBaseScript.COMMAND_LINE">
<!-- -->
</a><code>public&nbsp;static&nbsp;final&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td><code><a href="picocli/groovy/PicocliBaseScript.html#COMMAND_LINE">COMMAND_LINE</a></code></td>
<td class="colLast"><code>"commandLine"</code></td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
Expand All @@ -392,7 +386,7 @@ <h2 title="picocli.groovy">picocli.groovy.*</h2>
</a>
<ul class="navList" title="Navigation">
<li><a href="overview-summary.html">Overview</a></li>
<li>Package</li>
<li><a href="picocli/package-summary.html">Package</a></li>
<li>Class</li>
<li><a href="overview-tree.html">Tree</a></li>
<li><a href="deprecated-list.html">Deprecated</a></li>
Expand Down
Loading

0 comments on commit 5eb53ff

Please sign in to comment.