Fix Changes
[gitmo/MooseX-Params-Validate.git] / ChangeLog
1 Revision history for Perl extension MooseX-Params-Validate
2
3 0.16 2011-01-29
4     - The validated_list and validated_hash functions now accept the values to
5       be validated as both a hash and a hash reference.
6
7 0.15 2010-11-29
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.
11
12 0.14 2010-03-18
13     - The validated_hash method failed when called on in an overloaded
14       stringify method. Patch by Ian Sillitoe. RT #52565.
15
16 0.13 2009-11-29
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
22 0.12 2009-07-07
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
29 0.11 2009-07-07
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.
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.
38
39 0.10 2009-06-30
40     - Shut up deprecation warnings from the tests. Reported by John
41       Goulah.
42
43 0.09 2009-02-01
44     - The subroutine name being reported in error messages was screwy.
45
46 0.08 2009-02-01
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.
57
58 0.07 2008-09-21
59     - No code changes, just fixing missing prereqs (Dave Rolsky)
60
61 0.06 2008-09-20
62     - Fixes to work with Moose 0.58 (Dave Rolsky)
63
64     - Switched to using Module::Install (Dave Rolsky)
65
66 0.05 2008-03-07
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
73 0.04 2008-01-08
74     - upped the Moose dependency and added support
75       for the new improved Moose type constraints
76       - added tests for this
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
84       POD for more details
85       - added tests for this
86
87 0.03 2007-06-08
88     - added support for using this
89       within role methods too.
90
91 0.02 2007-04-25
92     - added validatep, which returns the captured
93       args as positional instead of as hash
94       - added docs and tests
95
96 0.01 2007-04-18
97     - trying to fill a gap, we will see ...