Skip to content

Commit 05b5464

Browse files
committed
Adding information on lack of backwards compatibility to the release notes
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/cli/branches/cli-1.0.x@546594 13f79535-47bb-0310-9956-ffa450edef68
1 parent 74a8c97 commit 05b5464

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

RELEASE-NOTES.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,18 @@ INTRODUCTION:
1010
This document contains the release notes for this version of the Commons
1111
CLI package. Commons CLI provides a simple API for working with the command line arguments and options.
1212

13-
This is a bugfix release of CLI.
13+
This is a bugfix release of CLI. Some parts are not backwards compatible:
14+
15+
* The CommandLineParser interface has two additional methods. If you were extending this,
16+
then you will need to add methods to your classes. If you were extending the abstract
17+
Parser class, then you should be okay.
18+
* The HelpFormatter class had publicly accessible fields. These are now accessed via
19+
get/set methods.
20+
* Two of HelpFormatter's methods no longer throw IllegalArgumentException.
21+
* The Option class is no longer cloneable, and no longer has an addValue(String) method.
22+
23+
The best way to test any of the above is to recompile your code against CLI 1.1. All
24+
should result in compile time errors.
1425

1526
For more information, read the documentation on the project site at
1627
http://jakarta.apache.org/commons/cli/

0 commit comments

Comments
 (0)