| 1 |
Revision history for Perl module Getopt::Lucid |
| 2 |
|
| 3 |
1.10 2019-10-25 17:12:54-04:00 America/New_York |
| 4 |
|
| 5 |
[Docs] |
| 6 |
|
| 7 |
- Fixed typo |
| 8 |
|
| 9 |
1.09 2018-06-20 23:22:09-06:00 America/Denver |
| 10 |
|
| 11 |
[Added] |
| 12 |
|
| 13 |
- Options object now has a "usage" method that generates |
| 14 |
a usage message from the options spec. |
| 15 |
|
| 16 |
[Changed] |
| 17 |
|
| 18 |
- Unknown option in validation now throws a better error. |
| 19 |
|
| 20 |
1.08 2017-04-15 22:49:56-04:00 America/New_York |
| 21 |
|
| 22 |
- Fixed for perls without . in @INC |
| 23 |
|
| 24 |
1.07 2016-08-20 21:53:47-04:00 America/New_York |
| 25 |
|
| 26 |
- update SYNOPSIS to correct a bug |
| 27 |
|
| 28 |
1.06 2016-01-11 11:18:37-05:00 America/New_York |
| 29 |
|
| 30 |
- update contributors and repository metadata |
| 31 |
|
| 32 |
1.05 2013-03-28 20:01:43 America/New_York |
| 33 |
|
| 34 |
- work around parsing bug in perl 5.12 |
| 35 |
|
| 36 |
1.04 2013-03-27 11:58:02 America/New_York |
| 37 |
|
| 38 |
- added error message for missing values for other |
| 39 |
option types as well |
| 40 |
|
| 41 |
- fixed some documentation typos |
| 42 |
|
| 43 |
- removed documentation of 'required' modifier, which was |
| 44 |
actually removed in 1.00 |
| 45 |
|
| 46 |
1.03 2013-03-27 10:23:55 America/New_York |
| 47 |
|
| 48 |
- added error message for missing parameter value |
| 49 |
|
| 50 |
1.02 2013-03-22 23:44:15 America/New_York |
| 51 |
|
| 52 |
- added newlines to error messages |
| 53 |
|
| 54 |
1.01 2012-02-23 18:07:19 EST5EDT |
| 55 |
|
| 56 |
- fixed validation() to make hashref argument actually optional like |
| 57 |
the documentation says it is [rt.cpan.org #74269] |
| 58 |
- fixed typos in Pod |
| 59 |
|
| 60 |
1.00 2011-12-10 23:32:42 EST5EDT |
| 61 |
|
| 62 |
- new() takes optional hashref of parameters |
| 63 |
- Remove global $STRICT and replace with 'strict' object parameter |
| 64 |
- Remove 'required' modifier for parameters and provide a new |
| 65 |
'validate' method for late checking of prerequisites |
| 66 |
- Fix missing $VERSION |
| 67 |
|
| 68 |
0.19 2010-11-05 17:07:26 EST5EDT |
| 69 |
|
| 70 |
- Added valid() modifier and deprecated old way of validating options |
| 71 |
- Added getopts() as an alias for getopt() |
| 72 |
- Allows setting param default to undef [Robert Bohne] |
| 73 |
|
| 74 |
0.18 Thu Mar 12 00:11:11 EDT 2009 |
| 75 |
- Options with validation specs will not fail just because the option |
| 76 |
is not seen on the command line. Validation is now only done on default |
| 77 |
values provided in the spec or in merge/append/replace (to ensure |
| 78 |
consistency) and on options that appear on the command line. |
| 79 |
|
| 80 |
0.17 Thu Feb 21 07:15:40 EST 2008 |
| 81 |
- Clarify 5.006 as minimum requirement; updated other minimum requirements |
| 82 |
- A repeated param option now replaces instead of throwing an error |
| 83 |
- Fix for ambiguous param bug (RT#33462, patch from Torsten Link) |
| 84 |
- Updated distribution packaging (custom Build.PL, author tests moved |
| 85 |
to xt/ directory, documentation with Pod::WikiDoc, etc.) |
| 86 |
- Changed to the Apache License, version 2.0; (it's clearer, relicensable, |
| 87 |
and is explicit about contributions) |
| 88 |
|
| 89 |
0.16 Thu Aug 17 23:04:38 EDT 2006 |
| 90 |
- Required Param options with validation no longer throw and error |
| 91 |
from failing to validate the default empty-string (fixes RT#20938) |
| 92 |
- Clarified documentation about validation and default values |
| 93 |
- Various Pod revisions |
| 94 |
|
| 95 |
0.14 Wed Feb 8 11:32:22 EST 2006 |
| 96 |
- fixed typo in Pod |
| 97 |
- removed Test::Exception dependencies |
| 98 |
- removed 5.006 specific syntax |
| 99 |
- added optional pod/podcoverage tests (skipped by default) |
| 100 |
- switching to even numbering for releases |
| 101 |
|
| 102 |
0.12 Tue Sep 20 13:10:19 EDT 2005 |
| 103 |
- added support for option names with GNU-style dashes; accessors |
| 104 |
substitute underscore for dashes. (Suggested by Steven Vasilogianis) |
| 105 |
|
| 106 |
0.11 Sat Jul 30 11:03:46 EDT 2005 |
| 107 |
- moved build_requires prereqs into requires to work around |
| 108 |
a CPANPLUS bug for users preferring Build.PL |
| 109 |
- replaced Clone::Any::clone with Storable::dclone for fewer |
| 110 |
non-core dependencies |
| 111 |
- removed Cookbook stub for now |
| 112 |
|
| 113 |
0.10 Tue Jul 12 19:28:59 EDT 2005 |
| 114 |
- Single character (alphanumeric) switches |
| 115 |
- Exception-based error handling |
| 116 |
- Specification validation |
| 117 |
- Command-line validation against spec |
| 118 |
- Bundled single-character switches |
| 119 |
- Long-style (alphanumeric) switches |
| 120 |
- Long/short/multiple switch aliases |
| 121 |
- Keys in resulting option hash are names stripped of any leading dashes |
| 122 |
- Option names/aliases must be unique |
| 123 |
- Option termination string "--" |
| 124 |
- Counters |
| 125 |
- Parameters (w/o "=") (values can't be ambiguous) |
| 126 |
- Parameters (w "=") |
| 127 |
- Lists |
| 128 |
- Pass through non-options (preserving order) |
| 129 |
- Throw exceptions on unrecognized non-bareword options |
| 130 |
- Check for valid and invalid option name characters |
| 131 |
- Keypairs (e.g. "--define os=linux") |
| 132 |
- Bareword options |
| 133 |
- Required options |
| 134 |
- Default values |
| 135 |
- Case insensitivity |
| 136 |
- Validation (regex) |
| 137 |
- Validation (code subroutine) |
| 138 |
- Dependencies |
| 139 |
- parse other arrays than @ARGV |
| 140 |
- names() function |
| 141 |
- accessors for options in spec |
| 142 |
- merge() function |
| 143 |
- pass through single dash |
| 144 |
- provide separate merge_default() and add_default() functions |
| 145 |
- require option_spec for new() |
| 146 |
- make getopt call new if called as a class function and return the object |
| 147 |
not a hash of options |
| 148 |
- provide defaults() and reset_defaults() functions |
| 149 |
- rename push_defaults to append_defaults |
| 150 |
- make sure merge_defaults ignores anything not in the spec |
| 151 |
- implement replace_defaults() |
| 152 |
- make *_defaults check that lists/keypairs are passing right type |
| 153 |
- Support *_defaults() taking a hashref or a hash as input |
| 154 |
- revamp argument spec to new, simpler format |
| 155 |
- validation on lists (validate each value) |
| 156 |
- validation on keypairs (simple validation for keys/values as a whole) |
| 157 |
- "magic" mode as the default: take barewords in spec and handle any form |
| 158 |
that appears to match it |
| 159 |
- add "strict" argument to use for less magic on names/aliases |
| 160 |
- Negation (only for switch/counter/parameter bare/longform): |
| 161 |
sets to zero/undef |
| 162 |
- Negation with = (for list/keypair bare/longform): |
| 163 |
removes matching element/key |
| 164 |
- Negation without = (for list/keypair bare/longform): |
| 165 |
blanks entire list/hash |