8a43107b6c96d0374efc6dd3047c7bd17310d5cf
[gitmo/MooseX-Getopt.git] / Changes
1 Revision history for Perl extension MooseX-Getopt
2
3 {{$NEXT}}
4
5 0.47      2012-08-30 16:37:59 PDT-0700
6  - re-release to remove double $VERSION declarations
7
8 0.46      2012-08-30 15:17:28 PDT-0700
9  - -h is also treated as a --help option
10
11 0.45      2012-05-13 09:49:58 PDT-0700
12  - use Path::Class in test to avoid test failures on MSWin32 with filename
13    construction
14
15 0.44      2012-05-11 10:44:48 PDT-0700
16  - now respecting value of configfile passed to the constructor, when used in
17    conjunction with MooseX::ConfigFromFile. (Karen Etheridge)
18
19 0.43      2012-04-29 09:35:52 PDT-0700
20  - re-release as non-trial.
21
22 0.42-TRIAL 2012-04-15 09:13:05 PDT-0700
23  - reformatted the Changes file, with the help of CPAN::Changes, to something
24    a little more standard.
25  - more release-only tests added
26
27 0.41-TRIAL 2012-04-14 18:36:00 PDT-0700
28  - Now bails with exit status 0, rather than dying, when printing
29    requested --usage/--help information (usage printed via invalid arguments
30    will still die, however). (Karen Etheridge)
31
32 0.40      2012-04-13
33  - Fix tests when MooseX::ConfigFromFile is installed, with
34    Getopt::Long::Descriptive >= 0.091. RT#76287
35  - Pod fix from debian. Salvatore Bonaccorso <carnil@debian.org> RT#74681
36  - Spelling fix from debian. Jonathan Yu <jawnsy@cpan.org> RT#74681
37
38 0.39      2012-02-03
39  - Fix argument parsing in process_argv when used with ConfigFromFile so
40    that -v can be used as expected, rather than being grabbed as --version
41
42 0.38      2011-12-23
43  - More documentation on Getopt::Long settings and how they alter this
44    role's behaviour, in particular with regards to extra_argv capturing.
45    (Karen Etheridge)
46
47 0.37      2011-03-30
48  - Fix missing dependency. (RT#67077)
49
50 0.36      2011-03-29
51  - Fix dist.ini 'Prereq' into 'Prereqs' (Damien Krotkine)
52  - MooseX::Getopt::GLD
53    - change it to a MooseX::Role::Parameterized, so that it accepts
54      'getopt_conf' parameter (Damien Krotkine)
55
56 0.35      2011-02-09
57  - Fix missed change from Test::Exception to Test::Fatal
58
59 0.34      2011-02-08
60  - The test suite now uses Test::Fatal instead of Test::Exception. (Karen
61    Etheridge)
62  - Move most of new_with_options logic into separate publically accessible
63    process_argv method, so that arg processing can be done without actually
64    creating object (Jonathan Swartz)
65
66 0.33      2010-08-26
67  - Remove Test::Most from newly added test (RT#60766)
68
69 0.32      2010-08-26
70  - Fix handling of Union types (RT#58417)
71
72 0.31      2010-07-07
73  - Fix issue causing tests to fail if MooseX::SimpleConfig isn't installed.
74
75 0.30      2010-07-06
76  - MooseX::Getopt::Basic
77    - uses attribute insertion order when determining the order in which
78      options are documented in the usage (e.g. in $obj->usage->text). (Karen
79      Etheridge)
80
81  - MooseX::Getopt::Basic
82    - store the usage object to the usage attr (RT#58715)
83    - properly checks whether the *option* --help, --usage, or --? were used,
84      rather than the attribute 'help', 'usage' or '?' were set
85  - MooseX::Getopt::GLD
86    - add the usage attribute for storing the Getopt::Long::Descriptive::Usage
87      object, and the help attribute for storing --help, --usage and --? state
88  (RT#47865, RT#56783, RT#52474).  (Karen Etheridge)
89
90  - MooseX::Getopt::Basic
91    - Disable auto_help config in Getopt::Long, to avoid calling into pod2usage
92      when the --help option is used while MooseX::ConfigFromFile is in use
93      (the intent is just to fetch the value of the configfile option)
94      (RT#57683). (Karen Etheridge)
95
96 0.29      2010-06-15
97  - Fix repository metadata. Thanks Robert Bohne for noticing!
98
99 0.28      2010-06-05
100  - MooseX::Getopt::Strict
101    - Make it work with Getopt attribute traits in addition to attribute
102      metaclasses.
103  - Switch from Module::Install to Dist::Zilla.
104
105 0.27      2010-02-10
106  - Makefile.PL
107    - Bump dependency to Getopt::Long::Descriptive to 0.081 in an attempt to
108      avoid test failures.
109  - MooseX::Getopt::Dashes
110    - Document that using a cmd_flag argument to attributes can be used to
111      override the tr/_/-/ replacement ::Dashes does on attribute names
112
113 0.26      2009-12-10
114  - MooseX::Getopt::Basic
115    - Fix bug with attribute names containing upper case letters.
116  - Test suite
117    - Add t/106_no_ignore_case.t for testing the compatibility with
118      no_ignore_case
119
120 0.25      2009-11-26
121  - MooseX::Getopt
122    - Split out the warnings and the exception from Getopt so that they can be
123      overridden.
124   - Split out calling ->die on Getopt::Long::Descriptive::Usage so that it can
125     be overridden.
126    - Properly split roles as promised in 0.22.
127
128 0.24      2009-10-23
129  - MooseX::Getopt
130    - Fix bug with mixed case attribute names (MAROS)
131
132 0.23      2009-10-02
133  - MooseX::Getopt
134    - Allow the config file to return a code ref which is called to return the
135      config file location (Gordon Irving)
136
137 0.22      2009-09-05
138  - Require GLD 0.077 for RT#49427 as some versions are broken
139  - MooseX::Getopt
140    - Split into MooseX::Getopt::Basic (without the G::L::Descriptive support)
141      and MooseX::Getopt::GLD.
142  - Tests
143    - Ensure author tests get run when in author mode.
144
145 0.21      2009-08-27
146  - MooseX::Getopt
147    - Enable and document the argv parameter to the constructor.
148    - Applied patches in RT43200 and RT43255
149    - Applied patch from RT#47766 to not die if SimpleConfig cannot find the
150      default config file name.
151
152 0.20      2009-07-09
153  - fix MANIFEST.SKIP to avoid double-packaging
154
155 0.19      2009-07-08
156  - MooseX::Getopt
157    - Fix Getopt config spec for --configfile (t0m)
158    - Add support for --usage/--help/--? (drew@drewtaylor.com)
159    - Fix new_with_options to accept a hashref (DOUGDUDE@cpan.org)
160  - Tests
161    - Fix warning from tests with new Moose (t0m)
162    - Fix tests on Win32 from RT#44909 (taro-nishino)
163
164 0.18      2009-04-09
165  - MooseX::Getopt::Dashes
166    - New module, for converting undercores to dashes (ilmari)
167
168 0.17      2009-04-08
169  - MooseX::Getopt
170    - work with latest Moose (hdp)
171    - unify module version numbers with dist version (hdp)
172
173 0.16      2009-02-17
174  - Tests
175    - run pod tests only if RELEASE_TESTING env var is set
176
177 0.15      2008-07-26
178  - MooseX::Getopt::OptionTypeMap
179    - Accept type constraint objects in the type mapping, not just names
180
181 0.14      2008-07-10
182  - MooseX::Getopt::OptionTypeMap
183    - Change 'Float' which doesn't exist to 'Num' which does (perigrin)
184  - MooseX::Getopt
185    - removed the default handling with Getopt::Long::Descriptive as it would
186      override constructor parameters and that was bad. Besides, Moose will
187      just DWIM on this anyway. (stevan)
188      - added test for it (stevan)
189  - Tests
190    - fixed Getopt::Long::Descriptive specific tests to only run if
191      Getopt::Long::Descriptive is there (stevan)
192
193 0.13      2008-05-24
194  - MooseX::Getopt
195    - Commandline option shouldn't be required in the case that the given
196      "required" attribute has been loaded from config (MooseX::ConfigFromFile)
197    - Support for MooseX::ConfigFromFile shouldn't require that role be added
198      at the same level as Getopt.
199    - fixed miscapitalization of NoGetopt in the docs
200    - added links to the traits in the docs
201  - converted to Module::Install instead of Module::Build
202
203 0.12      2008-03-14
204  - updated copyright dates
205  - upped the Moose dependency to support the custom metaclass traits
206  - added Getopt::Long::Descriptive as an optional dependency
207  - MooseX::Getopt MooseX::Getopt::Meta::Attribute
208    MooseX::Getopt::Meta::Attribute::Trait
209    MooseX::Getopt::Meta::Attribute::NoGetopt
210    MooseX::Getopt::Meta::Attribute::Trait::NoGetopt
211    - added support for custom metaclass traits
212      - added tests for this
213
214 0.11      2008-01-27
215  - MooseX::Getopt
216    - Commandline option shouldn't be required in the case that the given
217      "required" attribute has a default or a builder method.
218
219 0.10      2008-01-23
220  - MooseX::Getopt
221    - Support default configfile attribute when used with
222      MooseX::ConfigFromFile-based roles
223
224 0.09      2008-01-22
225  - MooseX::Getopt
226    - Use Getopt::Long::Descriptive if it's available
227
228 0.08      2007-12-08
229  - MooseX::Getopt
230    - Added support for configfile loading via MooseX::ConfigFromFile-based
231      roles with the -configfile commandline option.
232
233 0.07      2007-12-04
234  - MooseX::Getopt::Meta::Attribute::NoGetopt
235    - fixed miscapitalization of NoGetopt in the docs
236
237 0.06      2007-11-23
238  - MooseX::Getopt
239    - refactored &new_with_option some so that this will work better with other
240      Getopt modules (nuffin)
241  - MooseX::Getopt::Strict
242    - version of MooseX::Getopt which requires you to specify which attributes
243      you want processed explicity
244      - added tests for this
245  - MooseX::Getopt::Meta::Attribute::NoGetopt
246    - a custom meta-attribute which can be used to specify that an attribute
247      should not be processed
248      - added tests for this
249
250 0.05      2007-07-03
251  - MooseX::Getopt::OptionTypeMap
252    - added some checks to make sure that the type constraints are found
253      properly and to give better diagnostics
254
255 0.04      2007-06-26
256  - MooseX::Getopt::OptionTypeMap
257    - Added support for subtype constraint inference from parent types
258      - added tests and docs for this
259  - MooseX::Getopt
260    - Added extra_argv attribute
261      - added tests and docs for this
262    - We now unmangle the Getopt::Long-mangled @ARGV
263      - added tests and docs for this
264    - We now throw an exception from new_with_options if Getopt fails due to
265      bad arguments.
266      - added tests and docs for this
267
268 0.03      2007-05-02
269  - downgraded the Getopt version requirement to 2.35 as per RT #26844
270  - adding blblack to the authors list
271  - MooseX::Getopt
272    - doc update to show simple way to of excluding an attribute, but not
273      having accessors with underscores (thanks to Zaba on #moose for this)
274  - MooseX::Getopt::Meta::Attribute
275    - tightening up the type constraint in the cmd_alias coercion to only
276      accept strings
277
278 0.02      2007-04-06
279  - MooseX::Getopt
280    - added the ARGV attribute (thanks to blblack)
281      - added tests and docs for this
282  - MooseX::Getopt::Meta::Attribute
283    - added the cmd_aliases attribute (thanks to blblack)
284      - added tests and docs for this
285    - added support for Moose 0.19's custom attribute metaclass alias registry.
286      - added tests and docs for this
287
288 0.01      2007-03-09
289  - module released to CPAN