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