diff options
| author | Vincent Prouillet | 2017-01-30 20:19:54 +0900 | 
|---|---|---|
| committer | Vincent Prouillet | 2017-01-30 20:19:54 +0900 | 
| commit | 61293f2d0bcaddde1cde493b863886231deeec7c (patch) | |
| tree | 73b51c1a644e035a9531636c3c8190bda06952a5 /README.md | |
| parent | 74a83684a0f3dcc8824fe124fa047641ddf2f7bc (diff) | |
| download | validator-61293f2d0bcaddde1cde493b863886231deeec7c.tar.bz2 | |
Version 0.4.0
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 | 
1 files changed, 5 insertions, 1 deletions
| @@ -53,7 +53,7 @@ Note that `validator` works in conjunction with serde: in the example we can see  field is renamed from/to `firstName`. Any error on that field will be in the `firstName` key of the hashmap,  not `first_name`. -If you are adding a validation on a `Option<..>` field, it will only be ran if there is value. The exception +If you are adding a validation on a `Option<..>` field, it will only be ran if there is a value. The exception  being `must_match` that doesn't currently work with `Option` due to me not finding a use case for it. If you have one,  please comment on https://github.com/Keats/validator/issues/7. @@ -173,6 +173,10 @@ if an error happened while validating the struct fields.  ## Changelog +### 0.4.0 (2017/01/30) + +- Validators now work on `Option` field and struct/fields with lifetimes +  ### 0.3.0 (2017/01/17)  - Add `contains` and `regex` validator | 
