Version 0.37
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eab3d04a 2
d91beb80 30.37 Wed 30 Mar 2011
192ae1aa 4 * Fix missing dependency. (RT#67077)
5
9d0505a2 60.36 Tue 29 Mar 2011
6caf9a1a 7 * Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
0611312e 8 * MooseX::Getopt::GLD
9 - change it to a MooseX::Role::Parameterized, so that it accepts
10 'getopt_conf' parameter (Damien Krotkine)
6caf9a1a 11
76b13789 120.35 Wed 09 Feb 2011
13 * Fix missed change from Test::Exception to Test::Fatal
14
150.34 Tue 08 Feb 2011
aabf4179 16 * The test suite now uses Test::Fatal instead of Test::Exception. (Karen
17 Etheridge)
76b13789 18 * Move most of new_with_options logic into separate publically
19 accessible process_argv method, so that arg processing can be
20 done without actually creating object (Jonathan Swartz)
aabf4179 21
e00e1cd6 220.33 Thu 26 Aug 2010
23 * Remove Test::Most from newly added test (RT#60766)
24
8ab8681c 250.32 Thu 26 Aug 2010
416dcb2e 26 * Fix handling of Union types (RT#58417)
27
ff05e3fc 280.31 Wed 7 Jul 2010
29 * Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
30
eab3d04a 310.30 Tue 6 Jul 2010
81b19ed8 32 * MooseX::Getopt::Basic
73038480 33 - uses attribute insertion order when determining the order in which
34 options are documented in the usage (e.g. in $obj->usage->text). (Karen
35 Etheridge)
36
37 * MooseX::Getopt::Basic
81b19ed8 38 - store the usage object to the usage attr (RT#58715)
39 - properly checks whether the *option* --help, --usage, or --? were used,
40 rather than the attribute 'help', 'usage' or '?' were set
41 * MooseX::Getopt::GLD
42 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
43 object, and the help attribute for storing --help, --usage and --? state
44 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
dfad990c 45
4a0ab663 46 * MooseX::Getopt::Basic
47 - Disable auto_help config in Getopt::Long, to avoid calling into
13f71373 48 pod2usage when the --help option is used while MooseX::ConfigFromFile
49 is in use (the intent is just to fetch the value of the configfile
81b19ed8 50 option) (RT#57683). (Karen Etheridge)
4a0ab663 51
2b4fef59 520.29 Tue. Jun 15 2010
53 * Fix repository metadata. Thanks Robert Bohne for noticing!
54
72a07e9d 550.28 Sat. Jun 05 2010
fff9a1f8 56 * MooseX::Getopt::Strict
57 - Make it work with Getopt attribute traits in addition to
58 attribute metaclasses.
59
72a07e9d 60 * Switch from Module::Install to Dist::Zilla.
61
fb873421 620.27 Sun. Feb 10 2010
2a7ee26b 63 * Makefile.PL:
fff9a1f8 64 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
65 avoid test failures.
2a7ee26b 66
ceeaabeb 67 * MooseX::Getopt::Dashes
fff9a1f8 68 - Document that using a cmd_flag argument to attributes can be used to
69 override the tr/_/-/ replacement ::Dashes does on attribute names
dfad990c 70
8b9e50c3 710.26 Thu. Dec 10 2009
4f214b88 72 * MooseX::Getopt::Basic
fff9a1f8 73 - Fix bug with attribute names containing upper case letters.
5c6054f9 74 * Test suite:
75 - Add t/106_no_ignore_case.t for testing the compatibility with
76 no_ignore_case
dfad990c 77
15460353 780.25 Thu. Nov 26 2009
2860acac 79 * MooseX::Getopt
80 - Split out the warnings and the exception from Getopt so that they can be
81 overridden.
07d7ec05 82 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
83 it can be overridden.
9b7f80a2 84 - Properly split roles as promised in 0.22.
dfad990c 85
6ac74298 860.24 Fri. Oct 23 2009
87 * MooseX::Getopt
88 - Fix bug with mixed case attribute names (MAROS)
dfad990c 89
5581bb1c 900.23 Fri. Oct 02 2009
91 * MooseX::Getopt
18fa5e72 92 - Allow the config file to return a code ref which is called to return
5581bb1c 93 the config file location (Gordon Irving)
dfad990c 94
38b93252 950.22 Sat. Sept 05 2009
96 - Require GLD 0.077 for RT#49427 as some versions are broken
dfad990c 97
30ed85f7 98 * MooseX::Getopt
99 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
100 and MooseX::Getopt::GLD.
dfad990c 101
b38b654a 102 * Tests
103 - Ensure author tests get run when in author mode.
dfad990c 104
a0697e31 1050.21 Thu. Aug 27 2009
f7655c45 106 * MooseX::Getopt
107 - Enable and document the argv parameter to the constructor.
c2f6e86c 108 - Applied patches in RT43200 and RT43255
2c379a5c 109 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
110 default config file name.
dfad990c 111
a2664368 1120.20 Wed. July 9 2009
fe193b81 113 - fix MANIFEST.SKIP to avoid double-packaging
dfad990c 114
7ff9f8b5 1150.19 Wed. July 8 2009
116 * MooseX::Getopt
117 - Fix Getopt config spec for --configfile (t0m)
118 - Add support for --usage/--help/--? (drew@drewtaylor.com)
119 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
dfad990c 120
7ff9f8b5 121 * Tests
122 - Fix warning from tests with new Moose (t0m)
123 - Fix tests on Win32 from RT#44909 (taro-nishino)
dfad990c 124
5f78e881 1250.18 Thu. April 9 2009
c2f6e86c 126 * MooseX::Getopt::Dashes
127 - New module, for converting undercores to dashes (ilmari)
dfad990c 128
091954ec 1290.17 Wed. April 8 2009
e2dcd71d 130 * MooseX::Getopt
c2f6e86c 131 - work with latest Moose (hdp)
dfad990c 132
fe193b81 133 ~ unify module version numbers with dist version (hdp)
dfad990c 134
98efc899 1350.16 Tue. February 17 2009
fe193b81 136 * t/
137 - run pod tests only if RELEASE_TESTING env var is set
dfad990c 138
a1171b4d 1390.15 Sat. July 26 2008
fe193b81 140 * MooseX::Getopt::OptionTypeMap
141 - Accept type constraint objects in the type mapping, not just names
dfad990c 142
630657d5 1430.14 Thurs. July 10, 2008
fe193b81 144 * MooseX::Getopt::OptionTypeMap
145 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
9acde841 146
fe193b81 147 * MooseX::Getopt
148 - removed the default handling with Getopt::Long::Descriptive
9acde841 149 as it would override constructor parameters and that was
fe193b81 150 bad. Besides, Moose will just DWIM on this anyway. (stevan)
151 - added test for it (stevan)
dfad990c 152
630657d5 153 * t/
9acde841 154 - fixed Getopt::Long::Descriptive specific tests to only run
630657d5 155 if Getopt::Long::Descriptive is there (stevan)
dfad990c 156
cd9a4a41 1570.13 Saturday, May 24, 2008
78a71ae5 158 * MooseX::Getopt
159 - Commandline option shouldn't be required in the
160 case that the given "required" attribute has
161 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 162 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 163 that role be added at the same level as Getopt.
2814de27 164 - fixed miscapitalization of NoGetopt in the docs
165 - added links to the traits in the docs
9acde841 166
167 ~ converted to Module::Install instead of
cd9a4a41 168 Module::Build
dfad990c 169
adbe3e57 1700.12 Fri. March 14, 2008
171 ~~ updated copyright dates ~~
dfad990c 172
adbe3e57 173 - upped the Moose dependency to support
174 the custom metaclass traits
78a71ae5 175 - added Getopt::Long::Descriptive as an
adbe3e57 176 optional dependency
dfad990c 177
adbe3e57 178 * MooseX::Getopt
179 MooseX::Getopt::Meta::Attribute
180 MooseX::Getopt::Meta::Attribute::Trait
181 MooseX::Getopt::Meta::Attribute::NoGetopt
182 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 183 - added support for custom metaclass traits
adbe3e57 184 - added tests for this
dfad990c 185
6c329add 1860.11 Sun. Jan. 27, 2008
187 * MooseX::Getopt
adbe3e57 188 - Commandline option shouldn't be required in the
189 case that the given "required" attribute has
190 a default or a builder method.
dfad990c 191
b4a79051 1920.10 Wed. Jan. 23, 2008
193 * MooseX::Getopt
adbe3e57 194 - Support default configfile attribute when
195 used with MooseX::ConfigFromFile-based roles
dfad990c 196
08ff0d65 1970.09 Tues. Jan. 22, 2008
198 * MooseX::Getopt
adbe3e57 199 - Use Getopt::Long::Descriptive if it's available
dfad990c 200
384fb15d 2010.08 Tues. Dec. 8, 2007
ee69c4ba 202 * MooseX::Getopt
203 - Added support for configfile loading via
204 MooseX::ConfigFromFile-based roles with
205 the -configfile commandline option.
dfad990c 206
29e4cc39 2070.07 Tues. Dec. 4, 2007
78a71ae5 208 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 209 - fixed miscapitalization of NoGetopt in the docs
dfad990c 210
f969917f 2110.06 Fri. Nov. 23, 2007
26be7f7e 212 * MooseX::Getopt
78a71ae5 213 - refactored &new_with_option some so that
214 this will work better with other Getopt
26be7f7e 215 modules (nuffin)
dfad990c 216
0f8232b6 217 + MooseX::Getopt::Strict
78a71ae5 218 - version of MooseX::Getopt which requires
219 you to specify which attributes you want
0f8232b6 220 processed explicity
221 - added tests for this
dfad990c 222
0f8232b6 223 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 224 - a custom meta-attribute which can be
225 used to specify that an attribute should
0f8232b6 226 not be processed
227 - added tests for this
dfad990c 228
db536e20 2290.05 Tues. July 3, 2007
2482085f 230 * MooseX::Getopt::OptionTypeMap
78a71ae5 231 - added some checks to make sure that the type
232 constraints are found properly and to give
db536e20 233 better diagnostics
dfad990c 234
1566a17b 2350.04 Tues. June 26, 2007
f63e6310 236 * MooseX::Getopt::OptionTypeMap
237 - Added support for subtype constraint inference
78a71ae5 238 from parent types
f63e6310 239 - added tests and docs for this
240 * MooseX::Getopt
241 - Added extra_argv attribute
242 - added tests and docs for this
f7695a83 243 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 244 - added tests and docs for this
245 - We now throw an exception from new_with_options
246 if Getopt fails due to bad arguments.
247 - added tests and docs for this
dfad990c 248
3d9a716d 2490.03 Wed. May 2nd, 2007
250 ~ downgraded the Getopt version requirement
e2911e34 251 to 2.35 as per RT #26844
3d9a716d 252 ~ adding blblack to the authors list
dfad990c 253
78a71ae5 254 * MooseX::Getopt
255 - doc update to show simple way to of excluding
256 an attribute, but not having accessors with
3d9a716d 257 underscores (thanks to Zaba on #moose for this)
258 * MooseX::Getopt::Meta::Attribute
78a71ae5 259 - tightening up the type constraint in the
3d9a716d 260 cmd_alias coercion to only accept strings
dfad990c 261
1c3e6142 2620.02 Friday, April 6, 2007
1a8b4ed1 263 * MooseX::Getopt
264 - added the ARGV attribute (thanks to blblack)
265 - added tests and docs for this
dfad990c 266
1a8b4ed1 267 * MooseX::Getopt::Meta::Attribute
268 - added the cmd_aliases attribute (thanks to blblack)
269 - added tests and docs for this
78a71ae5 270 - added support for Moose 0.19's custom
1a8b4ed1 271 attribute metaclass alias registry.
272 - added tests and docs for this
dfad990c 273
d8a58354 2740.01 Friday, March 9, 2007
f63e6310 275 - module released to CPAN