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