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