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