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