blob: 3e9b5f24d4768395def232b45ba83177b5e1be4e [file] [log] [blame]
Cedric Beusta6e4abd2010-10-01 11:42:59 -07001Current
2
Cedric Beustca0789b2012-04-18 10:14:48 -07003Fixed: StringIndexOutOfBoundsException if passing an empty parameter (bomanz)
Cedric Beust3506d022012-03-12 14:51:40 -07004Fixed: GITHUB-105: If no description is given for an enum, use that enum's value (Adrian Muraru)
Cedric Beust8ebf58f2012-03-10 16:12:16 -08005Fixed: GITHUB-108: Dynamic parameters with "=" in them are not parsed correctly (szhem)
Cedric Beust8ad02da2012-01-12 13:23:58 -08006Fixed: Commands with same prefix as options were not working properly.
Cedric Beust39e431e2012-02-25 16:43:59 -08007Fixed: GITHUB-97: Required password always complains that it is not specified (timoteoponce)
Cedric Beust8ad02da2012-01-12 13:23:58 -08008
91.23
102012/01/12
11
Cedric Beusta559c602012-01-10 16:49:06 -080012Added: @DynamicParameter
Julien HENRYe45913e2011-11-29 09:40:08 +010013Fixed: Use JDK 6 Console() when available to improve support of non ascii chars (Julien Henry)
14
Cedric Beustaf876df2011-11-25 11:30:06 -0800151.20
162011/11/24
17
Cedric Beust4ba2a3c2011-11-25 09:34:05 -080018Added: Support for delegating parameter definitions to child classes (rodionmoiseev)
Cedric Beust66e78952011-11-23 13:15:16 -080019Added: @Parameter(commandNames) so that command names can be specified with annotations
Cédric Beustf2af8142011-10-23 12:02:09 -070020Added: Support for enums (Adrian Muraru)
Cedric Beust4ba2a3c2011-11-25 09:34:05 -080021Fixed: Throw if an unknown option is found
Cedric Beustc3507eb2011-11-25 10:47:01 -080022Fixed: Main parameters are now validated as well (Connor Mullen)
Cédric Beustf2af8142011-10-23 12:02:09 -070023
241.19
252011/10/10
Cedric Beustaf876df2011-11-25 11:30:06 -080026
Cedric Beust8a3f5622011-07-15 10:55:52 -070027Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions
Cédric Beustcbdb7072011-10-05 23:14:20 -070028Added: JCommander#setParameterDescriptionComparator for better control over usage()
Cedric Beust876c9772011-08-17 11:09:57 -070029Fixed: Fields of type Set (HashSet and SortedSet) are now supported
Cedric Beustdce5bdf2011-08-03 11:04:58 -070030Fixed: defaults for commands were not properly applied (Stevo Slavic)
Cedric Beust2ee07bc2011-07-27 10:32:36 -070031Fixed: "-args=a=b,b=c" was not being parsed correctly (Michael Lancaster)
Cedric Beust4f4ea1f2011-07-14 11:17:16 -070032Fixed: GITHUB-73: descriptionKey was being ignored on main parameters
33
341.18
352011/07/20
36
Cedric Beustdb01fd22011-04-12 13:03:29 -070037Added: Default converter factories can be overridden (Scott Clasen)
Cedric Beust8877f662011-03-10 11:04:38 -080038Added: IParameterValidator
Cedric Beustc199c872011-07-07 13:34:54 -070039Added: Don't display "Options:" if none were defined
40Added: Enforce that the type of the main parameter is a List
41Added: usage() now displays the options for each command as well
Cedric Beustfe8a6962011-06-13 13:35:31 -070042Fixed: Default values with a validator were being validate at parse() time instead of creation time.
Cedric Beust8877f662011-03-10 11:04:38 -080043Fixed: Exception when using an @ file with empty lines between options
Cedric Beustc199c872011-07-07 13:34:54 -070044Fixed: OOM when parsing certain descriptions with long URL's in them
Cedric Beust279af562011-01-24 14:57:44 -080045
461.15
Cedric Beuste2d8da72011-01-24 14:01:29 -0800472011/01/24
48
Cedric Beustfce970e2010-12-23 12:25:49 -080049Added: Added a constructor that takes a Bundle only, https://github.com/cbeust/jcommander/pull/47 (Russell Egan)
Cedric Beuste2d8da72011-01-24 14:01:29 -080050Fixed: NPE with calling getCommandDescription() of an unknown command
Cedric Beust1f4e89c2010-12-23 12:33:45 -080051
521.13
532010/12/15
54
55Added: Boolean parameters with arity 0 (e.g. "foo -debug")
Cedric Beusta6e4abd2010-10-01 11:42:59 -070056Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing.
57
Cedric Beuste97a6422010-08-31 22:03:35 -0700581.7
Cedric Beust3a32b552010-09-06 07:26:09 -0700592010/09/06
Cedric Beuste97a6422010-08-31 22:03:35 -070060
Cedric Beust4c020da2010-08-31 22:23:52 -070061Added: Command usages are now shown in the order they were added to the JCommander object
Cedric Beust22b8a2f2010-09-06 07:17:37 -070062Fixed: JCommander now compatible with Java 5
Cedric Beuste97a6422010-08-31 22:03:35 -070063Fixed: Minor bug in the command display (Marc Ende)
64
Cedric Beust72cacba2010-08-15 17:23:00 -0700651.6
Cedric Beuste97a6422010-08-31 22:03:35 -0700662010/08/28
Cedric Beust6f6f4362010-07-29 17:18:24 -070067
Cedric Beustdda16512010-08-25 18:54:58 -070068Added: @Parameters(commandDescription = "command description")
Cedric Beust72cacba2010-08-15 17:23:00 -070069Added: now throwing an exception if required main parameters are not supplied
Cedric Beusta76d5b92010-08-16 21:48:14 -070070Fixed: usage() was changing default values after two runs (jstrachan)
Cedric Beust72cacba2010-08-15 17:23:00 -070071
721.5
732010/08/15
74
75Added: overloaded versions of usage() with StringBuilders
76Added: inheritance support (Guillaume Sauthier)
77Added: support for commands (e.g. "main add --author=cbeust Foo.java")
78Added: support for converters for main parameters (e.g. List<HostPort>).
Cedric Beust6f6f4362010-07-29 17:18:24 -070079
Cedric Beustc63fd222010-07-27 11:05:19 -0700801.4
Cedric Beust72cacba2010-08-15 17:23:00 -0700812010/07/28
Cedric Beustc63fd222010-07-27 11:05:19 -070082
Cedric Beustabcd2cb2010-08-15 17:23:30 -070083Added: string converter factories
84Added: IDefaultProvider
85Added: PropertyFileDefaultProvider
86Added: Usage is now showing required parameters and default value
87Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a")
88Added: @Parameters(optionPrefixes) to allow for different prefixes than "-"
Cedric Beustc63fd222010-07-27 11:05:19 -070089
Cedric Beust2a7a6d42010-07-20 22:37:47 -0700901.2
Cedric Beust72cacba2010-08-15 17:23:00 -0700912010/07/25
Cedric Beust2a7a6d42010-07-20 22:37:47 -070092
Cedric Beustb1056412010-07-20 23:11:25 -070093Usage is now aligned and alphabetically sorted
94Added the hidden attribute
Cedric Beustfe9b1e52010-07-23 15:18:22 -070095Added support for different separators than " " (e.g. "=").
96Deprecated @ResourceBundle, replaced with @Parameters
Cedric Beust2a7a6d42010-07-20 22:37:47 -070097
981.1
Cedric Beustfe9b1e52010-07-23 15:18:22 -0700992010/08/15
Cedric Beust2a7a6d42010-07-20 22:37:47 -0700100
101Better internationalization
102Password support
103Type converters
104