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