Releases: go-playground/validator
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.
Release 3.0.2
add "structonly" tag for when you wish to validate the struct but not it's containing fields
Release 3.0.1
correct call to wrong function
Release 3.0
removed internal validator
Release 2.3
add generic cross field validation for Number and time.Time types
Release 2.2
Add returning of Type along with Kind for type specific messaging for the referencing app.