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