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