Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eab3d04a 2
fe01c3e8 3 * Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
4
09bb2530 50.39 Fri 03 Feb 2012
e4886ef1 6 * Fix argument parsing in process_argv when used with ConfigFromFile so that
7a8392d6 7 -v can be used as expected, rather than being grabbed as --version
8
01fde86b 90.38 Fri 23 Dec 2011
449f0087 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
d91beb80 140.37 Wed 30 Mar 2011
192ae1aa 15 * Fix missing dependency. (RT#67077)
16
9d0505a2 170.36 Tue 29 Mar 2011
6caf9a1a 18 * Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
0611312e 19 * MooseX::Getopt::GLD
20 - change it to a MooseX::Role::Parameterized, so that it accepts
21 'getopt_conf' parameter (Damien Krotkine)
6caf9a1a 22
76b13789 230.35 Wed 09 Feb 2011
24 * Fix missed change from Test::Exception to Test::Fatal
25
260.34 Tue 08 Feb 2011
aabf4179 27 * The test suite now uses Test::Fatal instead of Test::Exception. (Karen
28 Etheridge)
76b13789 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)
aabf4179 32
e00e1cd6 330.33 Thu 26 Aug 2010
34 * Remove Test::Most from newly added test (RT#60766)
35
8ab8681c 360.32 Thu 26 Aug 2010
416dcb2e 37 * Fix handling of Union types (RT#58417)
38
ff05e3fc 390.31 Wed 7 Jul 2010
40 * Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
41
eab3d04a 420.30 Tue 6 Jul 2010
81b19ed8 43 * MooseX::Getopt::Basic
73038480 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
81b19ed8 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)
dfad990c 56
4a0ab663 57 * MooseX::Getopt::Basic
58 - Disable auto_help config in Getopt::Long, to avoid calling into
13f71373 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
81b19ed8 61 option) (RT#57683). (Karen Etheridge)
4a0ab663 62
2b4fef59 630.29 Tue. Jun 15 2010
64 * Fix repository metadata. Thanks Robert Bohne for noticing!
65
72a07e9d 660.28 Sat. Jun 05 2010
fff9a1f8 67 * MooseX::Getopt::Strict
68 - Make it work with Getopt attribute traits in addition to
69 attribute metaclasses.
70
72a07e9d 71 * Switch from Module::Install to Dist::Zilla.
72
fb873421 730.27 Sun. Feb 10 2010
2a7ee26b 74 * Makefile.PL:
fff9a1f8 75 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
76 avoid test failures.
2a7ee26b 77
ceeaabeb 78 * MooseX::Getopt::Dashes
fff9a1f8 79 - Document that using a cmd_flag argument to attributes can be used to
80 override the tr/_/-/ replacement ::Dashes does on attribute names
dfad990c 81
8b9e50c3 820.26 Thu. Dec 10 2009
4f214b88 83 * MooseX::Getopt::Basic
fff9a1f8 84 - Fix bug with attribute names containing upper case letters.
5c6054f9 85 * Test suite:
86 - Add t/106_no_ignore_case.t for testing the compatibility with
87 no_ignore_case
dfad990c 88
15460353 890.25 Thu. Nov 26 2009
2860acac 90 * MooseX::Getopt
91 - Split out the warnings and the exception from Getopt so that they can be
92 overridden.
07d7ec05 93 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
94 it can be overridden.
9b7f80a2 95 - Properly split roles as promised in 0.22.
dfad990c 96
6ac74298 970.24 Fri. Oct 23 2009
98 * MooseX::Getopt
99 - Fix bug with mixed case attribute names (MAROS)
dfad990c 100
5581bb1c 1010.23 Fri. Oct 02 2009
102 * MooseX::Getopt
18fa5e72 103 - Allow the config file to return a code ref which is called to return
5581bb1c 104 the config file location (Gordon Irving)
dfad990c 105
38b93252 1060.22 Sat. Sept 05 2009
107 - Require GLD 0.077 for RT#49427 as some versions are broken
dfad990c 108
30ed85f7 109 * MooseX::Getopt
110 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
111 and MooseX::Getopt::GLD.
dfad990c 112
b38b654a 113 * Tests
114 - Ensure author tests get run when in author mode.
dfad990c 115
a0697e31 1160.21 Thu. Aug 27 2009
f7655c45 117 * MooseX::Getopt
118 - Enable and document the argv parameter to the constructor.
c2f6e86c 119 - Applied patches in RT43200 and RT43255
2c379a5c 120 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
121 default config file name.
dfad990c 122
a2664368 1230.20 Wed. July 9 2009
fe193b81 124 - fix MANIFEST.SKIP to avoid double-packaging
dfad990c 125
7ff9f8b5 1260.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)
dfad990c 131
7ff9f8b5 132 * Tests
133 - Fix warning from tests with new Moose (t0m)
134 - Fix tests on Win32 from RT#44909 (taro-nishino)
dfad990c 135
5f78e881 1360.18 Thu. April 9 2009
c2f6e86c 137 * MooseX::Getopt::Dashes
138 - New module, for converting undercores to dashes (ilmari)
dfad990c 139
091954ec 1400.17 Wed. April 8 2009
e2dcd71d 141 * MooseX::Getopt
c2f6e86c 142 - work with latest Moose (hdp)
dfad990c 143
fe193b81 144 ~ unify module version numbers with dist version (hdp)
dfad990c 145
98efc899 1460.16 Tue. February 17 2009
fe193b81 147 * t/
148 - run pod tests only if RELEASE_TESTING env var is set
dfad990c 149
a1171b4d 1500.15 Sat. July 26 2008
fe193b81 151 * MooseX::Getopt::OptionTypeMap
152 - Accept type constraint objects in the type mapping, not just names
dfad990c 153
630657d5 1540.14 Thurs. July 10, 2008
fe193b81 155 * MooseX::Getopt::OptionTypeMap
156 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
9acde841 157
fe193b81 158 * MooseX::Getopt
159 - removed the default handling with Getopt::Long::Descriptive
9acde841 160 as it would override constructor parameters and that was
fe193b81 161 bad. Besides, Moose will just DWIM on this anyway. (stevan)
162 - added test for it (stevan)
dfad990c 163
630657d5 164 * t/
9acde841 165 - fixed Getopt::Long::Descriptive specific tests to only run
630657d5 166 if Getopt::Long::Descriptive is there (stevan)
dfad990c 167
cd9a4a41 1680.13 Saturday, May 24, 2008
78a71ae5 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)
9f1ec7c0 173 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 174 that role be added at the same level as Getopt.
2814de27 175 - fixed miscapitalization of NoGetopt in the docs
176 - added links to the traits in the docs
9acde841 177
178 ~ converted to Module::Install instead of
cd9a4a41 179 Module::Build
dfad990c 180
adbe3e57 1810.12 Fri. March 14, 2008
182 ~~ updated copyright dates ~~
dfad990c 183
adbe3e57 184 - upped the Moose dependency to support
185 the custom metaclass traits
78a71ae5 186 - added Getopt::Long::Descriptive as an
adbe3e57 187 optional dependency
dfad990c 188
adbe3e57 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
78a71ae5 194 - added support for custom metaclass traits
adbe3e57 195 - added tests for this
dfad990c 196
6c329add 1970.11 Sun. Jan. 27, 2008
198 * MooseX::Getopt
adbe3e57 199 - Commandline option shouldn't be required in the
200 case that the given "required" attribute has
201 a default or a builder method.
dfad990c 202
b4a79051 2030.10 Wed. Jan. 23, 2008
204 * MooseX::Getopt
adbe3e57 205 - Support default configfile attribute when
206 used with MooseX::ConfigFromFile-based roles
dfad990c 207
08ff0d65 2080.09 Tues. Jan. 22, 2008
209 * MooseX::Getopt
adbe3e57 210 - Use Getopt::Long::Descriptive if it's available
dfad990c 211
384fb15d 2120.08 Tues. Dec. 8, 2007
ee69c4ba 213 * MooseX::Getopt
214 - Added support for configfile loading via
215 MooseX::ConfigFromFile-based roles with
216 the -configfile commandline option.
dfad990c 217
29e4cc39 2180.07 Tues. Dec. 4, 2007
78a71ae5 219 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 220 - fixed miscapitalization of NoGetopt in the docs
dfad990c 221
f969917f 2220.06 Fri. Nov. 23, 2007
26be7f7e 223 * MooseX::Getopt
78a71ae5 224 - refactored &new_with_option some so that
225 this will work better with other Getopt
26be7f7e 226 modules (nuffin)
dfad990c 227
0f8232b6 228 + MooseX::Getopt::Strict
78a71ae5 229 - version of MooseX::Getopt which requires
230 you to specify which attributes you want
0f8232b6 231 processed explicity
232 - added tests for this
dfad990c 233
0f8232b6 234 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 235 - a custom meta-attribute which can be
236 used to specify that an attribute should
0f8232b6 237 not be processed
238 - added tests for this
dfad990c 239
db536e20 2400.05 Tues. July 3, 2007
2482085f 241 * MooseX::Getopt::OptionTypeMap
78a71ae5 242 - added some checks to make sure that the type
243 constraints are found properly and to give
db536e20 244 better diagnostics
dfad990c 245
1566a17b 2460.04 Tues. June 26, 2007
f63e6310 247 * MooseX::Getopt::OptionTypeMap
248 - Added support for subtype constraint inference
78a71ae5 249 from parent types
f63e6310 250 - added tests and docs for this
251 * MooseX::Getopt
252 - Added extra_argv attribute
253 - added tests and docs for this
f7695a83 254 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 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
dfad990c 259
3d9a716d 2600.03 Wed. May 2nd, 2007
261 ~ downgraded the Getopt version requirement
e2911e34 262 to 2.35 as per RT #26844
3d9a716d 263 ~ adding blblack to the authors list
dfad990c 264
78a71ae5 265 * MooseX::Getopt
266 - doc update to show simple way to of excluding
267 an attribute, but not having accessors with
3d9a716d 268 underscores (thanks to Zaba on #moose for this)
269 * MooseX::Getopt::Meta::Attribute
78a71ae5 270 - tightening up the type constraint in the
3d9a716d 271 cmd_alias coercion to only accept strings
dfad990c 272
1c3e6142 2730.02 Friday, April 6, 2007
1a8b4ed1 274 * MooseX::Getopt
275 - added the ARGV attribute (thanks to blblack)
276 - added tests and docs for this
dfad990c 277
1a8b4ed1 278 * MooseX::Getopt::Meta::Attribute
279 - added the cmd_aliases attribute (thanks to blblack)
280 - added tests and docs for this
78a71ae5 281 - added support for Moose 0.19's custom
1a8b4ed1 282 attribute metaclass alias registry.
283 - added tests and docs for this
dfad990c 284
d8a58354 2850.01 Friday, March 9, 2007
f63e6310 286 - module released to CPAN