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