1 Revision history for Perl extension MooseX-Params-Validate
3 - Fix tests that broke with new hash randomization in 5.17.6. (Dagfinn
7 - The validated_list and validated_hash functions now accept the values to
8 be validated as both a hash and a hash reference.
11 - Add MX_PARAMS_VALIDATE_ALLOW_EXTRA which allows extra parameters in
12 validation calls (like allow_extra for Params::Validate).
13 - Converted to Test::Fatal.
16 - The validated_hash method failed when called on in an overloaded
17 stringify method. Patch by Ian Sillitoe. RT #52565.
20 - Fix so that validated_hash does not try to coerce optional
21 parameters which are not present. Patch by Ian Sillitoe.
23 - Same fix for pos_validated_list. (Dave Rolsky)
26 - Using the subroutine name as a cache key for validation specs
27 broke in the face of method modifiers, which all appear to have
28 the same name. Now we use Devel::Caller to get the CV of the
29 caller and use its refaddr as the key, which will be unique in
30 all cases. Bug report by Jos Boumans. RT #46730.
33 - The validation functions tried to coerce optional keys which
34 weren't present in the incoming parameters, leading to weird
35 errors. Based on a patch from Jos Boumans. RT #46344.
37 - Allow other callbacks to be specified. Previously these were
38 silently thrown out. But we'd recommend just defining types that
39 encapsulate everything in the callback instead. Based on a patch
40 from Jos Boumans. RT #47647.
43 - Shut up deprecation warnings from the tests. Reported by John
47 - The subroutine name being reported in error messages was screwy.
50 - Renamed validate to validated_hash and validatep to
51 validated_list. The old function names are still available under
52 the ":deprecated" import tag.
54 - Added a new pos_validated_list which can validate position
57 - Errors now reflect the subroutine that called the validation
58 function, rather than coming form inside the validation function
62 - No code changes, just fixing missing prereqs (Dave Rolsky)
65 - Fixes to work with Moose 0.58 (Dave Rolsky)
67 - Switched to using Module::Install (Dave Rolsky)
70 - This package would cause a fatal error if loaded
71 by a non-Moose class (Dave Rolsky)
72 - added tests for this (Dave Rolsky)
74 - Added support for coercions (Dave Rolsky)
77 - upped the Moose dependency and added support
78 for the new improved Moose type constraints
79 - added tests for this
81 - adding caching of the prepared parameter
82 specs, this results in approx. 3x speedup
83 using rough benchmarks.
85 - added special caching handlers see the
86 IMPORTANT NOTE ON CACHING section of the
88 - added tests for this
91 - added support for using this
92 within role methods too.
95 - added validatep, which returns the captured
96 args as positional instead of as hash
97 - added docs and tests
100 - trying to fill a gap, we will see ...