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