Skip to content

Releases: go-playground/validator

Release 9.22.0

01 Nov 04:05
3be3142
Compare
Choose a tag to compare

What's new?

  • Added better RegisterTagNameFunc documentation in this PR, thanks @frou for the PR!
  • Added zh-tw translations in this PR, thanks @kanozec for the PR!

Release 9.21.1

25 Oct 12:30
f8af4b1
Compare
Choose a tag to compare

What was fixed?

Corrected some documentation in this PR and this PR; thanks @44px & @sakura1116vg for the PR's!

Release v9.21.0

13 Aug 14:36
e69e9a2
Compare
Choose a tag to compare

What's new?

Added dutch translations thanks to @wesselvanderlinden and PR #387!

Release 9.20.2

09 Jul 15:36
ab2a8a9
Compare
Choose a tag to compare

What was fixed?

Corrected language package name thanks @foolin , wee #381 for details.

Release 9.20.1

09 Jul 15:30
e055f4e
Compare
Choose a tag to compare

What was fixed?

  • corrected StructFilteredCtx not passing the context through, thanks @dvic!, see #380 for details.

Release 9.20.0

09 Jul 14:09
5d32242
Compare
Choose a tag to compare

What's new?

Added Chinese translations, thanks @foolin! for more details foor #379

Release 9.19.0

29 Jun 15:04
ce9336f
Compare
Choose a tag to compare

What's new?

3 new validations added:

html - This validates that a string value appears to be an HTML element tag including those described at https://developer.mozilla.org/en-US/docs/Web/HTML/Element

html_encoded - This validates that a string value is a proper character reference in decimal or hexadecimal format

url_encoded - This validates that a string value is percent-encoded (URL encoded) according to https://tools.ietf.org/html/rfc3986#section-2.1

for details see PR #377 Thanks @heatwole for the PR!

Release 9.18.0

28 Jun 20:33
9d03e25
Compare
Choose a tag to compare

What's new?

Added file path validation via the file tag, see #375 for details; thanks @noibar for the PR!

Release 9.17.1

14 May 14:58
f28cb45
Compare
Choose a tag to compare

What was fixed

A typo in the documentation, thanks @tengis617 for the PR

Release 9.17.0

09 May 16:02
Compare
Choose a tag to compare

Expanded numeric & number validations

It was originally intended for these to only be used on strings, however
it makes sense to also use them if you are dealing with type interface{}

So now ints and floats return true for this validation also as they are
both numeric and a number.