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