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