-
Notifications
You must be signed in to change notification settings - Fork 48
/
CHANGES.txt
27 lines (20 loc) · 1.09 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
v1.1, 2011-07-27
================
* The convention for record check functions has changed in this
release. Record check functions should now raise a RecordError if
there is a validation problem in the record. RecordError is a new
class in the csvvalidator module in this release. This change makes
it easier to distinguish between exceptions reporting validation
problems (i.e., RecordError), and unexpected exceptions raised
during record checks (i.e., all other exception classes, including
ValueError). See also https://github.com/alimanfoo/csvvalidator/issues/3
* This release supports a new convention for defining record check
functions. In addition to the existing style, where record check
functions are defined separately and added via the
CSVValidator.add_record_check method, you can now also sub-class
CSVValidator, and any method whose name starts with 'check' will be
invoked as a record check function. This is similar to the style for
'assert' methods. See also https://github.com/alimanfoo/csvvalidator/issues/4
v1.0, 2011-07-21
================
Initial release.