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