Skip to content

Commit d9b1e47

Browse files
committed
Release picocli version 4.7.0
1 parent f46a60b commit d9b1e47

File tree

532 files changed

+4935
-2160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

532 files changed

+4935
-2160
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ The user manual has examples of integrating with [Guice](https://picocli.info/#_
7979

8080
### Releases
8181
* [All Releases](https://github.com/remkop/picocli/releases)
82-
* Latest: 4.6.3 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.6.3)
82+
* Latest: 4.7.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.7.0)
8383
* Older: Picocli 4.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v4.0.0)
8484
* Older: Picocli 3.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v3.0.0)
8585
* Older: Picocli 2.0 [Release Notes](https://github.com/remkop/picocli/releases/tag/v2.0.0)
@@ -270,9 +270,9 @@ If you like picocli, help others discover picocli:
270270
#### Spread the joy! :tada:
271271
* Tweet about picocli! What do you like about it? How has it helped you? How is it different from the alternatives?
272272
* Mention that your project uses picocli in the documentation of your project.
273-
* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.6.3-green.svg)](https://github.com/remkop/picocli)
273+
* Show that your GitHub project uses picocli, with this badge in your README.md: [![picocli](https://img.shields.io/badge/picocli-4.7.0-green.svg)](https://github.com/remkop/picocli)
274274
```
275-
[![picocli](https://img.shields.io/badge/picocli-4.6.3-green.svg)](https://github.com/remkop/picocli)
275+
[![picocli](https://img.shields.io/badge/picocli-4.7.0-green.svg)](https://github.com/remkop/picocli)
276276
```
277277

278278
#### Preach it! :muscle:
@@ -363,41 +363,41 @@ See the [source code](https://github.com/remkop/picocli/blob/main/src/main/java/
363363

364364
### Gradle
365365
```
366-
implementation 'info.picocli:picocli:4.6.3'
366+
implementation 'info.picocli:picocli:4.7.0'
367367
```
368368
### Maven
369369
```
370370
<dependency>
371371
<groupId>info.picocli</groupId>
372372
<artifactId>picocli</artifactId>
373-
<version>4.6.3</version>
373+
<version>4.7.0</version>
374374
</dependency>
375375
```
376376
### Scala SBT
377377
```
378-
libraryDependencies += "info.picocli" % "picocli" % "4.6.3"
378+
libraryDependencies += "info.picocli" % "picocli" % "4.7.0"
379379
```
380380
### Ivy
381381
```
382-
<dependency org="info.picocli" name="picocli" rev="4.6.3" />
382+
<dependency org="info.picocli" name="picocli" rev="4.7.0" />
383383
```
384384
### Grape
385385
```groovy
386386
@Grapes(
387-
@Grab(group='info.picocli', module='picocli', version='4.6.3')
387+
@Grab(group='info.picocli', module='picocli', version='4.7.0')
388388
)
389389
```
390390
### Leiningen
391391
```
392-
[info.picocli/picocli "4.6.3"]
392+
[info.picocli/picocli "4.7.0"]
393393
```
394394
### Buildr
395395
```
396-
'info.picocli:picocli:jar:4.6.3'
396+
'info.picocli:picocli:jar:4.7.0'
397397
```
398398

399399
### JBang
400400
```
401-
//DEPS info.picocli:picocli:4.6.3
401+
//DEPS info.picocli:picocli:4.7.0
402402
```
403403

RELEASE-NOTES.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# picocli Release Notes
22

3-
# <a name="4.7.0"></a> Picocli 4.7.0 (UNRELEASED)
3+
# <a name="4.7.0"></a> Picocli 4.7.0
44
The picocli community is pleased to announce picocli 4.7.0.
55

66
This release includes bugfixes and enhancements.
@@ -11,7 +11,7 @@ From this release, applications can programmatically set the trace level, and us
1111

1212
Applications can improve startup time by setting system property `picocli.disable.closures` to `true` to disable support for [closures in annotations](https://picocli.info/#_closures_in_annotations).
1313

14-
Also, this release has various fixes and enhancements related to the synopsis of the usage help message.
14+
Many more fixes and enhancements, see the sections below for more details.
1515

1616

1717
This is the seventy-ninth public release.
@@ -70,7 +70,7 @@ If an option is defined as `arity = "*"`, this option will consume _all_ remaini
7070

7171
### Unsorted Synopsis
7272
By default, the synopsis displays options in alphabetical order.
73-
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` attribute.
73+
Picocli 4.7.0 introduces a `sortSynopsis = false` attribute to let the synopsis display options in the order they are declared in your class, or sorted by their `order` attribute.
7474

7575
```java
7676
@Command(sortSynopsis = false)
@@ -98,9 +98,9 @@ Applications that want to preserve the previous behaviour will need to change th
9898
* [#1563] API: Add constructor to `PicocliSpringFactory` to allow custom fallback `IFactory`. Thanks to [Andrew Holland](https://github.com/a1dutch) for raising this.
9999
* [#1767][#1802] API: avoid NPE on `OptionSpec.getValue()` and add `IScoped` internal API. Thanks to [Ruud Senden](https://github.com/rsenden) for the discussion and the pull request.
100100
* [#1574] API: Add annotation API to control whether synopsis should be sorted alphabetically or by explicit `order`.
101+
* [#1708][#1712][#1723] 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. Thanks to [Fabio](https://github.com/fabio-franco) for the pull request.
101102
* [#648][#1846] Enhancement: Treat `char[]` as single-value types (Potentially breaking change). Thanks to [Lukáš Petrovický](https://github.com/triceo) for the pull request with the test to verify the solution.
102103
* [#1571] Enhancement: Variables in values from the default value provider should be interpolated. Thanks to [Bas Passon](https://github.com/bpasson) for raising this.
103-
* [#1708][#1712][#1723] 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. Thanks to [Fabio](https://github.com/fabio-franco) for the pull request.
104104
* [#1773] Enhancement: Applications can improve startup time by setting system property `picocli.disable.closures` to `true` to disable support for [closures in annotations](https://picocli.info/#_closures_in_annotations). Thanks to [patric-r](https://github.com/patric-r) for raising this.
105105
* [#1408] Enhancement: Synopsis should respect `order` if specified. Thanks to [Simon](https://github.com/sbernard31) for raising this.
106106
* [#964][#1080] Enhancement: ArgGroup synopsis should respect `order` (if specified). Thanks to [Enderaoe](https://github.com/Lyther) for the pull request with unit tests.

dependencies.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ ext {
77
// projectPreviousPublishedVersion is non-SNAPSHOT, only published releases
88
projectPreviousPublishedVersion = "4\\.6\\.3" // for task bumpReadmeVersion
99
// projectPreviousVersionRegex may be a SNAPSHOT
10-
projectPreviousVersionRegex = "4\\.6\\.3" // for task bumpVersion
11-
projectVersion = "4.7.0-SNAPSHOT" // for all build tasks
12-
releaseDate = "2022-02-09" // for task bumpVersion
10+
projectPreviousVersionRegex = "4\\.7\\.0-SNAPSHOT" // for task bumpVersion
11+
projectVersion = "4.7.0" // for all build tasks
12+
releaseDate = "2022-10-31" // for task bumpVersion
1313
releaseDatePreviousRegex = "2022\\-02\\-09" // for task bumpVersion
1414

1515
// DEPENDENCIES

docs/A-Whirlwind-Tour-of-Picocli.html

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="generator" content="Asciidoctor 2.0.16">
7+
<meta name="generator" content="Asciidoctor 2.0.17">
88
<meta name="author" content="Remko Popma">
99
<title>A Whirlwind Tour of Picocli</title>
1010
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
@@ -194,7 +194,8 @@
194194
#content h1>a.link:hover,h2>a.link:hover,h3>a.link:hover,#toctitle>a.link:hover,.sidebarblock>.content>.title>a.link:hover,h4>a.link:hover,h5>a.link:hover,h6>a.link:hover{color:#a53221}
195195
details,.audioblock,.imageblock,.literalblock,.listingblock,.stemblock,.videoblock{margin-bottom:1.25em}
196196
details{margin-left:1.25rem}
197-
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;-webkit-tap-highlight-color:transparent}
197+
details>summary{cursor:pointer;display:block;position:relative;line-height:1.6;margin-bottom:.625rem;outline:none;-webkit-tap-highlight-color:transparent}
198+
details>summary::-webkit-details-marker{display:none}
198199
details>summary::before{content:"";border:solid transparent;border-left:solid;border-width:.3em 0 .3em .5em;position:absolute;top:.5em;left:-1.25rem;transform:translateX(15%)}
199200
details[open]>summary::before{border:solid transparent;border-top:solid;border-width:.5em .3em 0;transform:translateY(15%)}
200201
details>summary::after{content:"";width:1.25rem;height:1em;position:absolute;top:.3em;left:-1.25rem}
@@ -236,9 +237,8 @@
236237
table.linenotable{border-collapse:separate;border:0;margin-bottom:0;background:none}
237238
table.linenotable td[class]{color:inherit;vertical-align:top;padding:0;line-height:inherit;white-space:normal}
238239
table.linenotable td.code{padding-left:.75em}
239-
table.linenotable td.linenos{border-right:1px solid;opacity:.35;padding-right:.5em}
240-
pre.pygments .lineno{border-right:1px solid;opacity:.35;display:inline-block;margin-right:.75em}
241-
pre.pygments .lineno::before{content:"";margin-right:-.125em}
240+
table.linenotable td.linenos,pre.pygments .linenos{border-right:1px solid;opacity:.35;padding-right:.5em;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
241+
pre.pygments span.linenos{display:inline-block;margin-right:.75em}
242242
.quoteblock{margin:0 1em 1.25em 1.5em;display:table}
243243
.quoteblock:not(.excerpt)>.title{margin-left:-1.5em;margin-bottom:.75em}
244244
.quoteblock blockquote,.quoteblock p{color:rgba(0,0,0,.85);font-size:1.15rem;line-height:1.75;word-spacing:.1em;letter-spacing:0;font-style:italic;text-align:justify}
@@ -275,7 +275,7 @@
275275
table.frame-none>:last-child>:last-child>*,table.frame-sides>:last-child>:last-child>*{border-bottom-width:0}
276276
table.frame-none>*>tr>:first-child,table.frame-ends>*>tr>:first-child{border-left-width:0}
277277
table.frame-none>*>tr>:last-child,table.frame-ends>*>tr>:last-child{border-right-width:0}
278-
table.stripes-all tr,table.stripes-odd tr:nth-of-type(odd),table.stripes-even tr:nth-of-type(even),table.stripes-hover tr:hover{background:#f8f8f7}
278+
table.stripes-all>*>tr,table.stripes-odd>*>tr:nth-of-type(odd),table.stripes-even>*>tr:nth-of-type(even),table.stripes-hover>*>tr:hover{background:#f8f8f7}
279279
th.halign-left,td.halign-left{text-align:left}
280280
th.halign-right,td.halign-right{text-align:right}
281281
th.halign-center,td.halign-center{text-align:center}
@@ -291,10 +291,11 @@
291291
ul li ol{margin-left:1.5em}
292292
dl dd{margin-left:1.125em}
293293
dl dd:last-child,dl dd:last-child>:last-child{margin-bottom:0}
294-
ol>li p,ul>li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
294+
li p,ul dd,ol dd,.olist .olist,.ulist .ulist,.ulist .olist,.olist .ulist{margin-bottom:.625em}
295295
ul.checklist,ul.none,ol.none,ul.no-bullet,ol.no-bullet,ol.unnumbered,ul.unstyled,ol.unstyled{list-style-type:none}
296296
ul.no-bullet,ol.no-bullet,ol.unnumbered{margin-left:.625em}
297297
ul.unstyled,ol.unstyled{margin-left:0}
298+
li>p:empty:only-child::before{content:"";display:inline-block}
298299
ul.checklist>li>p:first-child{margin-left:-1em}
299300
ul.checklist>li>p:first-child>.fa-square-o:first-child,ul.checklist>li>p:first-child>.fa-check-square-o:first-child{width:1.25em;font-size:.8em;position:relative;bottom:.125em}
300301
ul.checklist>li>p:first-child>input[type=checkbox]:first-child{margin-right:.25em}
@@ -337,8 +338,6 @@
337338
#footnotes .footnote a:first-of-type{font-weight:bold;text-decoration:none;margin-left:-1.05em}
338339
#footnotes .footnote:last-of-type{margin-bottom:0}
339340
#content #footnotes{margin-top:-.625em;margin-bottom:0;padding:.75em 0}
340-
.gist .file-data>table{border:0;background:#fff;width:100%;margin-bottom:0}
341-
.gist .file-data>table td.line-data{width:99%}
342341
div.unbreakable{page-break-inside:avoid}
343342
.big{font-size:larger}
344343
.small{font-size:smaller}
@@ -439,18 +438,18 @@
439438
</style>
440439
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
441440
<style>
442-
/* Stylesheet for CodeRay to match GitHub theme | MIT License | http://foundation.zurb.com */
441+
/*! Stylesheet for CodeRay to loosely match GitHub themes | MIT License */
443442
pre.CodeRay{background:#f7f7f8}
444-
.CodeRay .line-numbers{border-right:1px solid currentColor;opacity:.35;padding:0 .5em 0 0}
443+
.CodeRay .line-numbers{border-right:1px solid;opacity:.35;padding:0 .5em 0 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
445444
.CodeRay span.line-numbers{display:inline-block;margin-right:.75em}
446445
.CodeRay .line-numbers strong{color:#000}
447446
table.CodeRay{border-collapse:separate;border:0;margin-bottom:0;background:none}
448447
table.CodeRay td{vertical-align:top;line-height:inherit}
449448
table.CodeRay td.line-numbers{text-align:right}
450449
table.CodeRay td.code{padding:0 0 0 .75em}
451-
.CodeRay .debug{color:#fff !important;background:#000080 !important}
450+
.CodeRay .debug{color:#fff!important;background:navy!important}
452451
.CodeRay .annotation{color:#007}
453-
.CodeRay .attribute-name{color:#000080}
452+
.CodeRay .attribute-name{color:navy}
454453
.CodeRay .attribute-value{color:#700}
455454
.CodeRay .binary{color:#509}
456455
.CodeRay .comment{color:#998;font-style:italic}
@@ -459,7 +458,7 @@
459458
.CodeRay .char .delimiter{color:#039}
460459
.CodeRay .class{color:#458;font-weight:bold}
461460
.CodeRay .complex{color:#a08}
462-
.CodeRay .constant,.CodeRay .predefined-constant{color:#008080}
461+
.CodeRay .constant,.CodeRay .predefined-constant{color:teal}
463462
.CodeRay .color{color:#099}
464463
.CodeRay .class-variable{color:#369}
465464
.CodeRay .decorator{color:#b0b}
@@ -474,7 +473,7 @@
474473
.CodeRay .exception{color:inherit}
475474
.CodeRay .filename{color:#099}
476475
.CodeRay .function{color:#900;font-weight:bold}
477-
.CodeRay .global-variable{color:#008080}
476+
.CodeRay .global-variable{color:teal}
478477
.CodeRay .hex{color:#058}
479478
.CodeRay .integer,.CodeRay .float{color:#099}
480479
.CodeRay .include{color:#555}
@@ -485,7 +484,7 @@
485484
.CodeRay .inline-delimiter{color:#d14}
486485
.CodeRay .important{color:#555;font-weight:bold}
487486
.CodeRay .interpreted{color:#b2b}
488-
.CodeRay .instance-variable{color:#008080}
487+
.CodeRay .instance-variable{color:teal}
489488
.CodeRay .label{color:#970}
490489
.CodeRay .local-variable{color:#963}
491490
.CodeRay .octal{color:#40e}
@@ -495,7 +494,7 @@
495494
.CodeRay .directive{font-weight:bold}
496495
.CodeRay .type{font-weight:bold}
497496
.CodeRay .predefined-type{color:inherit}
498-
.CodeRay .reserved,.CodeRay .keyword {color:#000;font-weight:bold}
497+
.CodeRay .reserved,.CodeRay .keyword{color:#000;font-weight:bold}
499498
.CodeRay .key{color:#808}
500499
.CodeRay .key .delimiter{color:#606}
501500
.CodeRay .key .char{color:#80f}
@@ -515,7 +514,7 @@
515514
.CodeRay .symbol{color:#990073}
516515
.CodeRay .symbol .content{color:#a60}
517516
.CodeRay .symbol .delimiter{color:#630}
518-
.CodeRay .tag{color:#008080}
517+
.CodeRay .tag{color:teal}
519518
.CodeRay .tag-special{color:#d70}
520519
.CodeRay .variable{color:#036}
521520
.CodeRay .insert{background:#afa}
@@ -1647,7 +1646,7 @@
16471646
<h1>A Whirlwind Tour of Picocli</h1>
16481647
<div class="details">
16491648
<span id="author" class="author">Remko Popma</span><br>
1650-
<span id="revnumber">version 4.6.3</span>
1649+
<span id="revnumber">version 4.7.0</span>
16511650
</div>
16521651
</div>
16531652
<div id="content">
@@ -3085,8 +3084,8 @@ <h2 id="_conclusion">Conclusion</h2>
30853084
</div>
30863085
<div id="footer">
30873086
<div id="footer-text">
3088-
Version 4.6.3<br>
3089-
Last updated 2022-01-31 12:57:15 +0900
3087+
Version 4.7.0<br>
3088+
Last updated 2022-05-13 20:45:12 -0400
30903089
</div>
30913090
</div>
30923091
</body>

0 commit comments

Comments
 (0)