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