Skip to content

Releases: go-playground/validator

Release v9.29.0

23 May 15:03
884d31b
Compare
Choose a tag to compare

What's new?

  • Updated the hostname regex to support uppercase letters, thanks @Zeroen for the PR

Some new and exciting validators have been added, thanks @mashmooli for the PR

  • required_with
  • required_with_all
  • required_without
  • required_without_all

please see the docs for usage instructions!

Release 9.28.0

31 Mar 13:44
46b4b1e
Compare
Choose a tag to compare

What's new?

Huge shout out to the community for all the help!

  • Added new section for non-standard validations here from PR, thanks @andreiavrammsd!
    • these non standard validations will not be part of the beked in validations but rather a place for the community to put one-off validations that others may find useful and can register them as needed.
  • Updsated the SSN regex to handle more use cases in PR, thanks @rucas!
  • Added startswith snd endswith validations in PR, thanks @thcipriani!
  • Fixed a typo in the struct level example in PR, thanks @masseelch!
  • Updated the docs to include the uuid_rfc4122 validations in PR, thanks @alexbilbie!
  • Updated the email validations regex to handle a couple of failing real-world cases in PR, thanks @benpaxton-hf!

Release 9.27.0

12 Feb 15:30
b199fa0
Compare
Choose a tag to compare

What new?

  • Added Validation for directories dir, thanks @AGalal for the PR
  • Extended longitude + latitude validation to numbers, thanks @RaMin0 for the PR
  • Corrected a bunch of typos and documentation, thanks @sssinsi, @Esslamb and @kszafran for you PR's

Release 9.26.0

28 Jan 05:02
774d09c
Compare
Choose a tag to compare

What's new?

Added uuid rfc4122 validation, thanks @rssathe for the PR!

Release 9.25.0

09 Jan 04:42
cdd5c28
Compare
Choose a tag to compare

What's new?

Add baked in validators for containsfield and excludesfield, thanks @fharding1 for the PR

What was fixed

Fixed Japanese translations, thanks @akm for the PR

Release 9.24.0

08 Dec 16:45
0277b12
Compare
Choose a tag to compare

What's new?

  • Added URN validation, thanks @leodido for the PR
  • Added Japanese translations!!! 😍 , thanks @akm for the PR

What was fixed?

  • Corrected imports in the pt_BR translation, thanks @AGPDev for the PR
  • Added missing translation for unique validation, thanks @holyspectral for the PR

Release 9.23.0

04 Nov 14:54
Compare
Choose a tag to compare

What's new?

  • Added automatic pointer downgrade for RegisterStructValidation , thanks @suekto-andreas for the PR
  • Added Indonesian translations, thanks @sulthonzh for the PR

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!