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