Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module github.com/go-playground/validator to v10 #457

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/go-playground/validator require major v9.31.0+incompatible -> v10.10.0

Release Notes

go-playground/validator

v10.10.0

Compare Source

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.

v10.9.0

Compare Source

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.

v10.8.0

Compare Source

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.

v10.7.0

Compare Source

What's new?

v10.6.2

Compare Source

What was fixed?

v10.6.1

Compare Source

What was fixed

  • Fixed url_encoded validation regex not handling totally unescaped data.

v10.6.0

Compare Source

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.

v10.5.0

Compare Source

What's new?

v10.4.2

Compare Source

What was Fixed?

v10.4.1

Compare Source

What was fixed?

Fixed an issue where if the param of a time.Durtion type is specified
as an integer, denoting nanosecond precision, instead of time duration
string the validation would panic introduced in https://github.com/go-playground/validator/pull/642

The fix ensures it falls back to the previous expected behaviour.

v10.4.0

Compare Source

What's new?

Merged ton of PR's, thank you everyone for your contributions!

v10.3.0

Compare Source

What's New/Fixed?

New

Fixed

v10.2.0

Compare Source

What's new?

v10.1.0

Compare Source

What's new?

🎄 Merry Christmas: 🎄

🎁 🎁 🎁 🎁 🎁 🎁 🎁 🎁

  • Added GetTag functionality to the FieldLevel interface. Thanks @​LRichi for the PR
  • Extended Isunique functionality to handle the uniqueness of struct fields in an array/slice. Thanks @​shihanng for the PR
  • Improved documentation for custom functions. Thanks @​skateinmars for the PR
  • Added e.164 phone number validation. Thanks @​taybart for the PR
  • Optimize isurl nill error check, Thanks @​whatvn for the PR
  • Remove unecessary casting in example, Thanks @​Streppel for the PR
  • Improve accuracy of the datauri validation regex, Thanks @​JonathanWThom for the PR
  • Add boolean type support for the eq validator, Thanks @​ghost for the PR
  • Punctuation fix to the CONTRIBUTING.md, Thanks @​sclaire-1 for the PR
  • Added ability to validate oneof for space-separated strings, Thanks @​JonathanWThom for the PR

v10.0.1

Compare Source

What was fixed?

Fixed the required_with* validation functions that were not properly handling pointers.

v10.0.0

Compare Source

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.


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@abyssparanoia abyssparanoia merged commit 66808ec into master Jan 11, 2022
@abyssparanoia abyssparanoia deleted the renovate/github.com-go-playground-validator-10.x branch January 11, 2022 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants