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