improved grammar in test notes; use fixed test count when not skipping tests
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
eeb8a419 2 * MooseX::Getopt::Basic
73038480 3 - uses attribute insertion order when determining the order in which
4 options are documented in the usage (e.g. in $obj->usage->text). (Karen
5 Etheridge)
6
10bda8b8 70.31 Wed 7 Jul 2010
8 * Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
9
100.30 Tue 6 Jul 2010
73038480 11 * MooseX::Getopt::Basic
81b19ed8 12 - store the usage object to the usage attr (RT#58715)
13 - properly checks whether the *option* --help, --usage, or --? were used,
14 rather than the attribute 'help', 'usage' or '?' were set
15 * MooseX::Getopt::GLD
16 - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
17 object, and the help attribute for storing --help, --usage and --? state
18 (RT#47865, RT#56783, RT#52474). (Karen Etheridge)
dfad990c 19
4a0ab663 20 * MooseX::Getopt::Basic
21 - Disable auto_help config in Getopt::Long, to avoid calling into
13f71373 22 pod2usage when the --help option is used while MooseX::ConfigFromFile
23 is in use (the intent is just to fetch the value of the configfile
81b19ed8 24 option) (RT#57683). (Karen Etheridge)
4a0ab663 25
2b4fef59 260.29 Tue. Jun 15 2010
27 * Fix repository metadata. Thanks Robert Bohne for noticing!
28
72a07e9d 290.28 Sat. Jun 05 2010
fff9a1f8 30 * MooseX::Getopt::Strict
31 - Make it work with Getopt attribute traits in addition to
32 attribute metaclasses.
33
72a07e9d 34 * Switch from Module::Install to Dist::Zilla.
35
fb873421 360.27 Sun. Feb 10 2010
2a7ee26b 37 * Makefile.PL:
fff9a1f8 38 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
39 avoid test failures.
2a7ee26b 40
ceeaabeb 41 * MooseX::Getopt::Dashes
fff9a1f8 42 - Document that using a cmd_flag argument to attributes can be used to
43 override the tr/_/-/ replacement ::Dashes does on attribute names
dfad990c 44
8b9e50c3 450.26 Thu. Dec 10 2009
4f214b88 46 * MooseX::Getopt::Basic
fff9a1f8 47 - Fix bug with attribute names containing upper case letters.
5c6054f9 48 * Test suite:
49 - Add t/106_no_ignore_case.t for testing the compatibility with
50 no_ignore_case
dfad990c 51
15460353 520.25 Thu. Nov 26 2009
2860acac 53 * MooseX::Getopt
54 - Split out the warnings and the exception from Getopt so that they can be
55 overridden.
07d7ec05 56 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
57 it can be overridden.
9b7f80a2 58 - Properly split roles as promised in 0.22.
dfad990c 59
6ac74298 600.24 Fri. Oct 23 2009
61 * MooseX::Getopt
62 - Fix bug with mixed case attribute names (MAROS)
dfad990c 63
5581bb1c 640.23 Fri. Oct 02 2009
65 * MooseX::Getopt
18fa5e72 66 - Allow the config file to return a code ref which is called to return
5581bb1c 67 the config file location (Gordon Irving)
dfad990c 68
38b93252 690.22 Sat. Sept 05 2009
70 - Require GLD 0.077 for RT#49427 as some versions are broken
dfad990c 71
30ed85f7 72 * MooseX::Getopt
73 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
74 and MooseX::Getopt::GLD.
dfad990c 75
b38b654a 76 * Tests
77 - Ensure author tests get run when in author mode.
dfad990c 78
a0697e31 790.21 Thu. Aug 27 2009
f7655c45 80 * MooseX::Getopt
81 - Enable and document the argv parameter to the constructor.
c2f6e86c 82 - Applied patches in RT43200 and RT43255
2c379a5c 83 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
84 default config file name.
dfad990c 85
a2664368 860.20 Wed. July 9 2009
fe193b81 87 - fix MANIFEST.SKIP to avoid double-packaging
dfad990c 88
7ff9f8b5 890.19 Wed. July 8 2009
90 * MooseX::Getopt
91 - Fix Getopt config spec for --configfile (t0m)
92 - Add support for --usage/--help/--? (drew@drewtaylor.com)
93 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
dfad990c 94
7ff9f8b5 95 * Tests
96 - Fix warning from tests with new Moose (t0m)
97 - Fix tests on Win32 from RT#44909 (taro-nishino)
dfad990c 98
5f78e881 990.18 Thu. April 9 2009
c2f6e86c 100 * MooseX::Getopt::Dashes
101 - New module, for converting undercores to dashes (ilmari)
dfad990c 102
091954ec 1030.17 Wed. April 8 2009
e2dcd71d 104 * MooseX::Getopt
c2f6e86c 105 - work with latest Moose (hdp)
dfad990c 106
fe193b81 107 ~ unify module version numbers with dist version (hdp)
dfad990c 108
98efc899 1090.16 Tue. February 17 2009
fe193b81 110 * t/
111 - run pod tests only if RELEASE_TESTING env var is set
dfad990c 112
a1171b4d 1130.15 Sat. July 26 2008
fe193b81 114 * MooseX::Getopt::OptionTypeMap
115 - Accept type constraint objects in the type mapping, not just names
dfad990c 116
630657d5 1170.14 Thurs. July 10, 2008
fe193b81 118 * MooseX::Getopt::OptionTypeMap
119 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
9acde841 120
fe193b81 121 * MooseX::Getopt
122 - removed the default handling with Getopt::Long::Descriptive
9acde841 123 as it would override constructor parameters and that was
fe193b81 124 bad. Besides, Moose will just DWIM on this anyway. (stevan)
125 - added test for it (stevan)
dfad990c 126
630657d5 127 * t/
9acde841 128 - fixed Getopt::Long::Descriptive specific tests to only run
630657d5 129 if Getopt::Long::Descriptive is there (stevan)
dfad990c 130
cd9a4a41 1310.13 Saturday, May 24, 2008
78a71ae5 132 * MooseX::Getopt
133 - Commandline option shouldn't be required in the
134 case that the given "required" attribute has
135 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 136 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 137 that role be added at the same level as Getopt.
2814de27 138 - fixed miscapitalization of NoGetopt in the docs
139 - added links to the traits in the docs
9acde841 140
141 ~ converted to Module::Install instead of
cd9a4a41 142 Module::Build
dfad990c 143
adbe3e57 1440.12 Fri. March 14, 2008
145 ~~ updated copyright dates ~~
dfad990c 146
adbe3e57 147 - upped the Moose dependency to support
148 the custom metaclass traits
78a71ae5 149 - added Getopt::Long::Descriptive as an
adbe3e57 150 optional dependency
dfad990c 151
adbe3e57 152 * MooseX::Getopt
153 MooseX::Getopt::Meta::Attribute
154 MooseX::Getopt::Meta::Attribute::Trait
155 MooseX::Getopt::Meta::Attribute::NoGetopt
156 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 157 - added support for custom metaclass traits
adbe3e57 158 - added tests for this
dfad990c 159
6c329add 1600.11 Sun. Jan. 27, 2008
161 * MooseX::Getopt
adbe3e57 162 - Commandline option shouldn't be required in the
163 case that the given "required" attribute has
164 a default or a builder method.
dfad990c 165
b4a79051 1660.10 Wed. Jan. 23, 2008
167 * MooseX::Getopt
adbe3e57 168 - Support default configfile attribute when
169 used with MooseX::ConfigFromFile-based roles
dfad990c 170
08ff0d65 1710.09 Tues. Jan. 22, 2008
172 * MooseX::Getopt
adbe3e57 173 - Use Getopt::Long::Descriptive if it's available
dfad990c 174
384fb15d 1750.08 Tues. Dec. 8, 2007
ee69c4ba 176 * MooseX::Getopt
177 - Added support for configfile loading via
178 MooseX::ConfigFromFile-based roles with
179 the -configfile commandline option.
dfad990c 180
29e4cc39 1810.07 Tues. Dec. 4, 2007
78a71ae5 182 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 183 - fixed miscapitalization of NoGetopt in the docs
dfad990c 184
f969917f 1850.06 Fri. Nov. 23, 2007
26be7f7e 186 * MooseX::Getopt
78a71ae5 187 - refactored &new_with_option some so that
188 this will work better with other Getopt
26be7f7e 189 modules (nuffin)
dfad990c 190
0f8232b6 191 + MooseX::Getopt::Strict
78a71ae5 192 - version of MooseX::Getopt which requires
193 you to specify which attributes you want
0f8232b6 194 processed explicity
195 - added tests for this
dfad990c 196
0f8232b6 197 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 198 - a custom meta-attribute which can be
199 used to specify that an attribute should
0f8232b6 200 not be processed
201 - added tests for this
dfad990c 202
db536e20 2030.05 Tues. July 3, 2007
2482085f 204 * MooseX::Getopt::OptionTypeMap
78a71ae5 205 - added some checks to make sure that the type
206 constraints are found properly and to give
db536e20 207 better diagnostics
dfad990c 208
1566a17b 2090.04 Tues. June 26, 2007
f63e6310 210 * MooseX::Getopt::OptionTypeMap
211 - Added support for subtype constraint inference
78a71ae5 212 from parent types
f63e6310 213 - added tests and docs for this
214 * MooseX::Getopt
215 - Added extra_argv attribute
216 - added tests and docs for this
f7695a83 217 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 218 - added tests and docs for this
219 - We now throw an exception from new_with_options
220 if Getopt fails due to bad arguments.
221 - added tests and docs for this
dfad990c 222
3d9a716d 2230.03 Wed. May 2nd, 2007
224 ~ downgraded the Getopt version requirement
e2911e34 225 to 2.35 as per RT #26844
3d9a716d 226 ~ adding blblack to the authors list
dfad990c 227
78a71ae5 228 * MooseX::Getopt
229 - doc update to show simple way to of excluding
230 an attribute, but not having accessors with
3d9a716d 231 underscores (thanks to Zaba on #moose for this)
232 * MooseX::Getopt::Meta::Attribute
78a71ae5 233 - tightening up the type constraint in the
3d9a716d 234 cmd_alias coercion to only accept strings
dfad990c 235
1c3e6142 2360.02 Friday, April 6, 2007
1a8b4ed1 237 * MooseX::Getopt
238 - added the ARGV attribute (thanks to blblack)
239 - added tests and docs for this
dfad990c 240
1a8b4ed1 241 * MooseX::Getopt::Meta::Attribute
242 - added the cmd_aliases attribute (thanks to blblack)
243 - added tests and docs for this
78a71ae5 244 - added support for Moose 0.19's custom
1a8b4ed1 245 attribute metaclass alias registry.
246 - added tests and docs for this
dfad990c 247
d8a58354 2480.01 Friday, March 9, 2007
f63e6310 249 - module released to CPAN