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