Skip to content

Releases: zepben/command-line-arguments

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Apr 06:11

Breaking Changes

  • Minimum required JVM version for compilation is 17

New Features

  • None.

Enhancements

  • None.

Fixes

  • None.

Notes

  • Updated project to Kotlin 2.3.20

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 20 Mar 01:24

Breaking Changes

  • None.

New Features

  • None.

Enhancements

  • None.

Fixes

  • None.

Notes

  • Updated Kotlin from 1.9.10 -> 1.9.24.

v2.1.0

Choose a tag to compare

@github-actions github-actions released this 16 May 06:59

Breaking Changes

  • Updated the super pom with potentially breaking transitive dependencies.

New Features

  • None.

Enhancements

  • Updated the CmdArgsBase.parse function to take an Array<out String>, which allows passing of a Kotlin varargs args: String parameter directly.

Fixes

  • None.

Notes

  • None.

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 16 Mar 06:10

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
      to get*()
    • Removal of the ensureOptionInitialised helper. Accessing options without parsing will now throw UninitializedPropertyAccessException errors instead.
    • Removed the ParseException annotations from functions. The function still throw these exceptions, but Kotlin does not require them.
    • Returning null instead of Optional from argument extractors. If you wish to continue using Optional from a Java codebase, you can just wrap the
      result.

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

Choose a tag to compare

@github-actions github-actions released this 07 Oct 21:28

Release History

Version Released
1.1.0 08 October 2020

v1.1.0

Initial open source release of command-line-arguments.