bump to 1.12
[trollop:mainline.git] / History.txt
1 == 1.12 / 2009-01-30
2 * Fix some unit test failures in the last release. Should be more careful.
3 * Make default short options only be assigned *after* all user-specified
4   short options. Now there's a little less juggling to do when you just
5   want to specify a few short options.
6
7 == 1.11 / 2009-01-29
8 * Set <opt>_given keys in the results hash for options that were specified
9   on the commandline.
10
11 == 1.10.2 / 2008-10-23
12 * No longer try `stty size` for screen size detection. Just use curses, and
13   screen users will have to deal with the screen clearing.
14
15 == 1.10.1 / 2008-10-22
16 * Options hash now responds to method calls as well as standard hash lookup.
17 * Default values for multi-occurrence parameters now autoboxed.
18 * The relationship between multi-value, multi-occurrence, and default values
19   improved and explained.
20 * Documentation improvements.
21
22 == 1.10 / 2008-10-21
23 * Added :io type for parameters that point to IO streams (filenames, URIs, etc).
24 * For screen size detection, first try `stty size` before loading Curses.
25 * Improved documentation.
26
27 == 1.9 / 2008-08-20
28 * Added 'stop_on_unknown' command to stop parsing on any unknown argument.
29   This is useful for handling sub-commands when you don't know the entire
30   set of commands up front. (E.g. if the initial arguments can change it.)
31 * Added a :multi option for parameters, signifying that they can be specified
32   multiple times.
33 * Added :ints, :strings, :doubles, and :floats option types, which can take
34   multiple arguments.
35
36 == 1.8.2 / 2008-06-25
37 * Bugfix for #conflicts and #depends error messages
38
39 == 1.8.1 / 2008-06-24
40 * Bugfix for short option autocreation
41 * More aggressive documentation
42
43 == 1.8 / 2008-06-16
44 * Sub-command support via Parser#stop_on
45
46 == 1.7.2 / 2008-01-16
47 * Ruby 1.9-ify. Apparently this means replacing :'s with ;'s.
48
49 == 1.7.1 / 2008-01-07
50 * Documentation improvements
51
52 == 1.7 / 2007-06-17
53 * Fix incorrect error message for multiple missing required arguments
54   (thanks to Neill Zero)
55
56 == 1.6 / 2007-04-01
57 * Don't attempt curses screen-width magic unless running on a terminal.
58
59 == 1.5 / 2007-03-31
60 * --help and --version do the right thing even if the rest of the
61   command line is incorrect.
62 * Added #conflicts and #depends to model dependencies and exclusivity
63   between arguments.
64 * Minor bugfixes.
65
66 == 1.4 / 2007-03-26
67 * Disable short options with :short => :none.
68 * Minor bugfixes and error message improvements.
69
70 == 1.3 / 2007-01-31
71 * Wrap at (screen width - 1) instead of screen width.
72 * User can override --help and --version.
73 * Bugfix in handling of -v and -h.
74 * More tests to confirm the above.
75
76 == 1.2 / 2007-01-31
77 * Minor documentation tweaks.
78 * Removed hoe dependency.
79
80 == 1.1 / 2007-01-30
81 * Trollop::options now passes any arguments as block arguments. Since
82   instance variables are not properly captured by the block, this
83   makes it slightly less noisy to pass them in as local variables.
84   (A real-life use for _why's cloaker!)
85 * Help display now preserves original argument order.
86 * Trollop::die now also has a single string form in case death is not
87   due to a single argument.
88 * Parser#text now an alias for Parser#banner, and can be called
89   multiple times, with the output being placed in the right position
90   in the help text.
91 * Slightly more indicative formatting for parameterized arguments.
92
93 == 1.0 / 2007-01-29
94 * Initial release.