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