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