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