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