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