Implements feature suggestion RT#58715 by storing the Usage object, fixes
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eeb8a419 2 * MooseX::Getopt::Basic
3 - store the usage object to the usage attr (RT#58715)
4 - properly checks whether the *option* --help, --usage, or --? were used,
5 rather than the attribute 'help', 'usage' or '?' were set
6 * MooseX::Getopt::GLD
7 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
8 object, and the help attribute for storing --help, --usage and --? state
9 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
f76555d4 10
110.30 Tue 6 Jul 2010
81b19ed8 12 * MooseX::Getopt::Basic
73038480 13 - uses attribute insertion order when determining the order in which
14 options are documented in the usage (e.g. in $obj->usage->text). (Karen
15 Etheridge)
16
10bda8b8 170.31 Wed 7 Jul 2010
18 * Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
19
200.30 Tue 6 Jul 2010
73038480 21 * MooseX::Getopt::Basic
81b19ed8 22 - store the usage object to the usage attr (RT#58715)
23 - properly checks whether the *option* --help, --usage, or --? were used,
24 rather than the attribute 'help', 'usage' or '?' were set
25 * MooseX::Getopt::GLD
26 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
27 object, and the help attribute for storing --help, --usage and --? state
28 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
dfad990c 29
4a0ab663 30 * MooseX::Getopt::Basic
31 - Disable auto_help config in Getopt::Long, to avoid calling into
13f71373 32 pod2usage when the --help option is used while MooseX::ConfigFromFile
33 is in use (the intent is just to fetch the value of the configfile
81b19ed8 34 option) (RT#57683). (Karen Etheridge)
4a0ab663 35
2b4fef59 360.29 Tue. Jun 15 2010
37 * Fix repository metadata. Thanks Robert Bohne for noticing!
38
72a07e9d 390.28 Sat. Jun 05 2010
fff9a1f8 40 * MooseX::Getopt::Strict
41 - Make it work with Getopt attribute traits in addition to
42 attribute metaclasses.
43
72a07e9d 44 * Switch from Module::Install to Dist::Zilla.
45
fb873421 460.27 Sun. Feb 10 2010
2a7ee26b 47 * Makefile.PL:
fff9a1f8 48 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
49 avoid test failures.
2a7ee26b 50
ceeaabeb 51 * MooseX::Getopt::Dashes
fff9a1f8 52 - Document that using a cmd_flag argument to attributes can be used to
53 override the tr/_/-/ replacement ::Dashes does on attribute names
dfad990c 54
8b9e50c3 550.26 Thu. Dec 10 2009
4f214b88 56 * MooseX::Getopt::Basic
fff9a1f8 57 - Fix bug with attribute names containing upper case letters.
5c6054f9 58 * Test suite:
59 - Add t/106_no_ignore_case.t for testing the compatibility with
60 no_ignore_case
dfad990c 61
15460353 620.25 Thu. Nov 26 2009
2860acac 63 * MooseX::Getopt
64 - Split out the warnings and the exception from Getopt so that they can be
65 overridden.
07d7ec05 66 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
67 it can be overridden.
9b7f80a2 68 - Properly split roles as promised in 0.22.
dfad990c 69
6ac74298 700.24 Fri. Oct 23 2009
71 * MooseX::Getopt
72 - Fix bug with mixed case attribute names (MAROS)
dfad990c 73
5581bb1c 740.23 Fri. Oct 02 2009
75 * MooseX::Getopt
18fa5e72 76 - Allow the config file to return a code ref which is called to return
5581bb1c 77 the config file location (Gordon Irving)
dfad990c 78
38b93252 790.22 Sat. Sept 05 2009
80 - Require GLD 0.077 for RT#49427 as some versions are broken
dfad990c 81
30ed85f7 82 * MooseX::Getopt
83 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
84 and MooseX::Getopt::GLD.
dfad990c 85
b38b654a 86 * Tests
87 - Ensure author tests get run when in author mode.
dfad990c 88
a0697e31 890.21 Thu. Aug 27 2009
f7655c45 90 * MooseX::Getopt
91 - Enable and document the argv parameter to the constructor.
c2f6e86c 92 - Applied patches in RT43200 and RT43255
2c379a5c 93 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
94 default config file name.
dfad990c 95
a2664368 960.20 Wed. July 9 2009
fe193b81 97 - fix MANIFEST.SKIP to avoid double-packaging
dfad990c 98
7ff9f8b5 990.19 Wed. July 8 2009
100 * MooseX::Getopt
101 - Fix Getopt config spec for --configfile (t0m)
102 - Add support for --usage/--help/--? (drew@drewtaylor.com)
103 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
dfad990c 104
7ff9f8b5 105 * Tests
106 - Fix warning from tests with new Moose (t0m)
107 - Fix tests on Win32 from RT#44909 (taro-nishino)
dfad990c 108
5f78e881 1090.18 Thu. April 9 2009
c2f6e86c 110 * MooseX::Getopt::Dashes
111 - New module, for converting undercores to dashes (ilmari)
dfad990c 112
091954ec 1130.17 Wed. April 8 2009
e2dcd71d 114 * MooseX::Getopt
c2f6e86c 115 - work with latest Moose (hdp)
dfad990c 116
fe193b81 117 ~ unify module version numbers with dist version (hdp)
dfad990c 118
98efc899 1190.16 Tue. February 17 2009
fe193b81 120 * t/
121 - run pod tests only if RELEASE_TESTING env var is set
dfad990c 122
a1171b4d 1230.15 Sat. July 26 2008
fe193b81 124 * MooseX::Getopt::OptionTypeMap
125 - Accept type constraint objects in the type mapping, not just names
dfad990c 126
630657d5 1270.14 Thurs. July 10, 2008
fe193b81 128 * MooseX::Getopt::OptionTypeMap
129 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
9acde841 130
fe193b81 131 * MooseX::Getopt
132 - removed the default handling with Getopt::Long::Descriptive
9acde841 133 as it would override constructor parameters and that was
fe193b81 134 bad. Besides, Moose will just DWIM on this anyway. (stevan)
135 - added test for it (stevan)
dfad990c 136
630657d5 137 * t/
9acde841 138 - fixed Getopt::Long::Descriptive specific tests to only run
630657d5 139 if Getopt::Long::Descriptive is there (stevan)
dfad990c 140
cd9a4a41 1410.13 Saturday, May 24, 2008
78a71ae5 142 * MooseX::Getopt
143 - Commandline option shouldn't be required in the
144 case that the given "required" attribute has
145 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 146 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 147 that role be added at the same level as Getopt.
2814de27 148 - fixed miscapitalization of NoGetopt in the docs
149 - added links to the traits in the docs
9acde841 150
151 ~ converted to Module::Install instead of
cd9a4a41 152 Module::Build
dfad990c 153
adbe3e57 1540.12 Fri. March 14, 2008
155 ~~ updated copyright dates ~~
dfad990c 156
adbe3e57 157 - upped the Moose dependency to support
158 the custom metaclass traits
78a71ae5 159 - added Getopt::Long::Descriptive as an
adbe3e57 160 optional dependency
dfad990c 161
adbe3e57 162 * MooseX::Getopt
163 MooseX::Getopt::Meta::Attribute
164 MooseX::Getopt::Meta::Attribute::Trait
165 MooseX::Getopt::Meta::Attribute::NoGetopt
166 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 167 - added support for custom metaclass traits
adbe3e57 168 - added tests for this
dfad990c 169
6c329add 1700.11 Sun. Jan. 27, 2008
171 * MooseX::Getopt
adbe3e57 172 - Commandline option shouldn't be required in the
173 case that the given "required" attribute has
174 a default or a builder method.
dfad990c 175
b4a79051 1760.10 Wed. Jan. 23, 2008
177 * MooseX::Getopt
adbe3e57 178 - Support default configfile attribute when
179 used with MooseX::ConfigFromFile-based roles
dfad990c 180
08ff0d65 1810.09 Tues. Jan. 22, 2008
182 * MooseX::Getopt
adbe3e57 183 - Use Getopt::Long::Descriptive if it's available
dfad990c 184
384fb15d 1850.08 Tues. Dec. 8, 2007
ee69c4ba 186 * MooseX::Getopt
187 - Added support for configfile loading via
188 MooseX::ConfigFromFile-based roles with
189 the -configfile commandline option.
dfad990c 190
29e4cc39 1910.07 Tues. Dec. 4, 2007
78a71ae5 192 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 193 - fixed miscapitalization of NoGetopt in the docs
dfad990c 194
f969917f 1950.06 Fri. Nov. 23, 2007
26be7f7e 196 * MooseX::Getopt
78a71ae5 197 - refactored &new_with_option some so that
198 this will work better with other Getopt
26be7f7e 199 modules (nuffin)
dfad990c 200
0f8232b6 201 + MooseX::Getopt::Strict
78a71ae5 202 - version of MooseX::Getopt which requires
203 you to specify which attributes you want
0f8232b6 204 processed explicity
205 - added tests for this
dfad990c 206
0f8232b6 207 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 208 - a custom meta-attribute which can be
209 used to specify that an attribute should
0f8232b6 210 not be processed
211 - added tests for this
dfad990c 212
db536e20 2130.05 Tues. July 3, 2007
2482085f 214 * MooseX::Getopt::OptionTypeMap
78a71ae5 215 - added some checks to make sure that the type
216 constraints are found properly and to give
db536e20 217 better diagnostics
dfad990c 218
1566a17b 2190.04 Tues. June 26, 2007
f63e6310 220 * MooseX::Getopt::OptionTypeMap
221 - Added support for subtype constraint inference
78a71ae5 222 from parent types
f63e6310 223 - added tests and docs for this
224 * MooseX::Getopt
225 - Added extra_argv attribute
226 - added tests and docs for this
f7695a83 227 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 228 - added tests and docs for this
229 - We now throw an exception from new_with_options
230 if Getopt fails due to bad arguments.
231 - added tests and docs for this
dfad990c 232
3d9a716d 2330.03 Wed. May 2nd, 2007
234 ~ downgraded the Getopt version requirement
e2911e34 235 to 2.35 as per RT #26844
3d9a716d 236 ~ adding blblack to the authors list
dfad990c 237
78a71ae5 238 * MooseX::Getopt
239 - doc update to show simple way to of excluding
240 an attribute, but not having accessors with
3d9a716d 241 underscores (thanks to Zaba on #moose for this)
242 * MooseX::Getopt::Meta::Attribute
78a71ae5 243 - tightening up the type constraint in the
3d9a716d 244 cmd_alias coercion to only accept strings
dfad990c 245
1c3e6142 2460.02 Friday, April 6, 2007
1a8b4ed1 247 * MooseX::Getopt
248 - added the ARGV attribute (thanks to blblack)
249 - added tests and docs for this
dfad990c 250
1a8b4ed1 251 * MooseX::Getopt::Meta::Attribute
252 - added the cmd_aliases attribute (thanks to blblack)
253 - added tests and docs for this
78a71ae5 254 - added support for Moose 0.19's custom
1a8b4ed1 255 attribute metaclass alias registry.
256 - added tests and docs for this
dfad990c 257
d8a58354 2580.01 Friday, March 9, 2007
f63e6310 259 - module released to CPAN