forked from gphat/data-verifier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChanges
More file actions
173 lines (132 loc) · 4.82 KB
/
Changes
File metadata and controls
173 lines (132 loc) · 4.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
Revision history for Data-Verifier
{{$NEXT}}
* Fix missing Prereqs
0.48 Jul 9 2011
* Use GPHAT dzil bundle
0.47 Jun 10 2011
* Moving skip_string_checks down to where it should be, fixing weird bugs
in repeated use of a verifier profile. (jshirley)
0.46 May 7 2011
* Allow parameters to be HashRef[Str]. This lets you use nested parameters
(foo.bar.baz) without. Filters have also been modified to not assume all
references are arrays.
* Add support for parameterized arrays, where each value of an array with
a type is checked. See Data::Verifier's POD.
0.45 Feb 23 2011
* Document merge method
0.44 Feb 23 2011
* Use Pod::Weaver
0.43 Jan 23 2011
* Various fixes to the synopses
* More dzil love
0.42 2011-01-23 09:37:12 America/Chicago
* Add Git::Commit to make the Changes not be stale
* Make JSON::XS a dep to get tests passing (Thanks ANDK!)
0.41 2011-01-23 09:28:00 America/Chicago
* Use Dist::Zilla
* Fix POD error
* Add get_values to Results (Jason May)
0.40 Jan 17, 2010
* Fix typo in POD (Jason May)
0.39 Jan 3, 2010
* Add JSON::Any to test_requires
0.38
* Add is_wrong predicate to Results object
* Document the internals of Results
* Add a has_field to Results
* is_missing no longer returns true for arbitrary field names
* Add many more tests to the default case
0.37
* Don't dereference ArrayRef values with a single member. (Dennis Schön,
RT #60425)
0.36
* Don't die by attempting to cram a non-arrayref-ref into an array-ref.
0.35
* Point out that D:V stops processing on the first failure
0.34 Jul 13, 2010
* Allow the data passed into verify to be an object rather than just a
HashRef (George Hartzell)
0.33 Jul 9, 2010
* Match what the documentation says and allow the value of "filters" to be
a single coderef or an array of coderefs. (RT #59211, Thanks Ron Savage!)
0.32 June 25, 2010
* POD fix
0.31 April 9, 2010
* Add valid_values to Results class
0.30 March 30, 2010
* Fix accidental warning about the wrong field. We DO serialize original_value!
0.29 March 10, 2010
* Add post_filter_value to Field and populate it with the value after
applying filters.
* Populate original_value with the value that was submitted, unchanged.
This is a slightly invasive change but if the field was valid then it will
re-filter back to the same value so it is considered safe to do.
* Change type of original_value to ArrayRef|Str to handle multiple
values of a param.
0.28 February 2, 2010
* Document that type will allow a TypeConstraint instance and add a test
so if we break it, we know.
* Rename all the tests to not include a number, since the order is not
relevant.
0.27 December 30th, 2009
* Add flatten filter that removes all whitespace.
0.26
* Convert to use native Moose traits
* Pod fixes for RT#52592
0.25
* Don't run filters on undefined values, lest your logs be spammed
(thanks to the most awesomest person ever, jshirley.) (ed: ChangeLog
entry written by jshirley)
0.24
* Fix typo in unknown type constraint error message.
0.23
* Use MooseX::Storage::Deferred so that user can choose serialization style.
(thanks Stevan Little)
0.22
* Throw an exception when an unknown filter is provided to the filter
attribute.
* Allow coderefs to be supplied in the list of filters.
* Add JSON::Any dependency.
* Clarify documentation of filters.
0.21
* Fix type of Field's value attribute (Should've been an Any now that
it is not serialized.
0.20
* Improve Field POD
* Add clear_value to Field and use it rather than value(undef) (which
validates the type constraint and is just bad form.)
* Add original_value attribute that holds the value that was submitted for
the field.
* Result's value is no longer serialized.
0.10
* Change post_check's calling convention after reading some wisdom from
nuffin: http://blog.woobling.org/2009/09/method-style-callbacks.html
* Change internal API to use a field class rather than a bunch of hashes.
0.09
* Document check order
* Clean up post-check test a bit
0.08
* Remove warning
0.07
* Add coercion method and attribute for site-specific coercions (stevan and jshirley)
0.06
* Add post_check key
0.05
* Add dependent key for creating dependent fields
* Result
* Add merge method that adds the supplied result to this one
* Add is_valid, valid_count and valids
* Rejigger most is_* methods to return more appropriate values
0.04
- Properly set coerced values
0.03
- Set invalid values as undef in Results
- Add MooseX::Storage to Results can be serialized
- Add values attribute to Results
- Only validate defined values against types
- Enable coercion
- Add max_length and min_length
0.02
- Honor global filters
0.01
- First version, released on an unsuspecting world.