| 1 |
Revision history for Getopt-Euclid |
| 2 |
|
| 3 |
0.4.8 2024-10-22 |
| 4 |
- another set of test failures on perls without '.' in @INC |
| 5 |
- Promoting previous trial release to stable |
| 6 |
|
| 7 |
0.4.7 2024-08-28 (TRIAL RELEASE) |
| 8 |
- Don't fail tests on perl >= 5.41.3 (removal of apostrophe as |
| 9 |
package separator (GH PR #2, thanks to jkeenan) |
| 10 |
|
| 11 |
0.4.6 2023-06-28 |
| 12 |
- David Precious (BIGPRESH) taking on maintainership |
| 13 |
- Avoid test failures on perls without '.' in @INC (reported by TODDR in |
| 14 |
RT#127234) |
| 15 |
- Minor wording change (reported by Debian team in RT #95412) |
| 16 |
|
| 17 |
|
| 18 |
0.4.5 2014-03-21 |
| 19 |
- Fixed bug when parsing arguments with missing variable (reported by Torbjørn |
| 20 |
Lindahl) |
| 21 |
|
| 22 |
0.4.4 2013-08-21 |
| 23 |
- Fixed bug with Bleadperl v5.19.2-257-gc30fc27 (bug #87804, reported by |
| 24 |
Andreas Koenig, patch by Dave Mitchell) |
| 25 |
- New process_pod() method to specify arbitrary list of POD files to parse |
| 26 |
(bug #87592, requested by zdm) |
| 27 |
- More optional default checks |
| 28 |
|
| 29 |
0.4.3 2013-07-22 |
| 30 |
- Added a check for .default and .opt_default references in argument description |
| 31 |
- Speed optimizations |
| 32 |
|
| 33 |
0.4.2 2013-07-17 |
| 34 |
- Ignore POD from .pod files generated by earlier versions of Getopt::Euclid |
| 35 |
|
| 36 |
0.4.1 2013-07-17 |
| 37 |
- Support for default values defined based on variables |
| 38 |
|
| 39 |
0.4.0 2013-02-08 |
| 40 |
- Fixed issue with option values that are substrings of others (bug #76728, |
| 41 |
reported by Igor Kleshchevich, patch by James F Hester) |
| 42 |
- Update of META.yml (bug #83221) |
| 43 |
|
| 44 |
0.3.9 2012-12-12 |
| 45 |
- Fixed issues in mutually exclusive arguments that have default values (RT |
| 46 |
bug #81630 again) |
| 47 |
|
| 48 |
0.3.8 2012-12-03 |
| 49 |
- Messages respect order of user options (fixes RT bug #81630) |
| 50 |
- Show --man and --usage in help message |
| 51 |
- Prevent a trailing whitespace in --help usage string |
| 52 |
|
| 53 |
0.3.7 2012-08-08 |
| 54 |
- Fixed too enthusiastic variable interpolation in Euclid specs (RT bug #78854) |
| 55 |
- Fixed bug tracker URL (credits to Kent Fredric) |
| 56 |
|
| 57 |
0.3.6 2012-07-31 |
| 58 |
- Fixed occasional non-minimized entry when using :minimal_keys specifier |
| 59 |
|
| 60 |
0.3.5 2012-02-20 |
| 61 |
- Removed extraneous \E (patch by Todd Rinaldo) |
| 62 |
- Better handling of quoted arguments (RT bug #49525, reported by Ken Galinsky) |
| 63 |
|
| 64 |
0.3.4 2012-02-12 |
| 65 |
- New standard argument --podfile to write the manual in a .pod file |
| 66 |
- Fixed issue where the NAME and VERSION sections appeared as a verbatim |
| 67 |
section (which podchecker complains about) |
| 68 |
- Always convert POD to text when calling help() and man() |
| 69 |
- help() is now paged if IO::Pager::Page is installed |
| 70 |
- Dependency changes: |
| 71 |
Pod::Simple::Text replaces Pod::Text |
| 72 |
Pod::Simple::Text is required instead of recommended, |
| 73 |
IO::Pager::Page is recommended |
| 74 |
|
| 75 |
0.3.3 2012-01-06 |
| 76 |
- Attempt to extract POD even from files that look binary (might be packaged |
| 77 |
with pp, perlapp or similar program) |
| 78 |
|
| 79 |
0.3.2 2011-10-28 |
| 80 |
- Another attempt to make the CPAN indexer happy |
| 81 |
|
| 82 |
0.3.1 2011-10-27 |
| 83 |
- Changed $VERSION to make the CPAN indexer happy |
| 84 |
- Export repeatable options with multiple placeholders as an empty arrayref, |
| 85 |
not as an empty hashref (RT bug #71165, reported by Bill Levering) |
| 86 |
|
| 87 |
0.3.0 2011-09-13 |
| 88 |
- Reverted feature to match POD head section =head2, =head3 and =head4 because |
| 89 |
of backward compatibility issue (RT bug #70942) |
| 90 |
|
| 91 |
0.2.9 2011-09-03 |
| 92 |
- This command does not generate warnings anymore: |
| 93 |
perl -e 'use Getopt::Euclid; print $Getopt::Euclid::VERSION;' |
| 94 |
- Required and optional arguments can now be put in a POD head section =head2, |
| 95 |
=head3 and =head4 for more flexibility |
| 96 |
|
| 97 |
0.2.8 2011-09-02 |
| 98 |
- Support for optional defaults (RT bug #61438, patch from Paolo Medeo) |
| 99 |
- Extended the grammar of recognized POD headers for required and optional arguments: |
| 100 |
[STANDARD|STD|PROGRAM|SCRIPT|CLI|COMMAND[-| ]LINE] [REQUIRED|MANDATORY] [PARAM|PARAMETER|ARG|ARGUMENT][S] |
| 101 |
[STANDARD|STD|PROGRAM|SCRIPT|CLI|COMMAND[-| ]LINE] OPTION[AL|S] [PARAM|PARAMETER|ARG|ARGUMENT][S] |
| 102 |
- Usage error message now mentions the --man option in addition to --help |
| 103 |
|
| 104 |
0.2.7 2011-07-12 |
| 105 |
- Updated dependencies in Build.PL module |
| 106 |
|
| 107 |
0.2.6 2011-07-11 |
| 108 |
- Bugfix: corrected a .pod file finding issue |
| 109 |
|
| 110 |
0.2.5 2011-07-10 |
| 111 |
- Bugfix for #69324: more efficient and accurate POD extraction using Perl::Tidy |
| 112 |
- Bugfix for #29301: automatically looking for POD located into .pod files |
| 113 |
- Bugfix for #69105: file META.yml states which license the module uses |
| 114 |
- Bugfix for #34200: variables in constraint specifications are read as |
| 115 |
originating from the 'main' package namespace |
| 116 |
- Little internal modification to prevent identical placeholders that are |
| 117 |
present multiple times in the specification to be processed multiple times. |
| 118 |
- Error messages for arguments that do not validate against the constraints |
| 119 |
now display the value of variables instead of their name. |
| 120 |
|
| 121 |
0.2.4 2011-06-23 |
| 122 |
- Default values can now be specified in the POD and displayed in the program |
| 123 |
documentation |
| 124 |
- Support for more integer arguments, e.g. scientific notation like 1E8 |
| 125 |
- Support for arguments that cannot coexist using the 'exclude' keyword |
| 126 |
- New specifier to defer processing of @ARGV arguments: :defer |
| 127 |
- New method to pass an arbitrary array of arguments to parsing: process_args |
| 128 |
- New methods to access the program usage, version, manual and help messages |
| 129 |
- When a version number is missing from the POD or $main::VERSION, the file |
| 130 |
time and date are used as version number |
| 131 |
- The help message now includes --version and is more consistent with the |
| 132 |
usage message |
| 133 |
- Bugfix: the options in the help message are no longer randomly sorted |
| 134 |
- Bugfix: the man page is now properly formed when .pm files that have no POD |
| 135 |
are use'd |
| 136 |
- Bugfix: when the --man flag was passed and the script name was, e.g. 'myprog' |
| 137 |
instead of 'myprog - short description', an undef warning was issued |
| 138 |
- Bugfix: when the --help flag was passed and either no required arguments or |
| 139 |
no optional arguments were specified in the POD, an undef warning was issued |
| 140 |
- Bugfix: the POD parsing mechanism now removes rogue PODs hidden inside |
| 141 |
variables and other Perl-quoted strings |
| 142 |
- Bugfix for #34195: addresses compatibility with Perl compiling (syntax check) |
| 143 |
- Bugfix for #34207: .type.error is now taken into account properly |
| 144 |
- Bugfix for #38461: file path that uses the volume and dir |
| 145 |
- Bugfix for #34199: new subroutine _check_name() verifies that argument name |
| 146 |
specifications are well-balanced with <> brackets |
| 147 |
|
| 148 |
0.2.3 Tue Sep 14 2010 |
| 149 |
- #61321 - made tests that require writeable files set own properties to 644 |
| 150 |
|
| 151 |
0.2.2 Thu Sep 9 19:30:55 2010 |
| 152 |
- #28474 - fixed the way name was being parsed |
| 153 |
- #35895 - line delimiters converted to newlines |
| 154 |
- #49524 - fixed way POD parsed so that headers after a =cut get parsed |
| 155 |
properly |
| 156 |
- #55259 - created $SCRIPT_VERSION variable containing parsed version |
| 157 |
- #61039 - don't insert default value for options with optional placeholders |
| 158 |
where the flag is given but a value for the placeholder is not |
| 159 |
|
| 160 |
0.2.1 Sun May 31 12:57:07 2009 |
| 161 |
- Removed BEGIN blocks and simply brought the defined variables to the top |
| 162 |
of the module (thanks Todd) |
| 163 |
- Update POD to make sure people don't "use Getopt::Euclid ();" |
| 164 |
- Removed debugger break point (thanks Diab) |
| 165 |
- Removed no bugs claim in POD |
| 166 |
|
| 167 |
0.2.0 Sat Aug 4 17:22:31 2007 |
| 168 |
- Added fallback to $main::VERSION if version not specified in Pod |
| 169 |
(thanks Todd and Thomas) |
| 170 |
- Added non-zero exit value on bad arg list (thanks Toby) |
| 171 |
- Changed module behaviour: now removes identified arguments from @ARGV. |
| 172 |
on successful match (thanks Aran and Tim) |
| 173 |
- Allowed alternations everywhere (i.e. outside optionals too) |
| 174 |
- Allowed E<lt> and E<gt> in option specifiers (thanks Wes) |
| 175 |
|
| 176 |
0.1.0 Thu Nov 2 19:47:05 2006 |
| 177 |
- Fixed failure to recognize +integer and 0+integer type specification |
| 178 |
(thanks Ron) |
| 179 |
- Added quotemeta'ing of regexically special characters |
| 180 |
(thanks Ron) |
| 181 |
- Repatched :vars<opt_> mode to really export all args |
| 182 |
(thanks again Tim!) |
| 183 |
|
| 184 |
0.0.9 Thu Oct 26 21:18:46 2006 |
| 185 |
- Patched :vars<opt_> mode to export all args (thanks Tim!) |
| 186 |
|
| 187 |
0.0.8 Sun Oct 8 12:45:17 2006 |
| 188 |
- Remove spurious smart comments |
| 189 |
- Added missing documentation for placeholder misspecification diagnostic |
| 190 |
- Made contents of validator subs fallback to main:: |
| 191 |
- Allowed false: flags to be regexes |
| 192 |
- Fixed readable/writable test for '-' (thanks Thomas) |
| 193 |
- Added regexes as valid placeholder type constraints |
| 194 |
|
| 195 |
0.0.7 Tue Oct 3 03:54:01 2006 |
| 196 |
- Added :vars<opt_> mode (thanks Tim!) |
| 197 |
- Fixed option names containing dashes. (thanks Tim!) |
| 198 |
- Fixed minimal matching mode to more accurately detect clashes (thanks |
| 199 |
Thomas) |
| 200 |
- Added user-specified type.error messages (thanks Thomas) |
| 201 |
- Tightened up checking of placeholder type constraints (thanks Tim) |
| 202 |
|
| 203 |
0.0.6 Sun Sep 17 02:48:04 2006 |
| 204 |
- Removed spurious "compilation failed message" for interface errors |
| 205 |
(thanks David!) |
| 206 |
- Added 'repeatable' option (thanks Thomas) |
| 207 |
|
| 208 |
0.0.5 Fri Feb 17 15:52:20 2006 |
| 209 |
- Changed POD::Text to Pod::Text (curse you, case-independent MacOS X!! ;-) |
| 210 |
- Fixed erroneous bug report when only syntax checking with perl -c |
| 211 |
- Fixed bug in license defaults (thanks clpoda!) |
| 212 |
- Added :minimal_keys mode (thanks Thomas) |
| 213 |
|
| 214 |
0.0.4 Thu Aug 4 18:03:28 2005 |
| 215 |
- Fixed embarrassing encoding bug (thanks dakkar!) |
| 216 |
|
| 217 |
0.0.3 Sun Jul 24 20:16:17 2005 |
| 218 |
- Removed need for Smart::Comments |
| 219 |
|
| 220 |
0.0.2 Sat Jul 23 04:37:18 2005 |
| 221 |
No changes logged |
| 222 |
|
| 223 |
0.0.1 Sun Jan 30 20:42:36 2005 |
| 224 |
Initial release. |