Releases: zepben/command-line-arguments
Releases · zepben/command-line-arguments
Release list
v2.3.0
v2.2.0
Breaking Changes
- None.
New Features
- None.
Enhancements
- None.
Fixes
- None.
Notes
- Updated Kotlin from
1.9.10->1.9.24.
v2.1.0
Breaking Changes
- Updated the super pom with potentially breaking transitive dependencies.
New Features
- None.
Enhancements
- Updated the
CmdArgsBase.parsefunction to take anArray<out String>, which allows passing of a Kotlinvarargs args: Stringparameter directly.
Fixes
- None.
Notes
- None.
v2.0.0
Breaking Changes
- Updated to a Kotlin code base which includes the following changes:
- Converted accessor functions to Kotlin properties. Accessing these via Kotlin requires removing the
(), whilst in Java you need to change them
toget*() - Removal of the
ensureOptionInitialisedhelper. Accessing options without parsing will now throwUninitializedPropertyAccessExceptionerrors instead. - Removed the
ParseExceptionannotations from functions. The function still throw these exceptions, but Kotlin does not require them. - Returning
nullinstead ofOptionalfrom argument extractors. If you wish to continue usingOptionalfrom a Java codebase, you can just wrap the
result.
- Converted accessor functions to Kotlin properties. Accessing these via Kotlin requires removing the
New Features
- None.
Enhancements
- None.
Fixes
- Updated Apache commons-cli to v1.5.0 to resolve issue with parsing some arguments with optional/multiple arguments consuming following arguments.
Notes
- The changes due to the Kotlin code base will not be visible to the user, they just change the way you need to implement and interface with the
CmdArgsBase
class.
v1.1.0
Release History
| Version | Released |
|---|---|
| 1.1.0 | 08 October 2020 |
v1.1.0
Initial open source release of command-line-arguments.