1 Revision history for Perl extension MooseX-Params-Validate
3 0.13 Sun., Nov. 29, 2009
4 - Fix so that validated_hash does not try to coerce optional
5 parameters which are not present. Patch by Ian Sillitoe.
7 - Same fix for pos_validated_list. (Dave Rolsky)
10 - Using the subroutine name as a cache key for validation specs
11 broke in the face of method modifiers, which all appear to have
12 the same name. Now we use Devel::Caller to get the CV of the
13 caller and use its refaddr as the key, which will be unique in
14 all cases. Bug report by Jos Boumans. RT #46730.
16 0.11 Tue. Jul. 7, 2009
17 - The validation functions tried to coerce optional keys which
18 weren't present in the incoming parameters, leading to weird
19 errors. Based on a patch from Jos Boumans. RT #46344.
21 - Allow other callbacks to be specified. Previously these were
22 silently thrown out. But we'd recommend just defining types that
23 encapsulate everything in the callback instead. Based on a patch
24 from Jos Boumans. RT #47647.
26 0.10 Tue. Jun. 30, 2009
27 - Shut up deprecation warnings from the tests. Reported by John
30 0.09 Sun. Feb. 1, 2009
31 - The subroutine name being reported in error messages was screwy.
33 0.08 Sun. Feb. 1, 2009
34 - Renamed validate to validated_hash and validatep to
35 validated_list. The old function names are still available under
36 the ":deprecated" import tag.
38 - Added a new pos_validated_list which can validate position
41 - Errors now reflect the subroutine that called the validation
42 function, rather than coming form inside the validation function
45 0.07 Sun. Sep. 21, 2008
46 - No code changes, just fixing missing prereqs (Dave Rolsky)
48 0.06 Sat. Sep. 20, 2008
49 - Fixes to work with Moose 0.58 (Dave Rolsky)
51 - Switched to using Module::Install (Dave Rolsky)
53 0.05 Fri. Mar. 7th, 2008
54 - This package would cause a fatal error if loaded
55 by a non-Moose class (Dave Rolsky)
56 - added tests for this (Dave Rolsky)
58 - Added support for coercions (Dave Rolsky)
60 0.04 Tues. Jan. 8th, 2008
61 - upped the Moose dependency and added support
62 for the new improved Moose type constraints
63 - added tests for this
65 - adding caching of the prepared parameter
66 specs, this results in approx. 3x speedup
67 using rough benchmarks.
69 - added special caching handlers see the
70 IMPORTANT NOTE ON CACHING section of the
72 - added tests for this
74 0.03 Fri. June 8th, 2007
75 - added support for using this
76 within role methods too.
78 0.02 Wed. April 25, 2007
79 - added validatep, which returns the captured
80 args as positional instead of as hash
81 - added docs and tests
83 0.01 Wed. April 18, 2007
84 - trying to fill a gap, we will see ...