Merge branch 'topic/no_auto_help' of git.moose.perl.org:MooseX-Getopt into topic...
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
dfad990c 2
4a0ab663 3 * MooseX::Getopt::Basic
4 - Disable auto_help config in Getopt::Long, to avoid calling into
13f71373 5 pod2usage when the --help option is used while MooseX::ConfigFromFile
6 is in use (the intent is just to fetch the value of the configfile
84a58315 7 option). (RT#57683) (Karen Etheridge)
4a0ab663 8
2b4fef59 90.29 Tue. Jun 15 2010
10 * Fix repository metadata. Thanks Robert Bohne for noticing!
11
72a07e9d 120.28 Sat. Jun 05 2010
fff9a1f8 13 * MooseX::Getopt::Strict
14 - Make it work with Getopt attribute traits in addition to
15 attribute metaclasses.
16
72a07e9d 17 * Switch from Module::Install to Dist::Zilla.
18
fb873421 190.27 Sun. Feb 10 2010
2a7ee26b 20 * Makefile.PL:
fff9a1f8 21 - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
22 avoid test failures.
2a7ee26b 23
ceeaabeb 24 * MooseX::Getopt::Dashes
fff9a1f8 25 - Document that using a cmd_flag argument to attributes can be used to
26 override the tr/_/-/ replacement ::Dashes does on attribute names
dfad990c 27
8b9e50c3 280.26 Thu. Dec 10 2009
4f214b88 29 * MooseX::Getopt::Basic
fff9a1f8 30 - Fix bug with attribute names containing upper case letters.
5c6054f9 31 * Test suite:
32 - Add t/106_no_ignore_case.t for testing the compatibility with
33 no_ignore_case
dfad990c 34
15460353 350.25 Thu. Nov 26 2009
2860acac 36 * MooseX::Getopt
37 - Split out the warnings and the exception from Getopt so that they can be
38 overridden.
07d7ec05 39 - Split out calling ->die on Getopt::Long::Descriptive::Usage so that
40 it can be overridden.
9b7f80a2 41 - Properly split roles as promised in 0.22.
dfad990c 42
6ac74298 430.24 Fri. Oct 23 2009
44 * MooseX::Getopt
45 - Fix bug with mixed case attribute names (MAROS)
dfad990c 46
5581bb1c 470.23 Fri. Oct 02 2009
48 * MooseX::Getopt
18fa5e72 49 - Allow the config file to return a code ref which is called to return
5581bb1c 50 the config file location (Gordon Irving)
dfad990c 51
38b93252 520.22 Sat. Sept 05 2009
53 - Require GLD 0.077 for RT#49427 as some versions are broken
dfad990c 54
30ed85f7 55 * MooseX::Getopt
56 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
57 and MooseX::Getopt::GLD.
dfad990c 58
b38b654a 59 * Tests
60 - Ensure author tests get run when in author mode.
dfad990c 61
a0697e31 620.21 Thu. Aug 27 2009
f7655c45 63 * MooseX::Getopt
64 - Enable and document the argv parameter to the constructor.
c2f6e86c 65 - Applied patches in RT43200 and RT43255
2c379a5c 66 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
67 default config file name.
dfad990c 68
a2664368 690.20 Wed. July 9 2009
fe193b81 70 - fix MANIFEST.SKIP to avoid double-packaging
dfad990c 71
7ff9f8b5 720.19 Wed. July 8 2009
73 * MooseX::Getopt
74 - Fix Getopt config spec for --configfile (t0m)
75 - Add support for --usage/--help/--? (drew@drewtaylor.com)
76 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
dfad990c 77
7ff9f8b5 78 * Tests
79 - Fix warning from tests with new Moose (t0m)
80 - Fix tests on Win32 from RT#44909 (taro-nishino)
dfad990c 81
5f78e881 820.18 Thu. April 9 2009
c2f6e86c 83 * MooseX::Getopt::Dashes
84 - New module, for converting undercores to dashes (ilmari)
dfad990c 85
091954ec 860.17 Wed. April 8 2009
e2dcd71d 87 * MooseX::Getopt
c2f6e86c 88 - work with latest Moose (hdp)
dfad990c 89
fe193b81 90 ~ unify module version numbers with dist version (hdp)
dfad990c 91
98efc899 920.16 Tue. February 17 2009
fe193b81 93 * t/
94 - run pod tests only if RELEASE_TESTING env var is set
dfad990c 95
a1171b4d 960.15 Sat. July 26 2008
fe193b81 97 * MooseX::Getopt::OptionTypeMap
98 - Accept type constraint objects in the type mapping, not just names
dfad990c 99
630657d5 1000.14 Thurs. July 10, 2008
fe193b81 101 * MooseX::Getopt::OptionTypeMap
102 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
9acde841 103
fe193b81 104 * MooseX::Getopt
105 - removed the default handling with Getopt::Long::Descriptive
9acde841 106 as it would override constructor parameters and that was
fe193b81 107 bad. Besides, Moose will just DWIM on this anyway. (stevan)
108 - added test for it (stevan)
dfad990c 109
630657d5 110 * t/
9acde841 111 - fixed Getopt::Long::Descriptive specific tests to only run
630657d5 112 if Getopt::Long::Descriptive is there (stevan)
dfad990c 113
cd9a4a41 1140.13 Saturday, May 24, 2008
78a71ae5 115 * MooseX::Getopt
116 - Commandline option shouldn't be required in the
117 case that the given "required" attribute has
118 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 119 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 120 that role be added at the same level as Getopt.
2814de27 121 - fixed miscapitalization of NoGetopt in the docs
122 - added links to the traits in the docs
9acde841 123
124 ~ converted to Module::Install instead of
cd9a4a41 125 Module::Build
dfad990c 126
adbe3e57 1270.12 Fri. March 14, 2008
128 ~~ updated copyright dates ~~
dfad990c 129
adbe3e57 130 - upped the Moose dependency to support
131 the custom metaclass traits
78a71ae5 132 - added Getopt::Long::Descriptive as an
adbe3e57 133 optional dependency
dfad990c 134
adbe3e57 135 * MooseX::Getopt
136 MooseX::Getopt::Meta::Attribute
137 MooseX::Getopt::Meta::Attribute::Trait
138 MooseX::Getopt::Meta::Attribute::NoGetopt
139 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 140 - added support for custom metaclass traits
adbe3e57 141 - added tests for this
dfad990c 142
6c329add 1430.11 Sun. Jan. 27, 2008
144 * MooseX::Getopt
adbe3e57 145 - Commandline option shouldn't be required in the
146 case that the given "required" attribute has
147 a default or a builder method.
dfad990c 148
b4a79051 1490.10 Wed. Jan. 23, 2008
150 * MooseX::Getopt
adbe3e57 151 - Support default configfile attribute when
152 used with MooseX::ConfigFromFile-based roles
dfad990c 153
08ff0d65 1540.09 Tues. Jan. 22, 2008
155 * MooseX::Getopt
adbe3e57 156 - Use Getopt::Long::Descriptive if it's available
dfad990c 157
384fb15d 1580.08 Tues. Dec. 8, 2007
ee69c4ba 159 * MooseX::Getopt
160 - Added support for configfile loading via
161 MooseX::ConfigFromFile-based roles with
162 the -configfile commandline option.
dfad990c 163
29e4cc39 1640.07 Tues. Dec. 4, 2007
78a71ae5 165 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 166 - fixed miscapitalization of NoGetopt in the docs
dfad990c 167
f969917f 1680.06 Fri. Nov. 23, 2007
26be7f7e 169 * MooseX::Getopt
78a71ae5 170 - refactored &new_with_option some so that
171 this will work better with other Getopt
26be7f7e 172 modules (nuffin)
dfad990c 173
0f8232b6 174 + MooseX::Getopt::Strict
78a71ae5 175 - version of MooseX::Getopt which requires
176 you to specify which attributes you want
0f8232b6 177 processed explicity
178 - added tests for this
dfad990c 179
0f8232b6 180 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 181 - a custom meta-attribute which can be
182 used to specify that an attribute should
0f8232b6 183 not be processed
184 - added tests for this
dfad990c 185
db536e20 1860.05 Tues. July 3, 2007
2482085f 187 * MooseX::Getopt::OptionTypeMap
78a71ae5 188 - added some checks to make sure that the type
189 constraints are found properly and to give
db536e20 190 better diagnostics
dfad990c 191
1566a17b 1920.04 Tues. June 26, 2007
f63e6310 193 * MooseX::Getopt::OptionTypeMap
194 - Added support for subtype constraint inference
78a71ae5 195 from parent types
f63e6310 196 - added tests and docs for this
197 * MooseX::Getopt
198 - Added extra_argv attribute
199 - added tests and docs for this
f7695a83 200 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 201 - added tests and docs for this
202 - We now throw an exception from new_with_options
203 if Getopt fails due to bad arguments.
204 - added tests and docs for this
dfad990c 205
3d9a716d 2060.03 Wed. May 2nd, 2007
207 ~ downgraded the Getopt version requirement
e2911e34 208 to 2.35 as per RT #26844
3d9a716d 209 ~ adding blblack to the authors list
dfad990c 210
78a71ae5 211 * MooseX::Getopt
212 - doc update to show simple way to of excluding
213 an attribute, but not having accessors with
3d9a716d 214 underscores (thanks to Zaba on #moose for this)
215 * MooseX::Getopt::Meta::Attribute
78a71ae5 216 - tightening up the type constraint in the
3d9a716d 217 cmd_alias coercion to only accept strings
dfad990c 218
1c3e6142 2190.02 Friday, April 6, 2007
1a8b4ed1 220 * MooseX::Getopt
221 - added the ARGV attribute (thanks to blblack)
222 - added tests and docs for this
dfad990c 223
1a8b4ed1 224 * MooseX::Getopt::Meta::Attribute
225 - added the cmd_aliases attribute (thanks to blblack)
226 - added tests and docs for this
78a71ae5 227 - added support for Moose 0.19's custom
1a8b4ed1 228 attribute metaclass alias registry.
229 - added tests and docs for this
dfad990c 230
d8a58354 2310.01 Friday, March 9, 2007
f63e6310 232 - module released to CPAN