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