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