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