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