blob: 4a985d818b2067a80025a84a47b61402c96884ef [file] [log] [blame]
Cedric Beusta6e4abd2010-10-01 11:42:59 -07001Current
2
Cedric Beust4f4ea1f2011-07-14 11:17:16 -07003Current
4
Cedric Beust8a3f5622011-07-15 10:55:52 -07005Added: commandDescriptionKey to @Parameters, to allow internationalized command descriptions
Cedric Beust876c9772011-08-17 11:09:57 -07006Fixed: Fields of type Set (HashSet and SortedSet) are now supported
Cedric Beustdce5bdf2011-08-03 11:04:58 -07007Fixed: defaults for commands were not properly applied (Stevo Slavic)
Cedric Beust2ee07bc2011-07-27 10:32:36 -07008Fixed: "-args=a=b,b=c" was not being parsed correctly (Michael Lancaster)
Cedric Beust4f4ea1f2011-07-14 11:17:16 -07009Fixed: GITHUB-73: descriptionKey was being ignored on main parameters
10
111.18
122011/07/20
13
Cedric Beustdb01fd22011-04-12 13:03:29 -070014Added: Default converter factories can be overridden (Scott Clasen)
Cedric Beust8877f662011-03-10 11:04:38 -080015Added: IParameterValidator
Cedric Beustc199c872011-07-07 13:34:54 -070016Added: Don't display "Options:" if none were defined
17Added: Enforce that the type of the main parameter is a List
18Added: usage() now displays the options for each command as well
Cedric Beustfe8a6962011-06-13 13:35:31 -070019Fixed: Default values with a validator were being validate at parse() time instead of creation time.
Cedric Beust8877f662011-03-10 11:04:38 -080020Fixed: Exception when using an @ file with empty lines between options
Cedric Beustc199c872011-07-07 13:34:54 -070021Fixed: OOM when parsing certain descriptions with long URL's in them
Cedric Beust279af562011-01-24 14:57:44 -080022
231.15
Cedric Beuste2d8da72011-01-24 14:01:29 -0800242011/01/24
25
Cedric Beustfce970e2010-12-23 12:25:49 -080026Added: Added a constructor that takes a Bundle only, https://github.com/cbeust/jcommander/pull/47 (Russell Egan)
Cedric Beuste2d8da72011-01-24 14:01:29 -080027Fixed: NPE with calling getCommandDescription() of an unknown command
Cedric Beust1f4e89c2010-12-23 12:33:45 -080028
291.13
302010/12/15
31
32Added: Boolean parameters with arity 0 (e.g. "foo -debug")
Cedric Beusta6e4abd2010-10-01 11:42:59 -070033Fixed: JCommander would sometimes just print a stack trace and continue, now rethrowing.
34
Cedric Beuste97a6422010-08-31 22:03:35 -0700351.7
Cedric Beust3a32b552010-09-06 07:26:09 -0700362010/09/06
Cedric Beuste97a6422010-08-31 22:03:35 -070037
Cedric Beust4c020da2010-08-31 22:23:52 -070038Added: Command usages are now shown in the order they were added to the JCommander object
Cedric Beust22b8a2f2010-09-06 07:17:37 -070039Fixed: JCommander now compatible with Java 5
Cedric Beuste97a6422010-08-31 22:03:35 -070040Fixed: Minor bug in the command display (Marc Ende)
41
Cedric Beust72cacba2010-08-15 17:23:00 -0700421.6
Cedric Beuste97a6422010-08-31 22:03:35 -0700432010/08/28
Cedric Beust6f6f4362010-07-29 17:18:24 -070044
Cedric Beustdda16512010-08-25 18:54:58 -070045Added: @Parameters(commandDescription = "command description")
Cedric Beust72cacba2010-08-15 17:23:00 -070046Added: now throwing an exception if required main parameters are not supplied
Cedric Beusta76d5b92010-08-16 21:48:14 -070047Fixed: usage() was changing default values after two runs (jstrachan)
Cedric Beust72cacba2010-08-15 17:23:00 -070048
491.5
502010/08/15
51
52Added: overloaded versions of usage() with StringBuilders
53Added: inheritance support (Guillaume Sauthier)
54Added: support for commands (e.g. "main add --author=cbeust Foo.java")
55Added: support for converters for main parameters (e.g. List<HostPort>).
Cedric Beust6f6f4362010-07-29 17:18:24 -070056
Cedric Beustc63fd222010-07-27 11:05:19 -0700571.4
Cedric Beust72cacba2010-08-15 17:23:00 -0700582010/07/28
Cedric Beustc63fd222010-07-27 11:05:19 -070059
Cedric Beustabcd2cb2010-08-15 17:23:30 -070060Added: string converter factories
61Added: IDefaultProvider
62Added: PropertyFileDefaultProvider
63Added: Usage is now showing required parameters and default value
64Added: Support for values that look like parameters ("-integer -3", "/file /tmp/a")
65Added: @Parameters(optionPrefixes) to allow for different prefixes than "-"
Cedric Beustc63fd222010-07-27 11:05:19 -070066
Cedric Beust2a7a6d42010-07-20 22:37:47 -0700671.2
Cedric Beust72cacba2010-08-15 17:23:00 -0700682010/07/25
Cedric Beust2a7a6d42010-07-20 22:37:47 -070069
Cedric Beustb1056412010-07-20 23:11:25 -070070Usage is now aligned and alphabetically sorted
71Added the hidden attribute
Cedric Beustfe9b1e52010-07-23 15:18:22 -070072Added support for different separators than " " (e.g. "=").
73Deprecated @ResourceBundle, replaced with @Parameters
Cedric Beust2a7a6d42010-07-20 22:37:47 -070074
751.1
Cedric Beustfe9b1e52010-07-23 15:18:22 -0700762010/08/15
Cedric Beust2a7a6d42010-07-20 22:37:47 -070077
78Better internationalization
79Password support
80Type converters
81