Releases: go-playground/validator
Release 5.4
remove extra line breaks in error statements
add contains, containsany, containsrune, excludes, excludesall and excludes rune validation functions.
Release 5.2
add "ne" and "nefield" validation functions + tests + documentation
Release 5.1
Added 'eq' validator + tests + documentation
Added 'eqfield' validator + tests + documentation
Added to blank tag check to include Time, which is a struct and was passing through the check
Release 5.0.2
resolve release 5.0.1 issue
Release 5.0.1
Merge pull request from @muyiwaolurin for verbiage updates
added base64 validator
update some minor verbiage
Release 5
renamed repo from go-validate-yourself to validator for better go package and library naming ( more idiomatic )
updated function name to be more go idiomatic for example instead of ValidateStruct it's just Struct
example: validate := validator.New("validate", validator.BakedInFunctions)
validate.Struct(struct)
validate.Field(field, tag)
validate.FieldWithValue(field, value, tag)
I hope this change isn't too disruptive, but believe these changes were needed for a truly production and community ready library.
Release 4.0.4
Updates for transfer to organization bluesuncorp
Release 4.0.3
Updated based of pull request from @manucorporat thanks for the updates!
Updated a few minor documentation errors
Release 4.0.1
Correct documentation for creating a new validator for ".New" to ".NewValidator" thanks to @chrisscott
Release 4.0
Correct Cross Field Validation
Add current Level struct to validation routine or comparative valie if validating by field instead of struct.