changelog
[gitmo/MooseX-Getopt.git] / Changes
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eab3d04a 2
f6e9269b 3 {{$NEXT}}
abb6efc0 4 - re-release as non-trial.
1ebd1980 5
309e2fb7 60.42-TRIAL 2012-04-15 09:13:05 PDT-0700
44c73832 7 - reformatted the Changes file, with the help of CPAN::Changes, to something
8 a little more standard.
8582c924 9 - more release-only tests added
44c73832 10
309e2fb7 110.41-TRIAL 2012-04-14 18:36:00 PDT-0700
44c73832 12 - Now bails with exit status 0, rather than dying, when printing
b29aeb85 13 requested --usage/--help information (usage printed via invalid arguments
14 will still die, however). (Karen Etheridge)
44c73832 15
ab59e697 160.40 2012-04-13
44c73832 17 - Fix tests when MooseX::ConfigFromFile is installed, with
18 Getopt::Long::Descriptive >= 0.091. RT#76287
19 - Pod fix from debian. Salvatore Bonaccorso <carnil@debian.org> RT#74681
20 - Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
21
ab59e697 220.39 2012-02-03
44c73832 23 - Fix argument parsing in process_argv when used with ConfigFromFile so
24 that -v can be used as expected, rather than being grabbed as --version
25
ab59e697 260.38 2011-12-23
44c73832 27 - More documentation on Getopt::Long settings and how they alter this
28 role's behaviour, in particular with regards to extra_argv capturing.
29 (Karen Etheridge)
30
ab59e697 310.37 2011-03-30
44c73832 32 - Fix missing dependency. (RT#67077)
33
ab59e697 340.36 2011-03-29
44c73832 35 - Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
36 - MooseX::Getopt::GLD
37 - change it to a MooseX::Role::Parameterized, so that it accepts
38 'getopt_conf' parameter (Damien Krotkine)
39
ab59e697 400.35 2011-02-09
44c73832 41 - Fix missed change from Test::Exception to Test::Fatal
42
ab59e697 430.34 2011-02-08
44c73832 44 - The test suite now uses Test::Fatal instead of Test::Exception. (Karen
45 Etheridge)
46 - Move most of new_with_options logic into separate publically accessible
47 process_argv method, so that arg processing can be done without actually
48 creating object (Jonathan Swartz)
49
ab59e697 500.33 2010-08-26
44c73832 51 - Remove Test::Most from newly added test (RT#60766)
52
ab59e697 530.32 2010-08-26
44c73832 54 - Fix handling of Union types (RT#58417)
55
ab59e697 560.31 2010-07-07
44c73832 57 - Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
58
ab59e697 590.30 2010-07-06
44c73832 60 - MooseX::Getopt::Basic
61 - uses attribute insertion order when determining the order in which
62 options are documented in the usage (e.g. in $obj->usage->text). (Karen
63 Etheridge)
64
65 - MooseX::Getopt::Basic
66 - store the usage object to the usage attr (RT#58715)
67 - properly checks whether the *option* --help, --usage, or --? were used,
68 rather than the attribute 'help', 'usage' or '?' were set
69 - MooseX::Getopt::GLD
70 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
71 object, and the help attribute for storing --help, --usage and --? state
72 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
73
74 - MooseX::Getopt::Basic
75 - Disable auto_help config in Getopt::Long, to avoid calling into pod2usage
76 when the --help option is used while MooseX::ConfigFromFile is in use
77 (the intent is just to fetch the value of the configfile option)
78 (RT#57683). (Karen Etheridge)
79
800.29 2010-06-15
81 - Fix repository metadata. Thanks Robert Bohne for noticing!
82
830.28 2010-06-05
84 - MooseX::Getopt::Strict
85 - Make it work with Getopt attribute traits in addition to attribute
86 metaclasses.
87 - Switch from Module::Install to Dist::Zilla.
88
890.27 2010-02-10
90 - Makefile.PL
91 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
92 avoid test failures.
93 - MooseX::Getopt::Dashes
94 - Document that using a cmd_flag argument to attributes can be used to
95 override the tr/_/-/ replacement ::Dashes does on attribute names
96
970.26 2009-12-10
98 - MooseX::Getopt::Basic
99 - Fix bug with attribute names containing upper case letters.
100 - Test suite
101 - Add t/106_no_ignore_case.t for testing the compatibility with
102 no_ignore_case
103
1040.25 2009-11-26
105 - MooseX::Getopt
2860acac 106 - Split out the warnings and the exception from Getopt so that they can be
107 overridden.
44c73832 108 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that it can
109 be overridden.
9b7f80a2 110 - Properly split roles as promised in 0.22.
dfad990c 111
44c73832 1120.24 2009-10-23
113 - MooseX::Getopt
114 - Fix bug with mixed case attribute names (MAROS)
115
1160.23 2009-10-02
117 - MooseX::Getopt
118 - Allow the config file to return a code ref which is called to return the
119 config file location (Gordon Irving)
120
ab59e697 1210.22 2009-09-05
44c73832 122 - Require GLD 0.077 for RT#49427 as some versions are broken
123 - MooseX::Getopt
124 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
125 and MooseX::Getopt::GLD.
126 - Tests
127 - Ensure author tests get run when in author mode.
128
1290.21 2009-08-27
130 - MooseX::Getopt
131 - Enable and document the argv parameter to the constructor.
132 - Applied patches in RT43200 and RT43255
133 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
134 default config file name.
135
ab59e697 1360.20 2009-07-09
44c73832 137 - fix MANIFEST.SKIP to avoid double-packaging
138
ab59e697 1390.19 2009-07-08
44c73832 140 - MooseX::Getopt
141 - Fix Getopt config spec for --configfile (t0m)
142 - Add support for --usage/--help/--? (drew@drewtaylor.com)
143 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
144 - Tests
145 - Fix warning from tests with new Moose (t0m)
146 - Fix tests on Win32 from RT#44909 (taro-nishino)
147
ab59e697 1480.18 2009-04-09
44c73832 149 - MooseX::Getopt::Dashes
150 - New module, for converting undercores to dashes (ilmari)
151
ab59e697 1520.17 2009-04-08
44c73832 153 - MooseX::Getopt
154 - work with latest Moose (hdp)
155 - unify module version numbers with dist version (hdp)
156
ab59e697 1570.16 2009-02-17
44c73832 158 - Tests
159 - run pod tests only if RELEASE_TESTING env var is set
160
ab59e697 1610.15 2008-07-26
44c73832 162 - MooseX::Getopt::OptionTypeMap
163 - Accept type constraint objects in the type mapping, not just names
164
ab59e697 1650.14 2008-07-10
44c73832 166 - MooseX::Getopt::OptionTypeMap
167 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
168 - MooseX::Getopt
169 - removed the default handling with Getopt::Long::Descriptive as it would
170 override constructor parameters and that was bad. Besides, Moose will
171 just DWIM on this anyway. (stevan)
172 - added test for it (stevan)
173 - Tests
174 - fixed Getopt::Long::Descriptive specific tests to only run if
175 Getopt::Long::Descriptive is there (stevan)
176
ab59e697 1770.13 2008-05-24
44c73832 178 - MooseX::Getopt
179 - Commandline option shouldn't be required in the case that the given
180 "required" attribute has been loaded from config (MooseX::ConfigFromFile)
181 - Support for MooseX::ConfigFromFile shouldn't require that role be added
182 at the same level as Getopt.
183 - fixed miscapitalization of NoGetopt in the docs
184 - added links to the traits in the docs
185 - converted to Module::Install instead of Module::Build
186
ab59e697 1870.12 2008-03-14
44c73832 188 - updated copyright dates
189 - upped the Moose dependency to support the custom metaclass traits
190 - added Getopt::Long::Descriptive as an optional dependency
191 - MooseX::Getopt MooseX::Getopt::Meta::Attribute
192 MooseX::Getopt::Meta::Attribute::Trait
193 MooseX::Getopt::Meta::Attribute::NoGetopt
194 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
195 - added support for custom metaclass traits
196 - added tests for this
197
ab59e697 1980.11 2008-01-27
44c73832 199 - MooseX::Getopt
200 - Commandline option shouldn't be required in the case that the given
201 "required" attribute has a default or a builder method.
202
ab59e697 2030.10 2008-01-23
44c73832 204 - MooseX::Getopt
205 - Support default configfile attribute when used with
206 MooseX::ConfigFromFile-based roles
207
ab59e697 2080.09 2008-01-22
44c73832 209 - MooseX::Getopt
210 - Use Getopt::Long::Descriptive if it's available
211
ab59e697 2120.08 2007-12-08
44c73832 213 - MooseX::Getopt
214 - Added support for configfile loading via MooseX::ConfigFromFile-based
215 roles with the -configfile commandline option.
216
ab59e697 2170.07 2007-12-04
44c73832 218 - MooseX::Getopt::Meta::Attribute::NoGetopt
219 - fixed miscapitalization of NoGetopt in the docs
220
ab59e697 2210.06 2007-11-23
44c73832 222 - MooseX::Getopt
223 - refactored &new_with_option some so that this will work better with other
224 Getopt modules (nuffin)
225 - MooseX::Getopt::Strict
226 - version of MooseX::Getopt which requires you to specify which attributes
227 you want processed explicity
228 - added tests for this
229 - MooseX::Getopt::Meta::Attribute::NoGetopt
230 - a custom meta-attribute which can be used to specify that an attribute
231 should not be processed
232 - added tests for this
233
ab59e697 2340.05 2007-07-03
44c73832 235 - MooseX::Getopt::OptionTypeMap
236 - added some checks to make sure that the type constraints are found
237 properly and to give better diagnostics
238
ab59e697 2390.04 2007-06-26
44c73832 240 - MooseX::Getopt::OptionTypeMap
241 - Added support for subtype constraint inference from parent types
242 - added tests and docs for this
243 - MooseX::Getopt
244 - Added extra_argv attribute
245 - added tests and docs for this
246 - We now unmangle the Getopt::Long-mangled @ARGV
247 - added tests and docs for this
248 - We now throw an exception from new_with_options if Getopt fails due to
249 bad arguments.
250 - added tests and docs for this
251
ab59e697 2520.03 2007-05-02
44c73832 253 - downgraded the Getopt version requirement to 2.35 as per RT #26844
254 - adding blblack to the authors list
255 - MooseX::Getopt
256 - doc update to show simple way to of excluding an attribute, but not
257 having accessors with underscores (thanks to Zaba on #moose for this)
258 - MooseX::Getopt::Meta::Attribute
259 - tightening up the type constraint in the cmd_alias coercion to only
260 accept strings
261
ab59e697 2620.02 2007-04-06
44c73832 263 - MooseX::Getopt
264 - added the ARGV attribute (thanks to blblack)
265 - added tests and docs for this
266 - MooseX::Getopt::Meta::Attribute
267 - added the cmd_aliases attribute (thanks to blblack)
268 - added tests and docs for this
269 - added support for Moose 0.19's custom attribute metaclass alias registry.
270 - added tests and docs for this
271
ab59e697 2720.01 2007-03-09
44c73832 273 - module released to CPAN