Revision history for HTTP-Validate
0.471 2015-06-21
- Fixed hash order dependency that was causing a spurious test failure.
0.47 2015-06-09
- Rules of type 'together' and 'at_most_one' can now reference parameters
defined in other rulesets.
0.46 2015-05-10
- New attribute 'bad_value' for parameter rules. If the value given for a
parameter is bad (or all values are bad for a multiple-valued parameter)
this value is returned as the parameter value. If the value is 'ERROR',
then an error is reported instead.
- New method 'specified' in HTTP::Validate::Result, returns true if the
parameter was specified in the request with a non-empty value.
- The method 'keys' in HTTP::Validate::Result now returns all parameter
names for which a non-empty value was specified, even if the value was bad.
The result of calling 'value' on such parameter names will be undef, unless
the 'bad_value' attribute was used.
0.45 2014-09-20
- Many fixes to the documentation
- A few code changes so that this distribution works properly under perl 5.8.1
0.44 2014-09-18
- New method 'list_params', which returns all parameter names accepted
by the given ruleset.
- Method 'document_params' now returns undef if the specified ruleset
was never defined, instead of dieing.
- Validator 'EMPTY_VALUE' has been eliminated
- Validator 'FLAG_VALUE' now accepts boolean values
- New rule attribute 'clean', which specifies the function that should
be applied to parameter values in order to clean them.
- New validation setting 'ignore_unrecognized', which causes warnings
of errors when unrecognized parameters are given.
0.42 2014-06-16
- Fixed a bug which was causing crashes with constraint rules.