use Test::Fatal to test this exception
[gitmo/MooseX-Getopt.git] / Changes
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eab3d04a 2
894a791c 3{{$NEXT}}
09d1dcec 4
50.47 2012-08-30 16:37:59 PDT-0700
0aef9713 6 - re-release to remove double $VERSION declarations
42fc8ff6 7
80.46 2012-08-30 15:17:28 PDT-0700
8d396d8a 9 - -h is also treated as a --help option
17376605 10
110.45 2012-05-13 09:49:58 PDT-0700
395546ae 12 - use Path::Class in test to avoid test failures on MSWin32 with filename
13 construction
278175f8 14
150.44 2012-05-11 10:44:48 PDT-0700
0a386894 16 - now respecting value of configfile passed to the constructor, when used in
17 conjunction with MooseX::ConfigFromFile. (Karen Etheridge)
3c2e131f 18
190.43 2012-04-29 09:35:52 PDT-0700
abb6efc0 20 - re-release as non-trial.
1ebd1980 21
309e2fb7 220.42-TRIAL 2012-04-15 09:13:05 PDT-0700
44c73832 23 - reformatted the Changes file, with the help of CPAN::Changes, to something
24 a little more standard.
8582c924 25 - more release-only tests added
44c73832 26
309e2fb7 270.41-TRIAL 2012-04-14 18:36:00 PDT-0700
44c73832 28 - Now bails with exit status 0, rather than dying, when printing
b29aeb85 29 requested --usage/--help information (usage printed via invalid arguments
30 will still die, however). (Karen Etheridge)
44c73832 31
ab59e697 320.40 2012-04-13
44c73832 33 - Fix tests when MooseX::ConfigFromFile is installed, with
34 Getopt::Long::Descriptive >= 0.091. RT#76287
35 - Pod fix from debian. Salvatore Bonaccorso <carnil@debian.org> RT#74681
36 - Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
37
ab59e697 380.39 2012-02-03
44c73832 39 - Fix argument parsing in process_argv when used with ConfigFromFile so
40 that -v can be used as expected, rather than being grabbed as --version
41
ab59e697 420.38 2011-12-23
44c73832 43 - More documentation on Getopt::Long settings and how they alter this
44 role's behaviour, in particular with regards to extra_argv capturing.
45 (Karen Etheridge)
46
ab59e697 470.37 2011-03-30
44c73832 48 - Fix missing dependency. (RT#67077)
49
ab59e697 500.36 2011-03-29
44c73832 51 - Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
52 - MooseX::Getopt::GLD
53 - change it to a MooseX::Role::Parameterized, so that it accepts
54 'getopt_conf' parameter (Damien Krotkine)
55
ab59e697 560.35 2011-02-09
44c73832 57 - Fix missed change from Test::Exception to Test::Fatal
58
ab59e697 590.34 2011-02-08
44c73832 60 - The test suite now uses Test::Fatal instead of Test::Exception. (Karen
61 Etheridge)
62 - Move most of new_with_options logic into separate publically accessible
63 process_argv method, so that arg processing can be done without actually
64 creating object (Jonathan Swartz)
65
ab59e697 660.33 2010-08-26
44c73832 67 - Remove Test::Most from newly added test (RT#60766)
68
ab59e697 690.32 2010-08-26
44c73832 70 - Fix handling of Union types (RT#58417)
71
ab59e697 720.31 2010-07-07
44c73832 73 - Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
74
ab59e697 750.30 2010-07-06
44c73832 76 - MooseX::Getopt::Basic
77 - uses attribute insertion order when determining the order in which
78 options are documented in the usage (e.g. in $obj->usage->text). (Karen
79 Etheridge)
80
81 - MooseX::Getopt::Basic
82 - store the usage object to the usage attr (RT#58715)
83 - properly checks whether the *option* --help, --usage, or --? were used,
84 rather than the attribute 'help', 'usage' or '?' were set
85 - MooseX::Getopt::GLD
86 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
87 object, and the help attribute for storing --help, --usage and --? state
88 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
89
90 - MooseX::Getopt::Basic
91 - Disable auto_help config in Getopt::Long, to avoid calling into pod2usage
92 when the --help option is used while MooseX::ConfigFromFile is in use
93 (the intent is just to fetch the value of the configfile option)
94 (RT#57683). (Karen Etheridge)
95
960.29 2010-06-15
97 - Fix repository metadata. Thanks Robert Bohne for noticing!
98
990.28 2010-06-05
100 - MooseX::Getopt::Strict
101 - Make it work with Getopt attribute traits in addition to attribute
102 metaclasses.
103 - Switch from Module::Install to Dist::Zilla.
104
1050.27 2010-02-10
106 - Makefile.PL
107 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
108 avoid test failures.
109 - MooseX::Getopt::Dashes
110 - Document that using a cmd_flag argument to attributes can be used to
111 override the tr/_/-/ replacement ::Dashes does on attribute names
112
1130.26 2009-12-10
114 - MooseX::Getopt::Basic
115 - Fix bug with attribute names containing upper case letters.
116 - Test suite
117 - Add t/106_no_ignore_case.t for testing the compatibility with
118 no_ignore_case
119
1200.25 2009-11-26
121 - MooseX::Getopt
2860acac 122 - Split out the warnings and the exception from Getopt so that they can be
123 overridden.
44c73832 124 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that it can
125 be overridden.
9b7f80a2 126 - Properly split roles as promised in 0.22.
dfad990c 127
44c73832 1280.24 2009-10-23
129 - MooseX::Getopt
130 - Fix bug with mixed case attribute names (MAROS)
131
1320.23 2009-10-02
133 - MooseX::Getopt
134 - Allow the config file to return a code ref which is called to return the
135 config file location (Gordon Irving)
136
ab59e697 1370.22 2009-09-05
44c73832 138 - Require GLD 0.077 for RT#49427 as some versions are broken
139 - MooseX::Getopt
140 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
141 and MooseX::Getopt::GLD.
142 - Tests
143 - Ensure author tests get run when in author mode.
144
1450.21 2009-08-27
146 - MooseX::Getopt
147 - Enable and document the argv parameter to the constructor.
148 - Applied patches in RT43200 and RT43255
149 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
150 default config file name.
151
ab59e697 1520.20 2009-07-09
44c73832 153 - fix MANIFEST.SKIP to avoid double-packaging
154
ab59e697 1550.19 2009-07-08
44c73832 156 - MooseX::Getopt
157 - Fix Getopt config spec for --configfile (t0m)
158 - Add support for --usage/--help/--? (drew@drewtaylor.com)
159 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
160 - Tests
161 - Fix warning from tests with new Moose (t0m)
162 - Fix tests on Win32 from RT#44909 (taro-nishino)
163
ab59e697 1640.18 2009-04-09
44c73832 165 - MooseX::Getopt::Dashes
166 - New module, for converting undercores to dashes (ilmari)
167
ab59e697 1680.17 2009-04-08
44c73832 169 - MooseX::Getopt
170 - work with latest Moose (hdp)
171 - unify module version numbers with dist version (hdp)
172
ab59e697 1730.16 2009-02-17
44c73832 174 - Tests
175 - run pod tests only if RELEASE_TESTING env var is set
176
ab59e697 1770.15 2008-07-26
44c73832 178 - MooseX::Getopt::OptionTypeMap
179 - Accept type constraint objects in the type mapping, not just names
180
ab59e697 1810.14 2008-07-10
44c73832 182 - MooseX::Getopt::OptionTypeMap
183 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
184 - MooseX::Getopt
185 - removed the default handling with Getopt::Long::Descriptive as it would
186 override constructor parameters and that was bad. Besides, Moose will
187 just DWIM on this anyway. (stevan)
188 - added test for it (stevan)
189 - Tests
190 - fixed Getopt::Long::Descriptive specific tests to only run if
191 Getopt::Long::Descriptive is there (stevan)
192
ab59e697 1930.13 2008-05-24
44c73832 194 - MooseX::Getopt
195 - Commandline option shouldn't be required in the case that the given
196 "required" attribute has been loaded from config (MooseX::ConfigFromFile)
197 - Support for MooseX::ConfigFromFile shouldn't require that role be added
198 at the same level as Getopt.
199 - fixed miscapitalization of NoGetopt in the docs
200 - added links to the traits in the docs
201 - converted to Module::Install instead of Module::Build
202
ab59e697 2030.12 2008-03-14
44c73832 204 - updated copyright dates
205 - upped the Moose dependency to support the custom metaclass traits
206 - added Getopt::Long::Descriptive as an optional dependency
207 - MooseX::Getopt MooseX::Getopt::Meta::Attribute
208 MooseX::Getopt::Meta::Attribute::Trait
209 MooseX::Getopt::Meta::Attribute::NoGetopt
210 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
211 - added support for custom metaclass traits
212 - added tests for this
213
ab59e697 2140.11 2008-01-27
44c73832 215 - MooseX::Getopt
216 - Commandline option shouldn't be required in the case that the given
217 "required" attribute has a default or a builder method.
218
ab59e697 2190.10 2008-01-23
44c73832 220 - MooseX::Getopt
221 - Support default configfile attribute when used with
222 MooseX::ConfigFromFile-based roles
223
ab59e697 2240.09 2008-01-22
44c73832 225 - MooseX::Getopt
226 - Use Getopt::Long::Descriptive if it's available
227
ab59e697 2280.08 2007-12-08
44c73832 229 - MooseX::Getopt
230 - Added support for configfile loading via MooseX::ConfigFromFile-based
231 roles with the -configfile commandline option.
232
ab59e697 2330.07 2007-12-04
44c73832 234 - MooseX::Getopt::Meta::Attribute::NoGetopt
235 - fixed miscapitalization of NoGetopt in the docs
236
ab59e697 2370.06 2007-11-23
44c73832 238 - MooseX::Getopt
239 - refactored &new_with_option some so that this will work better with other
240 Getopt modules (nuffin)
241 - MooseX::Getopt::Strict
242 - version of MooseX::Getopt which requires you to specify which attributes
243 you want processed explicity
244 - added tests for this
245 - MooseX::Getopt::Meta::Attribute::NoGetopt
246 - a custom meta-attribute which can be used to specify that an attribute
247 should not be processed
248 - added tests for this
249
ab59e697 2500.05 2007-07-03
44c73832 251 - MooseX::Getopt::OptionTypeMap
252 - added some checks to make sure that the type constraints are found
253 properly and to give better diagnostics
254
ab59e697 2550.04 2007-06-26
44c73832 256 - MooseX::Getopt::OptionTypeMap
257 - Added support for subtype constraint inference from parent types
258 - added tests and docs for this
259 - MooseX::Getopt
260 - Added extra_argv attribute
261 - added tests and docs for this
262 - We now unmangle the Getopt::Long-mangled @ARGV
263 - added tests and docs for this
264 - We now throw an exception from new_with_options if Getopt fails due to
265 bad arguments.
266 - added tests and docs for this
267
ab59e697 2680.03 2007-05-02
44c73832 269 - downgraded the Getopt version requirement to 2.35 as per RT #26844
270 - adding blblack to the authors list
271 - MooseX::Getopt
272 - doc update to show simple way to of excluding an attribute, but not
273 having accessors with underscores (thanks to Zaba on #moose for this)
274 - MooseX::Getopt::Meta::Attribute
275 - tightening up the type constraint in the cmd_alias coercion to only
276 accept strings
277
ab59e697 2780.02 2007-04-06
44c73832 279 - MooseX::Getopt
280 - added the ARGV attribute (thanks to blblack)
281 - added tests and docs for this
282 - MooseX::Getopt::Meta::Attribute
283 - added the cmd_aliases attribute (thanks to blblack)
284 - added tests and docs for this
285 - added support for Moose 0.19's custom attribute metaclass alias registry.
286 - added tests and docs for this
287
ab59e697 2880.01 2007-03-09
44c73832 289 - module released to CPAN