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