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