Skip to content

Releases: go-playground/validator

Release 10.11.1

16 Sep 16:04
c7e0172
Compare
Choose a tag to compare

What was fixed?

Corrected/Enhanced is boolean check to take the field type into consideration. Thanks @V-R-Dighe for the PR

Release 10.11.0

01 May 17:11
Compare
Choose a tag to compare

What's new?

  • Add ability to validate structs using map rules. #934
  • A number of hash validations. #875
  • Italian translations. #694 #914
  • Vietnamese translations. #820
  • Arabic translations. #825
  • Added missing Boolean translation. #930
  • Add missing required translation. #884
  • Add missing zh translations. #856
  • Added exclude_if and excluded_unless tags. #847
  • Added Credit Card validation. #924

What was fixed?

  • Fix support for aliased time.Time types. #890
  • Fix multiple group of OR operators. #911
  • Remove underscore from RFC-1123 based regex. #912
  • ja typos. #898
  • Documentation typos. #891

What was enhanced?

  • ValidationCtx now supports nested slice maps. #917
  • RegisterTagNameFunc documentation. RegisterTagNameFunc

Release 10.10.1

08 Mar 01:33
58d5778
Compare
Choose a tag to compare

What was fixed?

Updated a couple of dependencies to resolve some vulnerabilities found within.

Release 10.10.0

02 Jan 01:45
88976f3
Compare
Choose a tag to compare

What's new?

  • Added string support for country_code validation, thanks @uberswe for the PR.
  • Added support for alpha hex colours, thanks @nesty92 for the PR.
  • Added DNS RFC 1035 label format validator, thanks @0n1shi for the PR.
  • Added ULID validation, thanks @uberswe for the PR.
  • Added regex version (Semantic Versioning 2.0.0) validation, thanks @jtseng-godaddy for the PR.

Release 10.9.0

08 Aug 23:01
ce34f36
Compare
Choose a tag to compare

What's new?

  • Fixed panic when use ru lang for translation, thanks @anisov for the PR
  • Add boolean baked-in validator to check a string value is a valid boolean representation, thanks @xvello for the PR
  • Document thread safety and recommended singleton usage, thanks @andrascz for the PR
  • Add validations for ISO 4217 currency codes, thanks @metinogurlu for the PR
  • Update universal-translator and locales dependencies to their latest versions.

Release 10.8.0

26 Jul 04:41
9a5bce3
Compare
Choose a tag to compare

What's new?

  • Updated deps to address security vulnerabilities discovered in them, thanks @saedx1 for the PR
  • Fix import and go get commands, thanks @BrianLeishman for the PR
  • Added new JWT validation, thanks @steveorourke for the PR
  • Documentation fixes/updates, thanks @Nikachev for the PR
  • Add zh missing translations for some tags, thanks @SkyingzZ for the PR
  • Updated all deps to their latest versions.

Release 10.7.0

08 Jul 05:43
65bb123
Compare
Choose a tag to compare

What's new?

  • Add iso-3166-2 validation, thanks @erma07 for the PR
  • Add Persian translations, thanks @amir9480 for the PR

Release 10.6.2

08 Jul 05:31
8bfa88a
Compare
Choose a tag to compare

What was fixed?

  • Fix map diving validation, thanks @echovl for the PR
  • Fix ja translation, thanks @masafumi-i for the PR
  • Fix README documentation, thanks @arx111 for the PR

Release 10.6.1

12 May 00:38
76b917f
Compare
Choose a tag to compare

What was fixed

  • Fixed url_encoded validation regex not handling totally unescaped data.

Release 10.6.0

06 May 15:06
d07eb88
Compare
Choose a tag to compare

What's new?

  • Added boolean support for required_if, required_unless and eqfield. Thanks @zane-deg for the PR
  • Added ability to validate map data. Thanks @zytell3301 for the PR
  • Added BIC ISO format validator. Thanks @yeexel for the PR

Maintainers

A section has been added to the README regarding a "request for maintainers". I am so happy that the community has embraced this project! and I think that now is a good time to bring on more maintainers to help support the growing user base for timely help, PR reviews and general support.