Doc that each sub accepts references for values
[gitmo/MooseX-Params-Validate.git] / ChangeLog
CommitLineData
d9d1529d 1Revision history for Perl extension MooseX-Params-Validate
2
962b0900 30.16 2011-01-29
4 - All the validation methods now accept both a hash (or array) and a
5 reference.
6
4f39bb79 70.15 2010-11-29
df3c7e86 8 - Add MX_PARAMS_VALIDATE_ALLOW_EXTRA which allows extra parameters in
9 validation calls (like allow_extra for Params::Validate).
5257fe68 10 - Converted to Test::Fatal.
df3c7e86 11
4f39bb79 120.14 2010-03-18
cbd8a418 13 - The validated_hash method failed when called on in an overloaded
14 stringify method. Patch by Ian Sillitoe. RT #52565.
15
4f39bb79 160.13 2009-11-29
d9d1529d 17 - Fix so that validated_hash does not try to coerce optional
18 parameters which are not present. Patch by Ian Sillitoe.
19
20 - Same fix for pos_validated_list. (Dave Rolsky)
21
4f39bb79 220.12 2009-07-07
d9d1529d 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.
28
4f39bb79 290.11 2009-07-07
d9d1529d 30 - The validation functions tried to coerce optional keys which
31 weren't present in the incoming parameters, leading to weird
bb17dbd8 32 errors. Based on a patch from Jos Boumans. RT #46344.
d9d1529d 33
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.
bb17dbd8 38
4f39bb79 390.10 2009-06-30
d9d1529d 40 - Shut up deprecation warnings from the tests. Reported by John
41 Goulah.
42
4f39bb79 430.09 2009-02-01
d9d1529d 44 - The subroutine name being reported in error messages was screwy.
45
4f39bb79 460.08 2009-02-01
d9d1529d 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.
50
51 - Added a new pos_validated_list which can validate position
52 parameters.
53
54 - Errors now reflect the subroutine that called the validation
55 function, rather than coming form inside the validation function
56 itself.
bb17dbd8 57
4f39bb79 580.07 2008-09-21
d9d1529d 59 - No code changes, just fixing missing prereqs (Dave Rolsky)
60
4f39bb79 610.06 2008-09-20
d9d1529d 62 - Fixes to work with Moose 0.58 (Dave Rolsky)
63
64 - Switched to using Module::Install (Dave Rolsky)
65
4f39bb79 660.05 2008-03-07
d9d1529d 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)
70
71 - Added support for coercions (Dave Rolsky)
72
4f39bb79 730.04 2008-01-08
d9d1529d 74 - upped the Moose dependency and added support
75 for the new improved Moose type constraints
76 - added tests for this
bb17dbd8 77
78 - adding caching of the prepared parameter
79 specs, this results in approx. 3x speedup
80 using rough benchmarks.
81
82 - added special caching handlers see the
83 IMPORTANT NOTE ON CACHING section of the
d9d1529d 84 POD for more details
85 - added tests for this
86
4f39bb79 870.03 2007-06-08
bb17dbd8 88 - added support for using this
d9d1529d 89 within role methods too.
90
4f39bb79 910.02 2007-04-25
d9d1529d 92 - added validatep, which returns the captured
93 args as positional instead of as hash
94 - added docs and tests
95
4f39bb79 960.01 2007-04-18
d9d1529d 97 - trying to fill a gap, we will see ...