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