Releases: gookit/validate
Releases · gookit/validate
v1.4.0
Change Log
Feature
- feat: support validate value by
validate.Val()
. see: #59 81d61ca - feat: support validate array/slice items. see: #124 f48988b
Refactor
- refactor: mv convert input field value type as validator func th0 arg type 22df26f
Update
- update: IsArray - check slice type will return true 4378d5f
Other
Full Changelog: v1.3.2...v1.4.0
v1.3.2
Change Log
Update
- Update full url regex to include percentage sign 718b7bf
Fixed
- fix: #135 min validate not works on value at 0 ~ 1 813c99c
- test: fix some unit tests error, update github actions 6549137
- fix: #125 fv.Call() will panic on rftVal.Kind() is Invalid 1baf78b
- test: fix some testing error and add more test cases 71cf6c7
Other
- build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 657df37
- build(deps): bump github.com/gookit/goutil from 0.4.4 to 0.4.6 ed6716c
- chore: update readme and some comments 5815ccb
- build(deps): bump github.com/gookit/goutil from 0.4.6 to 0.5.0 d4da2aa
- build(deps): bump github.com/gookit/goutil from 0.5.0 to 0.5.1 a4a6809
- chore: add and update some error messages cb6952c
- style: update the en readme 75f676d
New Contributors
- @junaid-ali made their first contribution in #130
Full Changelog: v1.3.1...v1.3.2
v1.3.1
Full Changelog: v1.3.0...v1.3.1
v1.3.0
Change Log
Fixed
- Fix grammatical error 036624d
- fix: #111 argN maybe is a field name 4f070f2
- fix: #120 Error validating on multi nested struct 4dc93ac
- fix: fix unit tests error dd45285
- fix: update some for full url check 8725c98
Update
- Update README.md ed5e0b1
- up: update readme 7f5f544
- Update README.zh-CN.md 1cf9535
- up: will not support go 1.12 Signed-off-by: inhere in.798@qq.com 74cbbe9
- up: add tests for issues#104 44bd966
- update readme and add more tests f0d3362
- up: add an test case for issues #107 4ead858
- up: merge remote change to local dev b1ce8d2
- up: update action tests, require go >= 1.14 8dc9f51
- up: update global option field name b5109dd
Feature
- support label tag for struct validate error field nested display name 88d909b
- feat: allow use label on struct tag for define e5174a0
- feat: only collect sub-struct rule on current field has rule. ed42e34
- refactor: split field label and field name map 70c4e8b
Other
- Bump github.com/gookit/goutil from 0.3.12 to 0.3.13 a96b75b
- Bump github.com/gookit/goutil from 0.3.13 to 0.3.14 a048291
- Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 88fc8b6
- Bump github.com/gookit/goutil from 0.3.14 to 0.3.15 84c4dfb
- Bump github.com/gookit/goutil from 0.3.15 to 0.4.0 71a300e
- Validate.Errors supports specifying output fields 0ff1414
- del err comment 5bd7fa7
- style: update readme, add some examples demo 49d020c
- style: update readme, add filter docs b271bba
- doc: use docsify render doc on pages 6deb3a0
- chore: update readme 14557df
- build(deps): bump github.com/gookit/goutil from 0.4.0 to 0.4.1 3d8981f
- build(deps): bump github.com/gookit/goutil from 0.4.1 to 0.4.2 123e0c0
- build(deps): bump github.com/gookit/goutil from 0.4.2 to 0.4.4 f2ebfa6
- prof: use global translater for each valiation instance 2658e93
- prof: modify some message translate logic a85e324
- chore: add more tests assert check for issues#103 910b755
v1.2.11
Full Changelog: v1.2.10...v1.2.11
v1.2.10
What's Changed
- Bump github.com/gookit/goutil from 0.3.8 to 0.3.10 by @dependabot in #86
- Added collection of validation rules for values from arrays, slices, and maps (only for structures) by @AlexBrin in #89
Full Changelog: v1.2.9...v1.2.10
v1.2.9
v1.2.8
Release v1.2.8
v1.2.7
Release v1.2.7