Index: trunk/extensions/Validator/INSTALL |
— | — | @@ -1,4 +1,4 @@ |
2 | | -[[Validator 0.1]] |
| 2 | +[[Validator 0.2]] |
3 | 3 | |
4 | 4 | Once you have downloaded the code, place the 'SemanticMaps' directory within |
5 | 5 | your MediaWiki 'extensions' directory. Then add the following code to your |
Index: trunk/extensions/Validator/RELEASE-NOTES |
— | — | @@ -3,6 +3,24 @@ |
4 | 4 | == Validator change log == |
5 | 5 | This change log contains a list of completed to-do's (new features, bug fixes, refactoring) for every version of Validator. |
6 | 6 | |
| 7 | + |
| 8 | +==== Validator 0.2 ==== |
| 9 | +(2009-12-25) |
| 10 | + |
| 11 | +* Added handling for lists of a type, instead of having list as a type. This includes per-item-validation and per-item-defaulting. |
| 12 | + |
| 13 | +* Added list validation functions: item_count and unique_items |
| 14 | + |
| 15 | +* Added boolean, number and char types. |
| 16 | + |
| 17 | +* Added support for output types. The build in output types are lists, arrays, booleans and strings. Via a hook you can add your own output types. |
| 18 | + |
| 19 | +* Added Validator_ERRORS_MINIMAL value for $egValidatorErrorLevel. |
| 20 | + |
| 21 | +* Added warning message to ValidatorManager that will be shown for errors when egValidatorErrorLevel is Validator_ERRORS_WARN. |
| 22 | + |
| 23 | +* Added criteria support for is_boolean, has_length and regex. |
| 24 | + |
7 | 25 | === Validator 0.1 === |
8 | 26 | (2009-12-17) |
9 | 27 | |
Index: trunk/extensions/Validator/Validator.php |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | die( 'Not an entry point.' ); |
26 | 26 | } |
27 | 27 | |
28 | | -define( 'Validator_VERSION', '0.2 a8' ); |
| 28 | +define( 'Validator_VERSION', '0.2 rc1' ); |
29 | 29 | |
30 | 30 | // Constants indicating the strictness of the parameter validation. |
31 | 31 | define( 'Validator_ERRORS_NONE', 0 ); |