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