Skip to content

Releases: go-playground/validator

Release 10.0.0

11 Nov 20:50
Compare
Choose a tag to compare

What's new?

  • Updated to Go Modules
  • Updated deps to use their Go Modules versions.

I wanted v10 to have a bunch of new functionality for everyone but Go Modules has forced my hand a bit.

Release 9.30.0

29 Sep 22:24
cd1bd58
Compare
Choose a tag to compare

What's new?

  • Added Turkish translations, thanks @UgurAsaner for the PR!
  • Cleaned up linting.

What was fixed?

  • Fixed bad import path, thanks @teejays for the PR!
  • Fixed all required_with* behaviour, there were some issues with pointers.

Release v9.29.1

12 Jul 15:37
556b9da
Compare
Choose a tag to compare

What was fixed?

  • Corrected typo in docs, thanks @tobiassjosten for the PR!
  • Fix required_without validation working with pointers, thanks @leafduo for the PR!

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