Picocli 3.0.0-alpha-4
The picocli community is pleased to announce picocli 3.0.0-alpha-4.
This release contains bug fixes and enhancements.
This is the twenty-fourth public release.
Picocli follows semantic versioning.
Table of Contents
- New and noteworthy
- Promoted features
- Fixed issues
- Deprecations
- Potential breaking changes
New and Noteworthy
Promoted Features
Promoted features are features that were incubating in previous versions of picocli but are now supported and subject to backwards compatibility.
No features have been promoted in this picocli release.
Fixed issues
[#318] API Change: Split model IBinding into IGetter and ISetter.
[#320] API Change: Rename parser config maxArityIsMaxTotalParams
to arityRestrictsCumulativeSize
.
[#216] Enhancement: Parsed values now replace the default value of multi-value (array, Collection or Map) options and positional parameters instead of being appended to them. Thanks to wiwie for the request.
[#261] Enhancement: Options and positional parameters with a defaultValue
are never required. Thanks to ymenager for the request.
[#315] Enhancement: Initialize ArgSpec value with defaultValue
before parsing command line.
[#263] Bugfix: positional parameter defaults were not shown in usage help message. Thanks to ymenager for the bug report.
Deprecations
See 3.0.0-alpha-1
Potential breaking changes
- Parsed values now replace the default value of multi-value (array, Collection or Map) options and positional parameters instead of being appended to them.
- The
IBinding
interface introduced in v3.0.0-alpha-1 has been replaced with two functional interfacesIGetter
andISetter
. - The
UnmatchedArgsBinding
factory methods introduced in v3.0.0-alpha-1 have been replaced withforStringArrayConsumer
andforStringCollectionSupplier
.
See also breaking changes for 3.0.0-alpha-3, 3.0.0-alpha-2, and 3.0.0-alpha-1.