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