|
| 1 | +Apache Commons CLI 1.10.0 Release Notes |
| 2 | +------------------------------------------------ |
| 3 | + |
| 4 | +The Apache Commons CLI team is pleased to announce the release of Apache Commons CLI 1.10.0. |
| 5 | + |
| 6 | +Apache Commons CLI provides a simple API for presenting, processing, and validating a Command Line Interface. |
| 7 | + |
| 8 | +This is a feature and maintenance release. Java 8 or later is required. |
| 9 | + |
| 10 | + |
| 11 | +New Features |
| 12 | +------------ |
| 13 | + |
| 14 | +* CLI-339: Help formatter extension in the new package #314. Thanks to Claude Warren, Gary Gregory. |
| 15 | +* CommandLine.Builder implements Supplier<CommandLine>. Thanks to Gary Gregory. |
| 16 | +* DefaultParser.Builder implements Supplier<DefaultParser>. Thanks to Gary Gregory. |
| 17 | +* CLI-340: Add CommandLine.getParsedOptionValues() #334. Thanks to Claude Warren, Gary Gregory. |
| 18 | +* CLI-333: org.apache.commons.cli.Option.Builder implements Supplier<Option>. Thanks to Claude Warren, Gary Gregory. |
| 19 | + |
| 20 | +Fixed Bugs |
| 21 | +---------- |
| 22 | + |
| 23 | +* Deprecate CommandLine.Builder() in favor of CommandLine.builder(). Thanks to Gary Gregory. |
| 24 | +* Deprecate DeprecatedAttributes.Builder() in favor of DeprecatedAttributes.builder(). Thanks to Gary Gregory. |
| 25 | +* Refactor default parser test #294. Thanks to Dávid Szigecsán. |
| 26 | +* Port to JUnit 5. Thanks to Gary Gregory. |
| 27 | +* Generics for Converter should use Exception not Throwable. Thanks to Gary Gregory. |
| 28 | +* Pick up maven-antrun-plugin version from parent POM org.apache:apache. Thanks to Gary Gregory. |
| 29 | +* Javadoc is missing its Overview page. Thanks to Gary Gregory. |
| 30 | +* Get mockito version from parent pom (#351). Thanks to Arnout Engelen. |
| 31 | +* Remove -nouses directive from maven-bundle-plugin. OSGi package imports now state 'uses' definitions for package imports, this doesn't affect JPMS (from org.apache.commons:commons-parent:80). Thanks to Gary Gregory. |
| 32 | +* Deprecate PatternOptionBuilder.PatternOptionBuilder(). Thanks to Arnout Engelen. |
| 33 | +* CLI-341: HelpFormatter infinite loop with 0 width input. Thanks to Ruiqi Dong, Gary Gregory. |
| 34 | +* CLI-349: Fail faster with a more precise NullPointerException: Option.processValue() throws NullPointerException when passed null value with value separator configured. Thanks to Leo Fernandes, Gary Gregory. |
| 35 | +* CLI-344: Fail faster with a more precise NullPointerException: DefaultParser.parse() throws NullPointerException when options parameter is null. Thanks to Ruiqi Dong, Gary Gregory. |
| 36 | +* CLI-347: Options.addOptionGroup(OptionGroup) does not remove required options from requiredOpts list. Thanks to Ruiqi Dong, Gary Gregory. |
| 37 | +* org.apache.commons.cli.Option.Builder.get() should throw IllegalStateException instead of IllegalArgumentException. Thanks to Gary Gregory. |
| 38 | +* org.apache.commons.cli.Option.processValue(String) should throw IllegalStateException instead of IllegalArgumentException. Thanks to Gary Gregory. |
| 39 | +* org.apache.commons.cli.OptionBuilder.create() should throw IllegalStateException instead of IllegalArgumentException. Thanks to Gary Gregory. |
| 40 | + |
| 41 | +Updates |
| 42 | +------- |
| 43 | + |
| 44 | +* Bump org.apache.commons:commons-parent from 72 to 85 #302, #304, #310, #315, #320, #327, #371. Thanks to Gary Gregory, Dependabot. |
| 45 | +* [test] Bump commons-io:commons-io from 2.16.1 to 2.20.0 #309, #337. Thanks to Gary Gregory, Dependabot. |
| 46 | +* [test] Bump org.apache.commons:commons-text from 1.12.0 to 1.14.0 #344. Thanks to Gary Gregory, Dependabot. |
| 47 | +* Update site documentation to https://maven.apache.org/xsd/xdoc-2.0.xsd. Thanks to Gary Gregory. |
| 48 | + |
| 49 | + |
| 50 | +Historical list of changes: https://commons.apache.org/proper/commons-cli/changes.html |
| 51 | + |
| 52 | +For complete information on Apache Commons CLI, including instructions on how to submit bug reports, |
| 53 | +patches, or suggestions for improvement, see the Apache Commons CLI website: |
| 54 | + |
| 55 | +https://commons.apache.org/proper/commons-cli/ |
| 56 | + |
| 57 | +Download page: https://commons.apache.org/proper/commons-cli/download_cli.cgi |
| 58 | + |
| 59 | +Have fun! |
| 60 | +The Apache Commons Team |
| 61 | + |
| 62 | +------------------------------------------------------------------------------ |
| 63 | + |
1 | 64 | Apache Commons CLI 1.10.0 Release Notes |
2 | 65 | --------------------------------------- |
3 | 66 |
|
|
0 commit comments