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