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