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