use insertion order to sort attributes when formulating arguments for Getopt::Long
[gitmo/MooseX-Getopt.git] / ChangeLog
1 Revision history for Perl extension MooseX-Getopt
2   * MooseX::Getopt::Basic
3     - uses attribute insertion order when determining the order in which
4       options are documented in the usage (e.g. in $obj->usage->text). (Karen
5       Etheridge)
6
7   * MooseX::Getopt::Basic
8     - store the usage object to the usage attr (RT#58715)
9     - properly checks whether the *option* --help, --usage, or --? were used,
10       rather than the attribute 'help', 'usage' or '?' were set
11   * MooseX::Getopt::GLD
12     - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
13       object, and the help attribute for storing --help, --usage and --? state
14   (RT#47865, RT#56783, RT#52474).  (Karen Etheridge)
15
16   * MooseX::Getopt::Basic
17     - Disable auto_help config in Getopt::Long, to avoid calling into
18     pod2usage when the --help option is used while MooseX::ConfigFromFile
19     is in use (the intent is just to fetch the value of the configfile
20     option) (RT#57683). (Karen Etheridge)
21
22 0.29 Tue. Jun 15 2010
23   * Fix repository metadata. Thanks Robert Bohne for noticing!
24
25 0.28 Sat. Jun 05 2010
26   * MooseX::Getopt::Strict
27     - Make it work with Getopt attribute traits in addition to
28       attribute metaclasses.
29
30   * Switch from Module::Install to Dist::Zilla.
31
32 0.27 Sun. Feb 10 2010
33   * Makefile.PL:
34     - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
35       avoid test failures.
36
37   * MooseX::Getopt::Dashes
38     - Document that using a cmd_flag argument to attributes can be used to
39       override the tr/_/-/ replacement ::Dashes does on attribute names
40
41 0.26 Thu. Dec 10 2009
42   * MooseX::Getopt::Basic
43     - Fix bug with attribute names containing upper case letters.
44   * Test suite:
45     - Add t/106_no_ignore_case.t for testing the compatibility with
46       no_ignore_case
47
48 0.25 Thu. Nov 26 2009
49   * MooseX::Getopt
50    - Split out the warnings and the exception from Getopt so that they can be
51      overridden.
52    - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
53      it can be overridden.
54    - Properly split roles as promised in 0.22.
55
56 0.24 Fri. Oct  23 2009
57   * MooseX::Getopt
58     - Fix bug with mixed case attribute names (MAROS)
59
60 0.23 Fri. Oct  02 2009
61   * MooseX::Getopt
62     - Allow the config file to return a code ref which is called to return
63       the config file location (Gordon Irving)
64
65 0.22 Sat. Sept 05 2009
66     - Require GLD 0.077 for RT#49427 as some versions are broken
67
68   * MooseX::Getopt
69     - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
70     and MooseX::Getopt::GLD.
71
72   * Tests
73      - Ensure author tests get run when in author mode.
74
75 0.21 Thu. Aug 27 2009
76   * MooseX::Getopt
77     - Enable and document the argv parameter to the constructor.
78     - Applied patches in RT43200 and RT43255
79     - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
80       default config file name.
81
82 0.20 Wed. July 9 2009
83     - fix MANIFEST.SKIP to avoid double-packaging
84
85 0.19 Wed. July 8 2009
86   * MooseX::Getopt
87     - Fix Getopt config spec for --configfile (t0m)
88     - Add support for --usage/--help/--? (drew@drewtaylor.com)
89     - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
90
91   * Tests
92     - Fix warning from tests with new Moose (t0m)
93     - Fix tests on Win32 from RT#44909 (taro-nishino)
94
95 0.18 Thu. April 9 2009
96   * MooseX::Getopt::Dashes
97     - New module, for converting undercores to dashes (ilmari)
98
99 0.17 Wed. April 8 2009
100   * MooseX::Getopt
101     - work with latest Moose (hdp)
102
103     ~ unify module version numbers with dist version (hdp)
104
105 0.16 Tue. February 17 2009
106     * t/
107         - run pod tests only if RELEASE_TESTING env var is set
108
109 0.15 Sat. July 26 2008
110     * MooseX::Getopt::OptionTypeMap
111       - Accept type constraint objects in the type mapping, not just names
112
113 0.14 Thurs. July 10, 2008
114     * MooseX::Getopt::OptionTypeMap
115       - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
116
117     * MooseX::Getopt
118       - removed the default handling with Getopt::Long::Descriptive
119         as it would override constructor parameters and that was
120         bad. Besides, Moose will just DWIM on this anyway. (stevan)
121         - added test for it (stevan)
122
123     * t/
124       - fixed Getopt::Long::Descriptive specific tests to only run
125         if Getopt::Long::Descriptive is there (stevan)
126
127 0.13 Saturday, May 24, 2008
128     * MooseX::Getopt
129       - Commandline option shouldn't be required in the
130         case that the given "required" attribute has
131         been loaded from config (MooseX::ConfigFromFile)
132       - Support for MooseX::ConfigFromFile shouldn't require
133         that role be added at the same level as Getopt.
134       - fixed miscapitalization of NoGetopt in the docs
135       - added links to the traits in the docs
136
137     ~ converted to Module::Install instead of
138       Module::Build
139
140 0.12 Fri. March 14, 2008
141     ~~ updated copyright dates ~~
142
143     - upped the Moose dependency to support
144       the custom metaclass traits
145     - added Getopt::Long::Descriptive as an
146       optional dependency
147
148     * MooseX::Getopt
149       MooseX::Getopt::Meta::Attribute
150       MooseX::Getopt::Meta::Attribute::Trait
151       MooseX::Getopt::Meta::Attribute::NoGetopt
152       MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
153       - added support for custom metaclass traits
154         - added tests for this
155
156 0.11 Sun. Jan. 27, 2008
157     * MooseX::Getopt
158       - Commandline option shouldn't be required in the
159         case that the given "required" attribute has
160         a default or a builder method.
161
162 0.10 Wed. Jan. 23, 2008
163     * MooseX::Getopt
164       - Support default configfile attribute when
165         used with MooseX::ConfigFromFile-based roles
166
167 0.09 Tues. Jan. 22, 2008
168     * MooseX::Getopt
169       - Use Getopt::Long::Descriptive if it's available
170
171 0.08 Tues. Dec. 8, 2007
172     * MooseX::Getopt
173       - Added support for configfile loading via
174         MooseX::ConfigFromFile-based roles with
175         the -configfile commandline option.
176
177 0.07 Tues. Dec. 4, 2007
178     * MooseX::Getopt::Meta::Attribute::NoGetopt
179       - fixed miscapitalization of NoGetopt in the docs
180
181 0.06 Fri. Nov. 23, 2007
182     * MooseX::Getopt
183       - refactored &new_with_option some so that
184         this will work better with other Getopt
185         modules (nuffin)
186
187     + MooseX::Getopt::Strict
188       - version of MooseX::Getopt which requires
189         you to specify which attributes you want
190         processed explicity
191         - added tests for this
192
193     + MooseX::Getopt::Meta::Attribute::NoGetopt
194       - a custom meta-attribute which can be
195         used to specify that an attribute should
196         not be processed
197         - added tests for this
198
199 0.05 Tues. July 3, 2007
200     * MooseX::Getopt::OptionTypeMap
201       - added some checks to make sure that the type
202         constraints are found properly and to give
203         better diagnostics
204
205 0.04 Tues. June 26, 2007
206     * MooseX::Getopt::OptionTypeMap
207       - Added support for subtype constraint inference
208         from parent types
209         - added tests and docs for this
210     * MooseX::Getopt
211       - Added extra_argv attribute
212         - added tests and docs for this
213       - We now unmangle the Getopt::Long-mangled @ARGV
214         - added tests and docs for this
215       - We now throw an exception from new_with_options
216         if Getopt fails due to bad arguments.
217         - added tests and docs for this
218
219 0.03 Wed. May 2nd, 2007
220     ~ downgraded the Getopt version requirement
221       to 2.35 as per RT #26844
222     ~ adding blblack to the authors list
223
224     * MooseX::Getopt
225       - doc update to show simple way to of excluding
226         an attribute, but not having accessors with
227         underscores (thanks to Zaba on #moose for this)
228     * MooseX::Getopt::Meta::Attribute
229       - tightening up the type constraint in the
230         cmd_alias coercion to only accept strings
231
232 0.02 Friday, April 6, 2007
233     * MooseX::Getopt
234       - added the ARGV attribute (thanks to blblack)
235         - added tests and docs for this
236
237     * MooseX::Getopt::Meta::Attribute
238       - added the cmd_aliases attribute (thanks to blblack)
239         - added tests and docs for this
240       - added support for Moose 0.19's custom
241         attribute metaclass alias registry.
242         - added tests and docs for this
243
244 0.01 Friday, March 9, 2007
245     - module released to CPAN