add some tests for configfile default => coderef
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
2
38b93252 30.22 Sat. Sept 05 2009
4 - Require GLD 0.077 for RT#49427 as some versions are broken
5
30ed85f7 6 * MooseX::Getopt
7 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
8 and MooseX::Getopt::GLD.
f7655c45 9
b38b654a 10 * Tests
11 - Ensure author tests get run when in author mode.
12
a0697e31 130.21 Thu. Aug 27 2009
f7655c45 14 * MooseX::Getopt
15 - Enable and document the argv parameter to the constructor.
c2f6e86c 16 - Applied patches in RT43200 and RT43255
2c379a5c 17 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
18 default config file name.
f7655c45 19
a2664368 200.20 Wed. July 9 2009
2c379a5c 21 - fix MANIFEST.SKIP to avoid double-packaging
a2664368 22
7ff9f8b5 230.19 Wed. July 8 2009
24 * MooseX::Getopt
25 - Fix Getopt config spec for --configfile (t0m)
26 - Add support for --usage/--help/--? (drew@drewtaylor.com)
27 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
28
29 * Tests
30 - Fix warning from tests with new Moose (t0m)
31 - Fix tests on Win32 from RT#44909 (taro-nishino)
6634c7e2 32
5f78e881 330.18 Thu. April 9 2009
c2f6e86c 34 * MooseX::Getopt::Dashes
35 - New module, for converting undercores to dashes (ilmari)
5f78e881 36
091954ec 370.17 Wed. April 8 2009
e2dcd71d 38 * MooseX::Getopt
c2f6e86c 39 - work with latest Moose (hdp)
e2dcd71d 40
091954ec 41 ~ unify module version numbers with dist version (hdp)
42
98efc899 430.16 Tue. February 17 2009
44 * t/
45 - run pod tests only if RELEASE_TESTING env var is set
46
a1171b4d 470.15 Sat. July 26 2008
48 * MooseX::Getopt::OptionTypeMap
49 - Accept type constraint objects in the type mapping, not just names
50
630657d5 510.14 Thurs. July 10, 2008
d64acebb 52 * MooseX::Getopt::OptionTypeMap
53 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
630657d5 54
55 * MooseX::Getopt
56 - removed the default handling with Getopt::Long::Descriptive
57 as it would override constructor parameters and that was
58 bad. Besides, Moose will just DWIM on this anyway. (stevan)
59 - added test for it (stevan)
60
61 * t/
62 - fixed Getopt::Long::Descriptive specific tests to only run
63 if Getopt::Long::Descriptive is there (stevan)
d64acebb 64
cd9a4a41 650.13 Saturday, May 24, 2008
78a71ae5 66 * MooseX::Getopt
67 - Commandline option shouldn't be required in the
68 case that the given "required" attribute has
69 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 70 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 71 that role be added at the same level as Getopt.
2814de27 72 - fixed miscapitalization of NoGetopt in the docs
73 - added links to the traits in the docs
cd9a4a41 74
75 ~ converted to Module::Install instead of
76 Module::Build
78a71ae5 77
adbe3e57 780.12 Fri. March 14, 2008
79 ~~ updated copyright dates ~~
78a71ae5 80
adbe3e57 81 - upped the Moose dependency to support
82 the custom metaclass traits
78a71ae5 83 - added Getopt::Long::Descriptive as an
adbe3e57 84 optional dependency
85
86 * MooseX::Getopt
87 MooseX::Getopt::Meta::Attribute
88 MooseX::Getopt::Meta::Attribute::Trait
89 MooseX::Getopt::Meta::Attribute::NoGetopt
90 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 91 - added support for custom metaclass traits
adbe3e57 92 - added tests for this
93
6c329add 940.11 Sun. Jan. 27, 2008
95 * MooseX::Getopt
adbe3e57 96 - Commandline option shouldn't be required in the
97 case that the given "required" attribute has
98 a default or a builder method.
6c329add 99
b4a79051 1000.10 Wed. Jan. 23, 2008
101 * MooseX::Getopt
adbe3e57 102 - Support default configfile attribute when
103 used with MooseX::ConfigFromFile-based roles
b4a79051 104
08ff0d65 1050.09 Tues. Jan. 22, 2008
106 * MooseX::Getopt
adbe3e57 107 - Use Getopt::Long::Descriptive if it's available
08ff0d65 108
384fb15d 1090.08 Tues. Dec. 8, 2007
ee69c4ba 110 * MooseX::Getopt
111 - Added support for configfile loading via
112 MooseX::ConfigFromFile-based roles with
113 the -configfile commandline option.
114
29e4cc39 1150.07 Tues. Dec. 4, 2007
78a71ae5 116 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 117 - fixed miscapitalization of NoGetopt in the docs
118
f969917f 1190.06 Fri. Nov. 23, 2007
26be7f7e 120 * MooseX::Getopt
78a71ae5 121 - refactored &new_with_option some so that
122 this will work better with other Getopt
26be7f7e 123 modules (nuffin)
78a71ae5 124
0f8232b6 125 + MooseX::Getopt::Strict
78a71ae5 126 - version of MooseX::Getopt which requires
127 you to specify which attributes you want
0f8232b6 128 processed explicity
129 - added tests for this
78a71ae5 130
0f8232b6 131 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 132 - a custom meta-attribute which can be
133 used to specify that an attribute should
0f8232b6 134 not be processed
135 - added tests for this
26be7f7e 136
db536e20 1370.05 Tues. July 3, 2007
2482085f 138 * MooseX::Getopt::OptionTypeMap
78a71ae5 139 - added some checks to make sure that the type
140 constraints are found properly and to give
db536e20 141 better diagnostics
2482085f 142
1566a17b 1430.04 Tues. June 26, 2007
f63e6310 144 * MooseX::Getopt::OptionTypeMap
145 - Added support for subtype constraint inference
78a71ae5 146 from parent types
f63e6310 147 - added tests and docs for this
148 * MooseX::Getopt
149 - Added extra_argv attribute
150 - added tests and docs for this
f7695a83 151 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 152 - added tests and docs for this
153 - We now throw an exception from new_with_options
154 if Getopt fails due to bad arguments.
155 - added tests and docs for this
156
3d9a716d 1570.03 Wed. May 2nd, 2007
158 ~ downgraded the Getopt version requirement
e2911e34 159 to 2.35 as per RT #26844
3d9a716d 160 ~ adding blblack to the authors list
78a71ae5 161
162 * MooseX::Getopt
163 - doc update to show simple way to of excluding
164 an attribute, but not having accessors with
3d9a716d 165 underscores (thanks to Zaba on #moose for this)
166 * MooseX::Getopt::Meta::Attribute
78a71ae5 167 - tightening up the type constraint in the
3d9a716d 168 cmd_alias coercion to only accept strings
e2911e34 169
1c3e6142 1700.02 Friday, April 6, 2007
1a8b4ed1 171 * MooseX::Getopt
172 - added the ARGV attribute (thanks to blblack)
173 - added tests and docs for this
174
175 * MooseX::Getopt::Meta::Attribute
176 - added the cmd_aliases attribute (thanks to blblack)
177 - added tests and docs for this
78a71ae5 178 - added support for Moose 0.19's custom
1a8b4ed1 179 attribute metaclass alias registry.
180 - added tests and docs for this
181
d8a58354 1820.01 Friday, March 9, 2007
f63e6310 183 - module released to CPAN