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