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