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