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