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