Pull exiting with useage out into a method
[gitmo/MooseX-Getopt.git] / ChangeLog
CommitLineData
5dac17c3 1Revision history for Perl extension MooseX-Getopt
2
6ac74298 30.24 Fri. Oct 23 2009
4 * MooseX::Getopt
5 - Fix bug with mixed case attribute names (MAROS)
6
5581bb1c 70.23 Fri. Oct 02 2009
8 * MooseX::Getopt
18fa5e72 9 - Allow the config file to return a code ref which is called to return
5581bb1c 10 the config file location (Gordon Irving)
11
38b93252 120.22 Sat. Sept 05 2009
13 - Require GLD 0.077 for RT#49427 as some versions are broken
14
30ed85f7 15 * MooseX::Getopt
16 - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
17 and MooseX::Getopt::GLD.
f7655c45 18
b38b654a 19 * Tests
20 - Ensure author tests get run when in author mode.
21
a0697e31 220.21 Thu. Aug 27 2009
f7655c45 23 * MooseX::Getopt
24 - Enable and document the argv parameter to the constructor.
c2f6e86c 25 - Applied patches in RT43200 and RT43255
2c379a5c 26 - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
27 default config file name.
f7655c45 28
a2664368 290.20 Wed. July 9 2009
2c379a5c 30 - fix MANIFEST.SKIP to avoid double-packaging
a2664368 31
7ff9f8b5 320.19 Wed. July 8 2009
33 * MooseX::Getopt
34 - Fix Getopt config spec for --configfile (t0m)
35 - Add support for --usage/--help/--? (drew@drewtaylor.com)
36 - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
37
38 * Tests
39 - Fix warning from tests with new Moose (t0m)
40 - Fix tests on Win32 from RT#44909 (taro-nishino)
6634c7e2 41
5f78e881 420.18 Thu. April 9 2009
c2f6e86c 43 * MooseX::Getopt::Dashes
44 - New module, for converting undercores to dashes (ilmari)
5f78e881 45
091954ec 460.17 Wed. April 8 2009
e2dcd71d 47 * MooseX::Getopt
c2f6e86c 48 - work with latest Moose (hdp)
e2dcd71d 49
091954ec 50 ~ unify module version numbers with dist version (hdp)
51
98efc899 520.16 Tue. February 17 2009
53 * t/
54 - run pod tests only if RELEASE_TESTING env var is set
55
a1171b4d 560.15 Sat. July 26 2008
57 * MooseX::Getopt::OptionTypeMap
58 - Accept type constraint objects in the type mapping, not just names
59
630657d5 600.14 Thurs. July 10, 2008
d64acebb 61 * MooseX::Getopt::OptionTypeMap
62 - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
630657d5 63
64 * MooseX::Getopt
65 - removed the default handling with Getopt::Long::Descriptive
66 as it would override constructor parameters and that was
67 bad. Besides, Moose will just DWIM on this anyway. (stevan)
68 - added test for it (stevan)
69
70 * t/
71 - fixed Getopt::Long::Descriptive specific tests to only run
72 if Getopt::Long::Descriptive is there (stevan)
d64acebb 73
cd9a4a41 740.13 Saturday, May 24, 2008
78a71ae5 75 * MooseX::Getopt
76 - Commandline option shouldn't be required in the
77 case that the given "required" attribute has
78 been loaded from config (MooseX::ConfigFromFile)
9f1ec7c0 79 - Support for MooseX::ConfigFromFile shouldn't require
e1bab572 80 that role be added at the same level as Getopt.
2814de27 81 - fixed miscapitalization of NoGetopt in the docs
82 - added links to the traits in the docs
cd9a4a41 83
84 ~ converted to Module::Install instead of
85 Module::Build
78a71ae5 86
adbe3e57 870.12 Fri. March 14, 2008
88 ~~ updated copyright dates ~~
78a71ae5 89
adbe3e57 90 - upped the Moose dependency to support
91 the custom metaclass traits
78a71ae5 92 - added Getopt::Long::Descriptive as an
adbe3e57 93 optional dependency
94
95 * MooseX::Getopt
96 MooseX::Getopt::Meta::Attribute
97 MooseX::Getopt::Meta::Attribute::Trait
98 MooseX::Getopt::Meta::Attribute::NoGetopt
99 MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
78a71ae5 100 - added support for custom metaclass traits
adbe3e57 101 - added tests for this
102
6c329add 1030.11 Sun. Jan. 27, 2008
104 * MooseX::Getopt
adbe3e57 105 - Commandline option shouldn't be required in the
106 case that the given "required" attribute has
107 a default or a builder method.
6c329add 108
b4a79051 1090.10 Wed. Jan. 23, 2008
110 * MooseX::Getopt
adbe3e57 111 - Support default configfile attribute when
112 used with MooseX::ConfigFromFile-based roles
b4a79051 113
08ff0d65 1140.09 Tues. Jan. 22, 2008
115 * MooseX::Getopt
adbe3e57 116 - Use Getopt::Long::Descriptive if it's available
08ff0d65 117
384fb15d 1180.08 Tues. Dec. 8, 2007
ee69c4ba 119 * MooseX::Getopt
120 - Added support for configfile loading via
121 MooseX::ConfigFromFile-based roles with
122 the -configfile commandline option.
123
29e4cc39 1240.07 Tues. Dec. 4, 2007
78a71ae5 125 * MooseX::Getopt::Meta::Attribute::NoGetopt
6ac028c4 126 - fixed miscapitalization of NoGetopt in the docs
127
f969917f 1280.06 Fri. Nov. 23, 2007
26be7f7e 129 * MooseX::Getopt
78a71ae5 130 - refactored &new_with_option some so that
131 this will work better with other Getopt
26be7f7e 132 modules (nuffin)
78a71ae5 133
0f8232b6 134 + MooseX::Getopt::Strict
78a71ae5 135 - version of MooseX::Getopt which requires
136 you to specify which attributes you want
0f8232b6 137 processed explicity
138 - added tests for this
78a71ae5 139
0f8232b6 140 + MooseX::Getopt::Meta::Attribute::NoGetopt
78a71ae5 141 - a custom meta-attribute which can be
142 used to specify that an attribute should
0f8232b6 143 not be processed
144 - added tests for this
26be7f7e 145
db536e20 1460.05 Tues. July 3, 2007
2482085f 147 * MooseX::Getopt::OptionTypeMap
78a71ae5 148 - added some checks to make sure that the type
149 constraints are found properly and to give
db536e20 150 better diagnostics
2482085f 151
1566a17b 1520.04 Tues. June 26, 2007
f63e6310 153 * MooseX::Getopt::OptionTypeMap
154 - Added support for subtype constraint inference
78a71ae5 155 from parent types
f63e6310 156 - added tests and docs for this
157 * MooseX::Getopt
158 - Added extra_argv attribute
159 - added tests and docs for this
f7695a83 160 - We now unmangle the Getopt::Long-mangled @ARGV
f63e6310 161 - added tests and docs for this
162 - We now throw an exception from new_with_options
163 if Getopt fails due to bad arguments.
164 - added tests and docs for this
165
3d9a716d 1660.03 Wed. May 2nd, 2007
167 ~ downgraded the Getopt version requirement
e2911e34 168 to 2.35 as per RT #26844
3d9a716d 169 ~ adding blblack to the authors list
78a71ae5 170
171 * MooseX::Getopt
172 - doc update to show simple way to of excluding
173 an attribute, but not having accessors with
3d9a716d 174 underscores (thanks to Zaba on #moose for this)
175 * MooseX::Getopt::Meta::Attribute
78a71ae5 176 - tightening up the type constraint in the
3d9a716d 177 cmd_alias coercion to only accept strings
e2911e34 178
1c3e6142 1790.02 Friday, April 6, 2007
1a8b4ed1 180 * MooseX::Getopt
181 - added the ARGV attribute (thanks to blblack)
182 - added tests and docs for this
183
184 * MooseX::Getopt::Meta::Attribute
185 - added the cmd_aliases attribute (thanks to blblack)
186 - added tests and docs for this
78a71ae5 187 - added support for Moose 0.19's custom
1a8b4ed1 188 attribute metaclass alias registry.
189 - added tests and docs for this
190
d8a58354 1910.01 Friday, March 9, 2007
f63e6310 192 - module released to CPAN