0.073 2021-08-04 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [doc] Mention alternative modules Perinci::Sub::Wrapper,
Perinci::CmdLine.
- [doc] Add description for the generated validator code.
0.072 2020-05-10 Released-By: PERLANCAR; Urgency: medium
- Support Data::Sah::Tiny as backend.
0.071 2020-05-08 Released-By: PERLANCAR; Urgency: medium
- Separate on_invalid=bool|str into on_invalid=return with another
option invalid_detail=0|1; so now by default we use Data::Sah option
return_type=>bool (invalid_detail=0) to produce simpler code.
- Remove bench script, now refering to Bencher::Scenarios::ParamsSah.
0.070 2020-05-08 Released-By: PERLANCAR; Urgency: medium
- The validator now forbids extraneous arguments by default, unless
option allow_extra=>1 is given.
- The validator now checks required arguments (e.g. it now dies when 3
parameters are specified but only 2 are given). Optional parameters
can be specified using the 'optional_params' option.
- Allow disabling validation via option disable=>1 (or $OPT_DISABLE=1).
- Observe package variables: $OPT_DISABLE, $OPT_ALLOW_EXTRA,
$OPT_ON_INVALID, $OPT_NAMED.
0.06 2016-06-05 Released-By: PERLANCAR
- No functional changes.
- Bump prereq version Data::Sah from 0.79 -> 0.82 [CT].
0.05 2016-06-02 Released-By: PERLANCAR
- No functional changes.
- Update to Data::Sah 0.79 (introduced v to compilation data,
modules becomes array of records).
- [doc] Mention Perinci::Sub::ValidateArgs and Data::Sah::Params.
0.04 2015-04-22 Released-By: PERLANCAR
- No functional changes.
- Tweak documentation: fix typos, add FAQ entry.
0.03 2015-03-23 Released-By: PERLANCAR
- [Bugfix] When on_invalid=warn|carp, reset $_ps_res for next argument.
- Add a couple of FAQ items.
0.02 2015-03-23 Released-By: PERLANCAR
- No functional changes.
- Minor bug fix, debugging and documentation tweaks, add more tests.
Add benchmark against Params::Validate.
0.01 2015-03-23 Released-By: PERLANCAR
- First release.