Add extra tests and changes for config_from file.
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
2
8b9e50c3 30.26 Thu. Dec 10 2009
4f214b88 4 * MooseX::Getopt::Basic
5 - Fix bug with attribute names containing upper case letters.
5c6054f9 6 * Test suite:
7 - Add t/106_no_ignore_case.t for testing the compatibility with
8 no_ignore_case
4f214b88 9
15460353 100.25 Thu. Nov 26 2009
2860acac 11 * MooseX::Getopt
12 - Split out the warnings and the exception from Getopt so that they can be
13 overridden.
07d7ec05 14 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
15 it can be overridden.
9b7f80a2 16 - Properly split roles as promised in 0.22.
2860acac 17
6ac74298 180.24 Fri. Oct 23 2009
19 * MooseX::Getopt
20 - Fix bug with mixed case attribute names (MAROS)
21
5581bb1c 220.23 Fri. Oct 02 2009
23 * MooseX::Getopt
18fa5e72 24 - Allow the config file to return a code ref which is called to return
5581bb1c 25 the config file location (Gordon Irving)
26
38b93252 270.22 Sat. Sept 05 2009
28 - Require GLD 0.077 for RT#49427 as some versions are broken
29
30ed85f7 30 * MooseX::Getopt
31 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
32 and MooseX::Getopt::GLD.
f7655c45 33
b38b654a 34 * Tests
35 - Ensure author tests get run when in author mode.
36
a0697e31 370.21 Thu. Aug 27 2009
f7655c45 38 * MooseX::Getopt
39 - Enable and document the argv parameter to the constructor.
c2f6e86c 40 - Applied patches in RT43200 and RT43255
2c379a5c 41 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
42 default config file name.
f7655c45 43
a2664368 440.20 Wed. July 9 2009
2c379a5c 45 - fix MANIFEST.SKIP to avoid double-packaging
a2664368 46
7ff9f8b5 470.19 Wed. July 8 2009
48 * MooseX::Getopt
49 - Fix Getopt config spec for --configfile (t0m)
50 - Add support for --usage/--help/--? (drew@drewtaylor.com)
51 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
52
53 * Tests
54 - Fix warning from tests with new Moose (t0m)
55 - Fix tests on Win32 from RT#44909 (taro-nishino)
6634c7e2 56
5f78e881 570.18 Thu. April 9 2009
c2f6e86c 58 * MooseX::Getopt::Dashes
59 - New module, for converting undercores to dashes (ilmari)
5f78e881 60
091954ec 610.17 Wed. April 8 2009
e2dcd71d 62 * MooseX::Getopt
c2f6e86c 63 - work with latest Moose (hdp)
e2dcd71d 64
091954ec 65 ~ unify module version numbers with dist version (hdp)
66
98efc899 670.16 Tue. February 17 2009
68 * t/
69 - run pod tests only if RELEASE_TESTING env var is set
70
a1171b4d 710.15 Sat. July 26 2008
72 * MooseX::Getopt::OptionTypeMap
73 - Accept type constraint objects in the type mapping, not just names
74
630657d5 750.14 Thurs. July 10, 2008
d64acebb 76 * MooseX::Getopt::OptionTypeMap
77 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
630657d5 78
79 * MooseX::Getopt
80 - removed the default handling with Getopt::Long::Descriptive
81 as it would override constructor parameters and that was
82 bad. Besides, Moose will just DWIM on this anyway. (stevan)
83 - added test for it (stevan)
84
85 * t/
86 - fixed Getopt::Long::Descriptive specific tests to only run
87 if Getopt::Long::Descriptive is there (stevan)
d64acebb 88
cd9a4a41 890.13 Saturday, May 24, 2008
78a71ae5 90 * MooseX::Getopt
91 - Commandline option shouldn't be required in the
92 case that the given "required" attribute has
93 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 94 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 95 that role be added at the same level as Getopt.
2814de27 96 - fixed miscapitalization of NoGetopt in the docs
97 - added links to the traits in the docs
cd9a4a41 98
99 ~ converted to Module::Install instead of
100 Module::Build
78a71ae5 101
adbe3e57 1020.12 Fri. March 14, 2008
103 ~~ updated copyright dates ~~
78a71ae5 104
adbe3e57 105 - upped the Moose dependency to support
106 the custom metaclass traits
78a71ae5 107 - added Getopt::Long::Descriptive as an
adbe3e57 108 optional dependency
109
110 * MooseX::Getopt
111 MooseX::Getopt::Meta::Attribute
112 MooseX::Getopt::Meta::Attribute::Trait
113 MooseX::Getopt::Meta::Attribute::NoGetopt
114 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 115 - added support for custom metaclass traits
adbe3e57 116 - added tests for this
117
6c329add 1180.11 Sun. Jan. 27, 2008
119 * MooseX::Getopt
adbe3e57 120 - Commandline option shouldn't be required in the
121 case that the given "required" attribute has
122 a default or a builder method.
6c329add 123
b4a79051 1240.10 Wed. Jan. 23, 2008
125 * MooseX::Getopt
adbe3e57 126 - Support default configfile attribute when
127 used with MooseX::ConfigFromFile-based roles
b4a79051 128
08ff0d65 1290.09 Tues. Jan. 22, 2008
130 * MooseX::Getopt
adbe3e57 131 - Use Getopt::Long::Descriptive if it's available
08ff0d65 132
384fb15d 1330.08 Tues. Dec. 8, 2007
ee69c4ba 134 * MooseX::Getopt
135 - Added support for configfile loading via
136 MooseX::ConfigFromFile-based roles with
137 the -configfile commandline option.
138
29e4cc39 1390.07 Tues. Dec. 4, 2007
78a71ae5 140 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 141 - fixed miscapitalization of NoGetopt in the docs
142
f969917f 1430.06 Fri. Nov. 23, 2007
26be7f7e 144 * MooseX::Getopt
78a71ae5 145 - refactored &new_with_option some so that
146 this will work better with other Getopt
26be7f7e 147 modules (nuffin)
78a71ae5 148
0f8232b6 149 + MooseX::Getopt::Strict
78a71ae5 150 - version of MooseX::Getopt which requires
151 you to specify which attributes you want
0f8232b6 152 processed explicity
153 - added tests for this
78a71ae5 154
0f8232b6 155 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 156 - a custom meta-attribute which can be
157 used to specify that an attribute should
0f8232b6 158 not be processed
159 - added tests for this
26be7f7e 160
db536e20 1610.05 Tues. July 3, 2007
2482085f 162 * MooseX::Getopt::OptionTypeMap
78a71ae5 163 - added some checks to make sure that the type
164 constraints are found properly and to give
db536e20 165 better diagnostics
2482085f 166
1566a17b 1670.04 Tues. June 26, 2007
f63e6310 168 * MooseX::Getopt::OptionTypeMap
169 - Added support for subtype constraint inference
78a71ae5 170 from parent types
f63e6310 171 - added tests and docs for this
172 * MooseX::Getopt
173 - Added extra_argv attribute
174 - added tests and docs for this
f7695a83 175 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 176 - added tests and docs for this
177 - We now throw an exception from new_with_options
178 if Getopt fails due to bad arguments.
179 - added tests and docs for this
180
3d9a716d 1810.03 Wed. May 2nd, 2007
182 ~ downgraded the Getopt version requirement
e2911e34 183 to 2.35 as per RT #26844
3d9a716d 184 ~ adding blblack to the authors list
78a71ae5 185
186 * MooseX::Getopt
187 - doc update to show simple way to of excluding
188 an attribute, but not having accessors with
3d9a716d 189 underscores (thanks to Zaba on #moose for this)
190 * MooseX::Getopt::Meta::Attribute
78a71ae5 191 - tightening up the type constraint in the
3d9a716d 192 cmd_alias coercion to only accept strings
e2911e34 193
1c3e6142 1940.02 Friday, April 6, 2007
1a8b4ed1 195 * MooseX::Getopt
196 - added the ARGV attribute (thanks to blblack)
197 - added tests and docs for this
198
199 * MooseX::Getopt::Meta::Attribute
200 - added the cmd_aliases attribute (thanks to blblack)
201 - added tests and docs for this
78a71ae5 202 - added support for Moose 0.19's custom
1a8b4ed1 203 attribute metaclass alias registry.
204 - added tests and docs for this
205
d8a58354 2060.01 Friday, March 9, 2007
f63e6310 207 - module released to CPAN