All Versions
32
Latest Version
Avg Release Cycle
24 days
Latest Release
1879 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v1.23 Changes
2012/01/12
- โ Added: @DynamicParameter
- ๐ Fixed: Use JDK 6 Console() when available to improve support of non ascii chars (Julien Henry)
-
v1.20 Changes
2011/11/24
- โ Added: Support for delegating parameter definitions to child classes (rodionmoiseev)
- โ Added: @Parameter(commandNames) so that command names can be specified with annotations
- โ Added: Support for enums (Adrian Muraru)
- ๐ Fixed: Throw if an unknown option is found
- ๐ Fixed: Main parameters are now validated as well (Connor Mullen)
-
v1.19 Changes
2011/10/10
- โ Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions
- โ Added: JCommander#setParameterDescriptionComparator for better control over usage()
- ๐ Fixed: Fields of type Set (HashSet and SortedSet) are now supported
- ๐ Fixed: defaults for commands were not properly applied (Stevo Slavic)
- ๐ Fixed: "-args=a=b,b=c" was not being parsed correctly (Michael Lancaster)
- ๐ Fixed: #73: descriptionKey was being ignored on main parameters
-
v1.18 Changes
2011/07/20
- โ Added: Default converter factories can be overridden (Scott Clasen)
- โ Added: IParameterValidator
- โ Added: Don't display "Options:" if none were defined
- โ Added: Enforce that the type of the main parameter is a List
- โ Added: usage() now displays the options for each command as well
- ๐ Fixed: Default values with a validator were being validate at parse() time instead of creation time.
- ๐ Fixed: Exception when using an @ file with empty lines between options
- ๐ Fixed: OOM when parsing certain descriptions with long URL's in them
-
v1.15 Changes
2011/01/24
- โ Added: Added a constructor that takes a Bundle only, #47 (Russell Egan)
- ๐ Fixed: NPE with calling getCommandDescription() of an unknown command
-
v1.13 Changes
2010/12/15
- โ Added: Boolean parameters with arity 0 (e.g. "foo -debug")
- ๐ Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing.
-
v1.7 Changes
2010/09/06
- โ Added: Command usages are now shown in the order they were added to the JCommander object
- ๐ Fixed: JCommander now compatible with Java 5
- ๐ Fixed: Minor bug in the command display (Marc Ende)
-
v1.6 Changes
2010/08/28
- โ Added: @Parameters(commandDescription = "command description")
- โ Added: now throwing an exception if required main parameters are not supplied
- ๐ Fixed: usage() was changing default values after two runs (jstrachan)
-
v1.5 Changes
2010/08/15
- โ Added: overloaded versions of usage() with StringBuilders
- โ Added: inheritance support (Guillaume Sauthier)
- โ Added: support for commands (e.g. "main add --author=cbeust Foo.java")
- โ Added: support for converters for main parameters (e.g. List).
-
v1.4 Changes
2010/07/28
- โ Added: string converter factories
- โ Added: IDefaultProvider
- โ Added: PropertyFileDefaultProvider
- โ Added: Usage is now showing required parameters and default value
- โ Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a")
- โ Added: @Parameters(optionPrefixes) to allow for different prefixes than "-"