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