if configfile is a coderef call it and write some tests for it
[gitmo/MooseX-Getopt.git] / ChangeLog
1 Revision history for Perl extension MooseX-Getopt
2
3 0.21 Thu. Aug 27 2009
4   * MooseX::Getopt
5     - Enable and document the argv parameter to the constructor.
6     - Applied patches in RT43200 and RT43255
7     - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
8       default config file name.
9
10 0.20 Wed. July 9 2009
11         - fix MANIFEST.SKIP to avoid double-packaging
12
13 0.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)
22
23 0.18 Thu. April 9 2009
24   * MooseX::Getopt::Dashes
25     - New module, for converting undercores to dashes (ilmari)
26
27 0.17 Wed. April 8 2009
28   * MooseX::Getopt
29     - work with latest Moose (hdp)
30
31         ~ unify module version numbers with dist version (hdp)
32
33 0.16 Tue. February 17 2009
34         * t/
35                 - run pod tests only if RELEASE_TESTING env var is set
36
37 0.15 Sat. July 26 2008
38         * MooseX::Getopt::OptionTypeMap
39           - Accept type constraint objects in the type mapping, not just names
40
41 0.14 Thurs. July 10, 2008
42         * MooseX::Getopt::OptionTypeMap
43           - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
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)
54
55 0.13 Saturday, May 24, 2008
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)
60       - Support for MooseX::ConfigFromFile shouldn't require
61         that role be added at the same level as Getopt.
62       - fixed miscapitalization of NoGetopt in the docs
63       - added links to the traits in the docs
64       
65     ~ converted to Module::Install instead of 
66       Module::Build
67
68 0.12 Fri. March 14, 2008
69     ~~ updated copyright dates ~~
70
71     - upped the Moose dependency to support
72       the custom metaclass traits
73     - added Getopt::Long::Descriptive as an
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
81       - added support for custom metaclass traits
82         - added tests for this
83
84 0.11 Sun. Jan. 27, 2008
85     * MooseX::Getopt
86       - Commandline option shouldn't be required in the
87         case that the given "required" attribute has
88         a default or a builder method.
89
90 0.10 Wed. Jan. 23, 2008
91     * MooseX::Getopt
92       - Support default configfile attribute when
93         used with MooseX::ConfigFromFile-based roles
94
95 0.09 Tues. Jan. 22, 2008
96     * MooseX::Getopt
97       - Use Getopt::Long::Descriptive if it's available
98
99 0.08 Tues. Dec. 8, 2007
100     * MooseX::Getopt
101       - Added support for configfile loading via
102         MooseX::ConfigFromFile-based roles with
103         the -configfile commandline option.
104
105 0.07 Tues. Dec. 4, 2007
106     * MooseX::Getopt::Meta::Attribute::NoGetopt
107       - fixed miscapitalization of NoGetopt in the docs
108
109 0.06 Fri. Nov. 23, 2007
110     * MooseX::Getopt
111       - refactored &new_with_option some so that
112         this will work better with other Getopt
113         modules (nuffin)
114
115     + MooseX::Getopt::Strict
116       - version of MooseX::Getopt which requires
117         you to specify which attributes you want
118         processed explicity
119         - added tests for this
120
121     + MooseX::Getopt::Meta::Attribute::NoGetopt
122       - a custom meta-attribute which can be
123         used to specify that an attribute should
124         not be processed
125         - added tests for this
126
127 0.05 Tues. July 3, 2007
128     * MooseX::Getopt::OptionTypeMap
129       - added some checks to make sure that the type
130         constraints are found properly and to give
131         better diagnostics
132
133 0.04 Tues. June 26, 2007
134     * MooseX::Getopt::OptionTypeMap
135       - Added support for subtype constraint inference
136         from parent types
137         - added tests and docs for this
138     * MooseX::Getopt
139       - Added extra_argv attribute
140         - added tests and docs for this
141       - We now unmangle the Getopt::Long-mangled @ARGV
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
147 0.03 Wed. May 2nd, 2007
148     ~ downgraded the Getopt version requirement
149       to 2.35 as per RT #26844
150     ~ adding blblack to the authors list
151
152     * MooseX::Getopt
153       - doc update to show simple way to of excluding
154         an attribute, but not having accessors with
155         underscores (thanks to Zaba on #moose for this)
156     * MooseX::Getopt::Meta::Attribute
157       - tightening up the type constraint in the
158         cmd_alias coercion to only accept strings
159
160 0.02 Friday, April 6, 2007
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
168       - added support for Moose 0.19's custom
169         attribute metaclass alias registry.
170         - added tests and docs for this
171
172 0.01 Friday, March 9, 2007
173     - module released to CPAN