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