Commit | Line | Data |
e7f89b33 |
1 | {{$NEXT}} |
1cf88c4f |
2 | - Fix tests that broke with new hash randomization in 5.17.6. (Dagfinn |
3 | Ilmari Mannsåker) |
3e1b1e06 |
4 | |
962b0900 |
5 | 0.16 2011-01-29 |
a3a3bbfe |
6 | - The validated_list and validated_hash functions now accept the values to |
7 | be validated as both a hash and a hash reference. |
962b0900 |
8 | |
4f39bb79 |
9 | 0.15 2010-11-29 |
df3c7e86 |
10 | - Add MX_PARAMS_VALIDATE_ALLOW_EXTRA which allows extra parameters in |
11 | validation calls (like allow_extra for Params::Validate). |
5257fe68 |
12 | - Converted to Test::Fatal. |
df3c7e86 |
13 | |
4f39bb79 |
14 | 0.14 2010-03-18 |
cbd8a418 |
15 | - The validated_hash method failed when called on in an overloaded |
16 | stringify method. Patch by Ian Sillitoe. RT #52565. |
17 | |
4f39bb79 |
18 | 0.13 2009-11-29 |
d9d1529d |
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 | |
4f39bb79 |
24 | 0.12 2009-07-07 |
d9d1529d |
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 | |
4f39bb79 |
31 | 0.11 2009-07-07 |
d9d1529d |
32 | - The validation functions tried to coerce optional keys which |
33 | weren't present in the incoming parameters, leading to weird |
bb17dbd8 |
34 | errors. Based on a patch from Jos Boumans. RT #46344. |
d9d1529d |
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. |
bb17dbd8 |
40 | |
4f39bb79 |
41 | 0.10 2009-06-30 |
d9d1529d |
42 | - Shut up deprecation warnings from the tests. Reported by John |
43 | Goulah. |
44 | |
4f39bb79 |
45 | 0.09 2009-02-01 |
d9d1529d |
46 | - The subroutine name being reported in error messages was screwy. |
47 | |
4f39bb79 |
48 | 0.08 2009-02-01 |
d9d1529d |
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. |
bb17dbd8 |
59 | |
4f39bb79 |
60 | 0.07 2008-09-21 |
d9d1529d |
61 | - No code changes, just fixing missing prereqs (Dave Rolsky) |
62 | |
4f39bb79 |
63 | 0.06 2008-09-20 |
d9d1529d |
64 | - Fixes to work with Moose 0.58 (Dave Rolsky) |
65 | |
66 | - Switched to using Module::Install (Dave Rolsky) |
67 | |
4f39bb79 |
68 | 0.05 2008-03-07 |
d9d1529d |
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 | |
4f39bb79 |
75 | 0.04 2008-01-08 |
d9d1529d |
76 | - upped the Moose dependency and added support |
77 | for the new improved Moose type constraints |
78 | - added tests for this |
bb17dbd8 |
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 |
d9d1529d |
86 | POD for more details |
87 | - added tests for this |
88 | |
4f39bb79 |
89 | 0.03 2007-06-08 |
bb17dbd8 |
90 | - added support for using this |
d9d1529d |
91 | within role methods too. |
92 | |
4f39bb79 |
93 | 0.02 2007-04-25 |
d9d1529d |
94 | - added validatep, which returns the captured |
95 | args as positional instead of as hash |
96 | - added docs and tests |
97 | |
4f39bb79 |
98 | 0.01 2007-04-18 |
d9d1529d |
99 | - trying to fill a gap, we will see ... |