Skip to content

Releases: go-playground/validator

Release 5.4

23 May 02:34
Compare
Choose a tag to compare

remove extra line breaks in error statements

add contains, containsany, containsrune, excludes, excludesall and excludes rune validation functions.

Release 5.2

19 May 19:38
Compare
Choose a tag to compare

add "ne" and "nefield" validation functions + tests + documentation

Release 5.1

08 May 16:06
Compare
Choose a tag to compare

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

19 Apr 14:37
Compare
Choose a tag to compare

resolve release 5.0.1 issue

Release 5.0.1

19 Apr 14:28
Compare
Choose a tag to compare

Merge pull request from @muyiwaolurin for verbiage updates
added base64 validator
update some minor verbiage

Release 5

10 Apr 04:50
Compare
Choose a tag to compare

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

10 Apr 00:55
Compare
Choose a tag to compare

Updates for transfer to organization bluesuncorp

Release 4.0.3

08 Apr 22:30
Compare
Choose a tag to compare

Updated based of pull request from @manucorporat thanks for the updates!
Updated a few minor documentation errors

Release 4.0.1

06 Apr 01:16
Compare
Choose a tag to compare

Correct documentation for creating a new validator for ".New" to ".NewValidator" thanks to @chrisscott

Release 4.0

23 Mar 14:59
Compare
Choose a tag to compare

Correct Cross Field Validation
Add current Level struct to validation routine or comparative valie if validating by field instead of struct.