Releases: go-playground/validator
Releases · go-playground/validator
Release 9.16.0
What's new?
- Update
gin
upgrade example, see #358 for details, thanks @ashtonian for the PR! - Extended the
unique
tag to also cover map values, see #361 for details, thanks @jservice-rvbd for the PR! - cleaned up some linting and spelling errors.
- fixed some translation error checks not propogated found during linting.
Release 9.15.0
What's new
Add the following new validations:
- Adds bitcoin address validation for P2PKH and P2SH addresses
- Adds bitcoin address validation for Bech32 addresses
- Adds basic ethereum address validation
Thanks @QuestofIranon for the PR
Release 9.14.0
What's new?
Added base64url validation according to section 5 of RFC4648 Thanks @kgeorgiou for the PR!
Release 9.13.0
What's New?
Added Brazilian Portuguese translations see PR #350 Thanks @afranioce
Release v9.12.0
Release 9.11.0
Release 9.10.0
What's new?
Added new validation hostname_rfc1123
the current hostname
validation is for RFC 952
###I want to use the new hostname validation, but don't want to go around and change my struct tags.
No problem, just register an Alias eg.
validate := validator.New()
validate.RegisterAlias("hostname", "hostname_rfc1123")
Release 9.9.4
Release 9.9.3
What was fixed?
Update tagCache
locking scope to allow for validate.Var
and validate.VarCtx
to be used from within validations functions. see #335 for details.
Release 9.9.2
What was fixed/updated?
Updated docs to clarify between validation tag separator or ,
and or validation tag separator |