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