Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 449 lines (240 sloc) 12.536 kB
c1e0fe4 Initial commit, split from Data-Sah
Steven Haryanto (on PC) authored
1 Revision history for Sah
2
0af15cb @perlancar Release v0.9.37
authored
3 0.9.37 2015-06-11 (PERLANCAR)
4
5 - No spec changes.
6
7 - spectest: Add ID number to type tests, produce canonical (sorted keys)
8 JSON.
9
10
b52f1c9 @perlancar Release v0.9.36
authored
11 0.9.36 2015-05-05 (PERLANCAR)
d6a8d0d @perlancar Rename hash clause dep_one -> dep_any, req_dep_one -> req_dep_any
authored
12
13 - Rename dep_one -> dep_any, req_dep_one -> req_dep_any because those
14 are the more apt names.
15
16
cf37dad @perlancar Release v0.9.35
authored
17 0.9.35 2015-05-05 (PERLANCAR)
18
19 - No spec changes.
20
21 - Fix spectests for req_dep_one & req_dep_all.
22
23
e52cc42 @perlancar Release v0.9.34
authored
24 0.9.34 2015-04-30 (PERLANCAR)
25
26 - Add clauses for hash: choose_one_key (choose_one), choose_all_keys
27 (choose_all), req_one_key (req_one), dep_one, dep_all, req_dep_one,
d6a8d0d @perlancar Rename hash clause dep_one -> dep_any, req_dep_one -> req_dep_any
authored
28 req_dep_all. UPDATE: dep_one has been renamed to dep_any, req_dep_one
29 to req_dep_any.
e52cc42 @perlancar Release v0.9.34
authored
30
31 - Add aliases req_all_keys & req_all for hash clause req_keys.
32
33
a69f8ad @perlancar Release v0.9.33
authored
34 0.9.33 2015-04-08 (PERLANCAR)
35
36 - No spec changes.
37
38 - Add a test for any.
39
40
223fbc2 @perlancar Release v0.9.32
authored
41 0.9.32 2015-02-14 (PERLANCAR) - The Day After Friday The 13th
42
43 - No spec changes.
44
45 - Update text which still says *.{human,err_msg}.LANGCODE instead of
46 *.{human,err_msg}.alt.lang.LANGCODE.
47
48
a96c81e @perlancar Release v0.9.31
authored
49 0.9.31 2014-10-23 (PERLANCAR)
50
51 - Add clause for string: encoding.
52
53
a820470 Release v0.9.30
Steven Haryanto (on Asus Zenbook) authored
54 0.9.30 2013-11-25 (SHARYANTO)
55
56 - No spec changes. Fix spectest for 're_keys' clause.
57
58
9587ecd Release v0.9.29
Steven Haryanto (on Asus Zenbook) authored
59 0.9.29 2013-11-23 (SHARYANTO)
3a6e2ba dist: Update Changes
Steven Haryanto (on Asus Zenbook) authored
60
ae45c70 Wording
Steven Haryanto (on Asus Zenbook) authored
61 - Add spectests for all types and clauses and properties that have not
62 been equipped with them. The spectest is now pretty complete and
63 covers most of the specification document. Some clause attributes and
64 advanced features (like expresssion and function) have not been
65 covered though.
7ea13bd dist: Update Changes
Steven Haryanto (on Asus Zenbook) authored
66
67 [INCOMPATIBLE CHANGES]
68
69 - Rename obj properties: 'methods' -> 'meths', 'attributes' -> 'attrs'.
70 This is to be consistent with design principle 'abbreviate when
71 common abbreviation is present and won't introduce ambiguity'.
3a6e2ba dist: Update Changes
Steven Haryanto (on Asus Zenbook) authored
72
7ea13bd dist: Update Changes
Steven Haryanto (on Asus Zenbook) authored
73 [REMOVED FEATURES]
74
75 - Remove hash 'req_keys_re', which doesn't make any sense.
3a6e2ba dist: Update Changes
Steven Haryanto (on Asus Zenbook) authored
76
77
005c9c5 Release v0.9.28
Steven Haryanto (on Asus Zenbook) authored
78 0.9.28 2013-11-21 (SHARYANTO)
79
80 - No spec changes. Rebuild with updated
81 Dist::Zilla::Plugin::ShareDir::Tarball (0.9.27 temporarily reverts to
82 using ShareDir due to garbled shared-files.tar.gz problem).
83
84
12c0afb Release v0.9.27
Steven Haryanto (on Asus Zenbook) authored
85 0.9.27 2013-11-20 (SHARYANTO)
57b0b02 dist: Prepare Changes
Steven Haryanto (on Asus Zenbook) authored
86
87 [NEW FEATURES]
88
12c0afb Release v0.9.27
Steven Haryanto (on Asus Zenbook) authored
89 - Add clauses for hash: 'req_keys_re', 'forbidden_keys',
90 'forbidden_keys_re'.
57b0b02 dist: Prepare Changes
Steven Haryanto (on Asus Zenbook) authored
91
92 [ENHANCEMENTS]
93
12c0afb Release v0.9.27
Steven Haryanto (on Asus Zenbook) authored
94 - Add spectests for: hash's {req,allowed,forbidden}_keys{,_re}.
57b0b02 dist: Prepare Changes
Steven Haryanto (on Asus Zenbook) authored
95
12c0afb Release v0.9.27
Steven Haryanto (on Asus Zenbook) authored
96 - Add tags to tests, so an implementation can more easily skip some
97 tests.
57b0b02 dist: Prepare Changes
Steven Haryanto (on Asus Zenbook) authored
98
99
ee65209 Release v0.9.26
Steven Haryanto (on PC) authored
100 0.9.26 2013-02-13 (SHARYANTO)
101
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
102 - No spec changes. Add FAQ entry on using abbreviations in type/clause
103 names.
ee65209 Release v0.9.26
Steven Haryanto (on PC) authored
104
105
106 0.9.25 2013-02-02 (SHARYANTO)
c160ff3 Release v0.9.25
Steven Haryanto (on Asus Zenbook) authored
107
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
108 - No spec changes. Convert spectest format from YAML to JSON due to
109 different Perl YAML implementations dumping/loading data differently
110 (YAML::Syck loads floats as strings ('1.23'), while YAML::XS causes
111 test failures).
c160ff3 Release v0.9.25
Steven Haryanto (on Asus Zenbook) authored
112
113
9b0aa25 Release v0.9.24
Steven Haryanto (on Asus Zenbook) authored
114 0.9.24 2013-01-30 (SHARYANTO)
115
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
116 - No spec changes. Fixes for spectest.
9b0aa25 Release v0.9.24
Steven Haryanto (on Asus Zenbook) authored
117
118
119 0.9.23 2013-01-11 (SHARYANTO)
ab38254 Update Changes
Steven Haryanto (on Asus Zenbook) authored
120
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
121 - No spec changes. Add tests to spectest, including tests for 'clause'
122 and 'clset' clauses and for array's 'elems' clause. Fix a couple of
123 bugs in spectest.
ab38254 Update Changes
Steven Haryanto (on Asus Zenbook) authored
124
125
b649509 Release v0.9.22
Steven Haryanto (on PC) authored
126 0.9.22 2012-11-28 (SHARYANTO)
127
128 [NEW FEATURES]
129
130 - Add clause 'clause'.
131
132 [INCOMPATIBLE CHANGES]
133
134 - Rename clause 'cset' to 'clset' to make it less ambiguous (since we
135 also use the notation 'cname' [clname], 'cval' [clvar]).
136
137 [BUG FIXES]
138
139 - Fix typos and grammar.
140
141
1fdbab6 Release v0.9.21
Steven Haryanto (on PC) authored
142 0.9.21 2012-11-27 (SHARYANTO)
143
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
144 - No spec changes. Forgot to update spectest.
1fdbab6 Release v0.9.21
Steven Haryanto (on PC) authored
145
146
1b161fe Release v0.9.20
Steven Haryanto (on PC) authored
147 0.9.20 2012-11-27 (SHARYANTO)
1a0d48e Remove .{min,max}_{ok,nok} attributes and replace it with .op; remove…
Steven Haryanto (on Asus Zenbook) authored
148
149 [REMOVED FEATURES]
150
151 - Remove .{min,max}_{ok,nok} attributes because they are too generic
152 and only the and/or/not/none cases are needed most of the time. This
153 generic attributes make it slightly more complex for compilers.
154
155 They are now replaced by the new .op attribute, which can currently
156 contain 'and', 'or', 'not', or 'none'.
157
158 The old attributes will probably be re-added in the future if proven
159 needed, perhaps in the form of .op having the value of [1, 3]
160 (equivalent of .min_ok 1 + .max_ok 3) or [-1, -3] (equivalent to
161 .min_nok 1 + .max_nok 3).
162
163 - Remove .ok_err_msg attribute to simplify things.
164
165 [NEW FEATURES]
166
167 - Add attribute .op (see above).
168
138f535 Add clause 'clause'
Steven Haryanto (on PC) authored
169 - Add clause 'clause'.
170
1a0d48e Remove .{min,max}_{ok,nok} attributes and replace it with .op; remove…
Steven Haryanto (on Asus Zenbook) authored
171
419069e Release v0.9.19
Steven Haryanto (on Asus Zenbook) authored
172 0.9.19 2012-11-20 (SHARYANTO)
173
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
174 - Introduce shortcut form CLAUSE(LANG) and C.ATTR(LANG) for
175 CLAUSE.alt.lang.LANG and C.ATTR.alt.lang.LANG.
419069e Release v0.9.19
Steven Haryanto (on Asus Zenbook) authored
176
177
f39514f Release v0.9.18
Steven Haryanto (on Asus Zenbook) authored
178 0.9.18 2012-11-20 (SHARYANTO)
179
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
180 - No spec changes. Fix some typos in POD and spectest.
f39514f Release v0.9.18
Steven Haryanto (on Asus Zenbook) authored
181
182
e0b93c5 Put version information into spectest data (instead into comment)
Steven Haryanto (on PC) authored
183 0.9.17 2012-11-13 (SHARYANTO)
184
185 - Add hash's keys.create_default attribute.
186
187 - Add array's elems.create_default attribute.
188
189 - Add more spectests.
190
191
04127ef Release v0.9.16
Steven Haryanto (on PC) authored
192 0.9.16 2012-10-26 (SHARYANTO)
193
419069e Release v0.9.19
Steven Haryanto (on Asus Zenbook) authored
194 - Normalization rule: extras are now always normalized to {} so before
04127ef Release v0.9.16
Steven Haryanto (on PC) authored
195 "int" => ["int", {}] and now => ["int", {}, {}]. (I think it's more
196 proper, normalized form doesn't change when extras {} exist, and more
197 clearly make the normalized form stand out visually).
198
199 - bool: Add clause 'is_true' (I think it'll be more portable than using
200 'is').
201
202 - array and hash no longer assume the Sortable role (actually it was a
203 typo, it never was).
204
205 - spectest: Add more tests (str, hash, bool, any, all).
206
207
c9c24aa Release v0.9.15
Steven Haryanto (on PC) authored
208 0.9.15 2012-10-25 (SHARYANTO)
209
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
210 - No spec changes.
c9c24aa Release v0.9.15
Steven Haryanto (on PC) authored
211
212 - spectest: Add tests for type 'array' (incomplete).
213
214
4de7714 Release v0.9.14
Steven Haryanto (on PC) authored
215 0.9.14 2012-10-25 (SHARYANTO)
216
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
217 - No spec changes.
c9c24aa Release v0.9.15
Steven Haryanto (on PC) authored
218
219 - spectest: Add tests for type 'float'.
4de7714 Release v0.9.14
Steven Haryanto (on PC) authored
220
221 - build: Move spectest to share/ so it gets installed.
222
223
7f51f82 Release v0.9.13
Steven Haryanto (on Asus Zenbook) authored
224 0.9.13 2012-10-25 (SHARYANTO)
225
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
226 - No spec changes.
c9c24aa Release v0.9.15
Steven Haryanto (on PC) authored
227
228 - spectest: reenable "clause|" tests, add {min,max}_{ok,nok}
229 and .err_level=warn tests.
7f51f82 Release v0.9.13
Steven Haryanto (on Asus Zenbook) authored
230
231
10f7784 Release v0.9.12
Steven Haryanto (on PC) authored
232 0.9.12 2012-10-18 (SHARYANTO)
b759552 Update Changes
Steven Haryanto (on PC) authored
233
234 [ENHANCEMENTS]
235
236 - Add 'c.COMPILER' attribute namespace to store compiler-specific
237 options.
238
239 - float: Add clauses 'is_pos_inf' and 'is_neg_inf'.
240
10f7784 Release v0.9.12
Steven Haryanto (on PC) authored
241 - Add type spectest. Preliminary version, now only available for 'int'.
242
b759552 Update Changes
Steven Haryanto (on PC) authored
243
40f1bf2 Release v0.9.11
Steven Haryanto (on PC) authored
244 0.9.11 2012-10-16 (SHARYANTO)
245
246 [ENHANCEMENTS]
247
248 - Add .ok_err_msg to set error message when clause succeeds (existing
249 .err_msg is for when clause fails). Succeeding clause is regarded as
250 a validation failure under the presence of .max_ok or .min_ok
251 attributes.
252
253 - Introduce another error level (.err_level => 'fatal').
254
255
449dd48 Release v0.9.10
Steven Haryanto (on PC) authored
256 0.9.10 2012-10-16 (SHARYANTO)
257
258 [INCOMPATIBLE CHANGES]
259
260 - Simplify syntax for 'if' clause. Argument back to 3-element array
261 [COND, THEN, ELSE]. Whether COND/THEN/ELSE is an expression, schema,
262 clause set, or simple true/false is determined by its type (str,
263 array, str, hash, bool). This improves readability.
264
265 - Replace '.input' attribute with 'prop' and 'check_prop' clauses (and
266 possibly others in the future). '.input' does not provide a clean
267 switch between types (e.g. to express string which has an even
268 length, we used ["str", "div_by.input", ["prop", "len"], "div_by",
269 2], but 'div_by' is not a clause for str. Now we simply use: ["str",
270 "prop", ["len", ["int", "div_by": 2]]] or ["str", "check_prop", "$_ %
271 2 == 0"].
272
273
b4609a4 Release v0.9.9
Steven Haryanto (on PC) authored
274 0.9.9 2012-10-05 (SHARYANTO)
275
276 [INCOMPATIBLE CHANGES]
277
278 - Change attribute for 'prefilters' clause, from 'perm' to 'temp' (to
279 make it consistent with the new default.temp).
280
281 [NEW FEATURES]
282
283 - Add attribute for 'default' clause: 'temp'.
284
285
f4b05d2 Release v0.9.8
Steven Haryanto (on PC) authored
286 0.9.8 2012-10-03 (SHARYANTO)
287
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
288 - No functional changes. Fix examples and misplaced clauses.
f4b05d2 Release v0.9.8
Steven Haryanto (on PC) authored
289
290
ad01204 Release v0.9.7
Steven Haryanto (on Asus Zenbook) authored
291 0.9.7 2012-10-03 (SHARYANTO)
292
293 [INCOMPATIBLE CHANGES]
294
295 - Rename HasElems' clause: 'each' to 'each_elem' to avoid ambiguity
296 with 'each_index'. Also rename 'check_each' to 'check_each_elem'.
297
298 [NEW FEATURES]
299
300 - Add hash clauses: 'check_each_key', 'check_each_value'.
301
302
cb05018 Release v0.9.6
Steven Haryanto (on Asus Zenbook) authored
303 0.9.6 2012-10-03 (SHARYANTO)
304
305 [INCOMPATIBLE CHANGES]
306
307 - Remove hash clause 'allow_extra_keys' and replace it with '.restrict'
308 attribute for 'keys' clause.
309
310 [NEW FEATURES]
311
312 - Add property: 'prio'.
313
314 - Add HasElems properties: 'elems', 'indices'.
315
316 - Add hash properties: 'keys', 'values'.
317
318 - Add hash clauses: 're_keys', 'allowed_keys', 'allowed_keys_re'.
319
320 [ENHANCEMENTS]
321
322 - Specification for 'req_keys' (previously forgotten to be written).
323
324 - Reorganize FAQ and add some items.
325
326
559c1dc Release v0.9.5
Steven Haryanto (on PC) authored
327 0.9.5 2012-09-26 (SHARYANTO)
328
329 [INCOMPATIBLE CHANGES]
330
331 - Change merge prefix from "[merge]", "[merge+]", etc to
332 "merge.normal.", "merge.add.", etc (to be compliant with DefHash)
333
334
2a2c27d Release v0.9.4
Steven Haryanto (on PC) authored
335 0.9.4 2012-09-21 (SHARYANTO)
99e9929 Lotsa lotsa changes, mainly due to adding array/hash
Steven Haryanto (on PC) authored
336
337 - Rewrite some parts.
338
339 - Specify types 'all', 'any', 'obj', 'date' (moved from Data::Sah).
340 Type 'date' still doesn't have clauses specified yet.
341
342 - Specify clauses for 'hash' and 'array' (moved from Data::Sah)
343
344 - Change examples to use JSON instead of Perl notation.
345
346 - Add FAQ item: comparison to JSON schema.
347
348 - Add FAQ item: advice on writing schemas (preliminary).
349
350 [NEW]
351
352 - Add type: 'undef'.
353
354 - Add attribute: 'input'.
355
356 - Add clauses: 'check_each', 'exists', 'check_exists', 'each_index',
357 'check_each_index'.
358
359 [INCOMPATIBLE CHANGES]
360
361 - Rename 'vals' attribute to 'is_multi' (a bool) and store the multiple
362 values in the clause value itself. This is to avoid having both
363 'CLAUSE' and 'CLAUSE.vals'.
364
365 - Rename 'expr' clause attribute to 'is_expr' (a bool). The expression
366 is now contained in the original clause value/attribute. This is to
367 be consistent with 'is_multi'.
368
369 - Tweak the 'if' clause (change 'then_ok' or 'else_nok' to 'then' and
370 'else').
371
372 - Rename clause 'noop' to 'ok' (consistency with min_ok/max_nok/etc).
373 Remove clause 'fail' (can be replaced with '!ok').
374
375 - Rename clause 'check' to 'expr' (consistency with 'prop' as well as
376 the 'prop' and 'expr' keys in the 'if' clause).
377
378 [REMOVED]
379
380 - HasElems: remove 'num_of' clause (not generic enough, might be split
381 to a custom clause distribution later).
382
383
e57a65d Release v0.9.3
Steven Haryanto (on PC) authored
384 0.9.3 2012-09-20 (SHARYANTO)
385
386 [INCOMPATIBLE CHANGES]
387
388 - BaseType: Rename old 'if' clause to 'if_clause' (the new 'if' clause
389 is now a generic condition clause which accepts a hash).
390
391 - HasElems: Rename clause 'all_elems' to 'each_elem'.
392
393 [NEW]
394
395 - Introduce 'result_var' attribute.
396
397 - Introduce 'type property'.
398
399 - BaseType: add clauses 'schema_v' & 'base_v'. Also mention 'defhash_v'
400 (from DefHash specification).
401
402 - BaseType: add generic condition clause 'if' (this is different from
403 the old 'if', which has been renamed to 'if_clause').
404
405 - BaseType: add generic looping clauses 'each' and 'exists'.
406
407 [FIXED]
408
409 - Move 'elems' clause to array (POD mistake).
410
411 [OTHER]
412
413 - Specify behavior when CLAUSE value and CLAUSE.vals both exist.
414
415
d4917b9 Release v0.9.2
Steven Haryanto (on PC) authored
416 0.9.2 2012-09-19 (SHARYANTO)
417
418 - Clause set now uses DefHash.
419
420 - '=' is now a shortcut for '.expr' attribute.
421
7c472d1 Update Changes
Steven Haryanto (on PC) authored
422 - Add FAQ and overview (moved from Data::Sah's POD).
423
d4917b9 Release v0.9.2
Steven Haryanto (on PC) authored
424 [REMOVED]
425
426 - '.val' removed, now use clause value (DefHash).
427
428 [FIXES]
429
430 - Update some examples.
431
432
28f9ef5 Release v0.9.1
Steven Haryanto (on PC) authored
433 0.9.1 2012-09-13 (SHARYANTO)
8162836 Update Changes (remove 'comment', add 'v', rename 'elem_deps' to 'if_…
Steven Haryanto (on PC) authored
434
435 - Move type documentation from Data::Sah.
436
437 - BaseType: remove clauses 'comment' and add clauses 'v' (DefHash);
438 remove implementation clauses (SANITY, PREPROCESS, POSTPROCESS).
439
440 - HasElems: rename clause 'elem_deps' to 'if_elems_re', add clause
441 'if_elems'.
442
443 - str: rename clause 'is_regex' to 'is_re'.
444
445
446 0.9.0 2012-07-21 (SHARYANTO)
c1e0fe4 Initial commit, split from Data-Sah
Steven Haryanto (on PC) authored
447
e183f8a fmt
Steven Haryanto (on Asus Zenbook) authored
448 - First release, split specification from Data-Sah.
Something went wrong with that request. Please try again.