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