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