Version 0.32
[gitmo/MooseX-Getopt.git] / ChangeLog
1 Revision history for Perl extension MooseX-Getopt
2
3 0.32 Thu 26 Aug 2010
4   * Fix handling of Union types (RT#58417)
5
6 0.31 Wed 7 Jul 2010
7   * Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
8
9 0.30 Tue 6 Jul 2010
10   * MooseX::Getopt::Basic
11     - uses attribute insertion order when determining the order in which
12       options are documented in the usage (e.g. in $obj->usage->text). (Karen
13       Etheridge)
14
15   * MooseX::Getopt::Basic
16     - store the usage object to the usage attr (RT#58715)
17     - properly checks whether the *option* --help, --usage, or --? were used,
18       rather than the attribute 'help', 'usage' or '?' were set
19   * MooseX::Getopt::GLD
20     - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
21       object, and the help attribute for storing --help, --usage and --? state
22   (RT#47865, RT#56783, RT#52474).  (Karen Etheridge)
23
24   * MooseX::Getopt::Basic
25     - Disable auto_help config in Getopt::Long, to avoid calling into
26     pod2usage when the --help option is used while MooseX::ConfigFromFile
27     is in use (the intent is just to fetch the value of the configfile
28     option) (RT#57683). (Karen Etheridge)
29
30 0.29 Tue. Jun 15 2010
31   * Fix repository metadata. Thanks Robert Bohne for noticing!
32
33 0.28 Sat. Jun 05 2010
34   * MooseX::Getopt::Strict
35     - Make it work with Getopt attribute traits in addition to
36       attribute metaclasses.
37
38   * Switch from Module::Install to Dist::Zilla.
39
40 0.27 Sun. Feb 10 2010
41   * Makefile.PL:
42     - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
43       avoid test failures.
44
45   * MooseX::Getopt::Dashes
46     - Document that using a cmd_flag argument to attributes can be used to
47       override the tr/_/-/ replacement ::Dashes does on attribute names
48
49 0.26 Thu. Dec 10 2009
50   * MooseX::Getopt::Basic
51     - Fix bug with attribute names containing upper case letters.
52   * Test suite:
53     - Add t/106_no_ignore_case.t for testing the compatibility with
54       no_ignore_case
55
56 0.25 Thu. Nov 26 2009
57   * MooseX::Getopt
58    - Split out the warnings and the exception from Getopt so that they can be
59      overridden.
60    - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
61      it can be overridden.
62    - Properly split roles as promised in 0.22.
63
64 0.24 Fri. Oct  23 2009
65   * MooseX::Getopt
66     - Fix bug with mixed case attribute names (MAROS)
67
68 0.23 Fri. Oct  02 2009
69   * MooseX::Getopt
70     - Allow the config file to return a code ref which is called to return
71       the config file location (Gordon Irving)
72
73 0.22 Sat. Sept 05 2009
74     - Require GLD 0.077 for RT#49427 as some versions are broken
75
76   * MooseX::Getopt
77     - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
78     and MooseX::Getopt::GLD.
79
80   * Tests
81      - Ensure author tests get run when in author mode.
82
83 0.21 Thu. Aug 27 2009
84   * MooseX::Getopt
85     - Enable and document the argv parameter to the constructor.
86     - Applied patches in RT43200 and RT43255
87     - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
88       default config file name.
89
90 0.20 Wed. July 9 2009
91     - fix MANIFEST.SKIP to avoid double-packaging
92
93 0.19 Wed. July 8 2009
94   * MooseX::Getopt
95     - Fix Getopt config spec for --configfile (t0m)
96     - Add support for --usage/--help/--? (drew@drewtaylor.com)
97     - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
98
99   * Tests
100     - Fix warning from tests with new Moose (t0m)
101     - Fix tests on Win32 from RT#44909 (taro-nishino)
102
103 0.18 Thu. April 9 2009
104   * MooseX::Getopt::Dashes
105     - New module, for converting undercores to dashes (ilmari)
106
107 0.17 Wed. April 8 2009
108   * MooseX::Getopt
109     - work with latest Moose (hdp)
110
111     ~ unify module version numbers with dist version (hdp)
112
113 0.16 Tue. February 17 2009
114     * t/
115         - run pod tests only if RELEASE_TESTING env var is set
116
117 0.15 Sat. July 26 2008
118     * MooseX::Getopt::OptionTypeMap
119       - Accept type constraint objects in the type mapping, not just names
120
121 0.14 Thurs. July 10, 2008
122     * MooseX::Getopt::OptionTypeMap
123       - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
124
125     * MooseX::Getopt
126       - removed the default handling with Getopt::Long::Descriptive
127         as it would override constructor parameters and that was
128         bad. Besides, Moose will just DWIM on this anyway. (stevan)
129         - added test for it (stevan)
130
131     * t/
132       - fixed Getopt::Long::Descriptive specific tests to only run
133         if Getopt::Long::Descriptive is there (stevan)
134
135 0.13 Saturday, May 24, 2008
136     * MooseX::Getopt
137       - Commandline option shouldn't be required in the
138         case that the given "required" attribute has
139         been loaded from config (MooseX::ConfigFromFile)
140       - Support for MooseX::ConfigFromFile shouldn't require
141         that role be added at the same level as Getopt.
142       - fixed miscapitalization of NoGetopt in the docs
143       - added links to the traits in the docs
144
145     ~ converted to Module::Install instead of
146       Module::Build
147
148 0.12 Fri. March 14, 2008
149     ~~ updated copyright dates ~~
150
151     - upped the Moose dependency to support
152       the custom metaclass traits
153     - added Getopt::Long::Descriptive as an
154       optional dependency
155
156     * MooseX::Getopt
157       MooseX::Getopt::Meta::Attribute
158       MooseX::Getopt::Meta::Attribute::Trait
159       MooseX::Getopt::Meta::Attribute::NoGetopt
160       MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
161       - added support for custom metaclass traits
162         - added tests for this
163
164 0.11 Sun. Jan. 27, 2008
165     * MooseX::Getopt
166       - Commandline option shouldn't be required in the
167         case that the given "required" attribute has
168         a default or a builder method.
169
170 0.10 Wed. Jan. 23, 2008
171     * MooseX::Getopt
172       - Support default configfile attribute when
173         used with MooseX::ConfigFromFile-based roles
174
175 0.09 Tues. Jan. 22, 2008
176     * MooseX::Getopt
177       - Use Getopt::Long::Descriptive if it's available
178
179 0.08 Tues. Dec. 8, 2007
180     * MooseX::Getopt
181       - Added support for configfile loading via
182         MooseX::ConfigFromFile-based roles with
183         the -configfile commandline option.
184
185 0.07 Tues. Dec. 4, 2007
186     * MooseX::Getopt::Meta::Attribute::NoGetopt
187       - fixed miscapitalization of NoGetopt in the docs
188
189 0.06 Fri. Nov. 23, 2007
190     * MooseX::Getopt
191       - refactored &new_with_option some so that
192         this will work better with other Getopt
193         modules (nuffin)
194
195     + MooseX::Getopt::Strict
196       - version of MooseX::Getopt which requires
197         you to specify which attributes you want
198         processed explicity
199         - added tests for this
200
201     + MooseX::Getopt::Meta::Attribute::NoGetopt
202       - a custom meta-attribute which can be
203         used to specify that an attribute should
204         not be processed
205         - added tests for this
206
207 0.05 Tues. July 3, 2007
208     * MooseX::Getopt::OptionTypeMap
209       - added some checks to make sure that the type
210         constraints are found properly and to give
211         better diagnostics
212
213 0.04 Tues. June 26, 2007
214     * MooseX::Getopt::OptionTypeMap
215       - Added support for subtype constraint inference
216         from parent types
217         - added tests and docs for this
218     * MooseX::Getopt
219       - Added extra_argv attribute
220         - added tests and docs for this
221       - We now unmangle the Getopt::Long-mangled @ARGV
222         - added tests and docs for this
223       - We now throw an exception from new_with_options
224         if Getopt fails due to bad arguments.
225         - added tests and docs for this
226
227 0.03 Wed. May 2nd, 2007
228     ~ downgraded the Getopt version requirement
229       to 2.35 as per RT #26844
230     ~ adding blblack to the authors list
231
232     * MooseX::Getopt
233       - doc update to show simple way to of excluding
234         an attribute, but not having accessors with
235         underscores (thanks to Zaba on #moose for this)
236     * MooseX::Getopt::Meta::Attribute
237       - tightening up the type constraint in the
238         cmd_alias coercion to only accept strings
239
240 0.02 Friday, April 6, 2007
241     * MooseX::Getopt
242       - added the ARGV attribute (thanks to blblack)
243         - added tests and docs for this
244
245     * MooseX::Getopt::Meta::Attribute
246       - added the cmd_aliases attribute (thanks to blblack)
247         - added tests and docs for this
248       - added support for Moose 0.19's custom
249         attribute metaclass alias registry.
250         - added tests and docs for this
251
252 0.01 Friday, March 9, 2007
253     - module released to CPAN