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