Releases: jellydator/validation
Releases · jellydator/validation
v1.2.0
What's Changed
- Improve
IsEmptyto check for zero value by @danail-branekov in #16 - Tests to demonstrate how the
validation.Requiredrule works with boolean values and pointers by @slessard in #18 - Add Errors.Unwrap method by @goodevilgenius in #24
- Add ErrorObject.Is method by @goodevilgenius in #25
New Contributors
- @danail-branekov made their first contribution in #16
- @goodevilgenius made their first contribution in #24
Full Changelog: v1.1.0...v1.2.0
v1.1.0
- Added In and NotIn rules for strings (@slessard)
- Added an exported function to customize field name retrieval (@mikeleedev)
- Fixed a panic in validation.EnsureString (@slessard)
- Added map methods to have rules for all keys and values (@davseby)
- Added a function to get the value of the json tag for a field in a struct (@slessard)
- Added nested field validation (@TcMits)
- Added a custom comparison func to min and max rules (@swithek)