Skip to content

Commit 0835d72

Browse files
author
Sylvain MARIE
committed
0.5.0 changelog and updated doc
1 parent 5d215fb commit 0835d72

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

docs/changelog.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3-
### 0.1.0 - TODO
3+
### 0.5.0 - First public version
44

5-
TODO
5+
* Validate both type and value with `isinstance`, thanks to easy-to-write "validating types"
6+
* `has_valid_type` and `has_valid_value` methods provided for easy auditing, as well as `is_vtype`
7+
* Validation syntax fully compliant with `valid8`. Compliant error message available through a `validate()` method
8+
* v-types are composable so that creating a library of reusable elements is straightforward (note: should we provide one in this library based on `valid8` [library](https://smarie.github.io/python-valid8/validation_funcs/b_base_validation_lib/) ?)
9+
* Two styles: `vtype(...)` constructor method, as well as an alternate `class ...(VType)` style to perform composition using inheritance, and write docstrings more easily.

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ assert not isinstance(1, NonEmptyStr)
146146
* `has_valid_type` and `has_valid_value` methods provided for easy auditing, as well as `is_vtype`
147147
* Validation syntax fully compliant with `valid8`. Compliant error message available through a `validate()` method
148148
* v-types are composable so that creating a library of reusable elements is straightforward (note: should we provide one in this library based on `valid8` [library](https://smarie.github.io/python-valid8/validation_funcs/b_base_validation_lib/) ?)
149-
* Alternate class-style available to perform composition using inheritance, and write docstrings more easily.
149+
* Two styles: `vtype(...)` constructor method, as well as an alternate `class ...(VType)` style to perform composition using inheritance, and write docstrings more easily.
150150

151151
## See Also
152152

0 commit comments

Comments
 (0)