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

fix(deps): update module gopkg.in/go-playground/validator.v9 to v10 #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 25, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
gopkg.in/go-playground/validator.v9 v9.31.0 -> v10.21.0 age adoption passing confidence

Release Notes

go-playground/validator (gopkg.in/go-playground/validator.v9)

v10.21.0: Release 10.21.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.20.0...v10.21.0

v10.20.0: Release 10.20.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.19.0...v10.20.0

v10.19.0: Release 10.19.0

Compare Source

What was added?

Added opt-in ability to validate private fields in PR, thanks @​nikolaianohyn via the new WithPrivateFieldValidation option when initializing validator.

v10.18.0: Release 10.18.0

Compare Source

What Changed?

Updated all dependencies to address dependant alerts, #​1205 and #​1220

v10.17.0: Release 10.17.0

Compare Source

What's new

  • Add translation of requiredXXX and excludedXXX in English/Chinese/Chinese Taiwan.

What's fixed

  • Fix errors translation to work properly for aliases.

v10.16.0: Release 10.16.0

Compare Source

What's new or fixed?

  • Added new issn validator. TY @​mrcook for the PR
  • Added improvement/fix to the file url validation. TY @​nodivbyzero for the PR
  • Fix onof tag in examples. TY @​gren236 for the PR
  • Add fmt.Stringer interface support to uuid validations allowing most UUID validation libraries which implement it to work transparently now. TY @​JoshGlazebrook for the PR
  • Added new omitnil similar to omitempty but for pointers. this is mainly for code generation ease. TY @​tarampampam for the PR

v10.15.5: Release 10.15.5

Compare Source

What was fixed?

Fixed CIDRIPv4 validation, ty @​martinlehoux for the PR

v10.15.4: Release 10.15.4

Compare Source

What was fixed?

Corrected a regression of skipping required for time.Time accidentally introduced in v10.15.2

v10.15.3: Release 10.15.3

Compare Source

What was fixed?

Fix regression for invalid type check before calling reflect values type. Thank you @​MysteriousPotato for the PR

v10.15.2: Release 10.15.2

Compare Source

What was fixed?
  • Refactored #​1122 to support or's in tags + updated to required behaving the same as before v10.50.0 to support the community as there was a lot of code relying on the before behaviour, correct or not.

v10.15.1: Release 10.15.1

Compare Source

What was fixed?

Corrected a few validations including gt, lt, ... when using floating point values, specifically float32, in this PR

v10.15.0: Release 10.15.0

Compare Source

What's new?
  • Applying tag validations on structs is now a reality thank to @​MysteriousPotato in this PR
  • Added oneof tag to examples in this PR
  • Added Spice DB validations in this PR

What was fixed?

  • Fixed the REAMD logo link in this PR
  • Fixed filepath validation when path is a directory in this PR
  • Correct to docs in this PR

v10.14.1: Release 10.14.1

Compare Source

What was fixed?

  • Add allowance to valid JSOn for types convertible to such as json.RawMessage in this PR
  • Fix URL validation with only schema in this PR

v10.14.0: Release 10.14.0

Compare Source

What's new?

  • Added on disk file validation from this PR
  • Enhanced credit card validation test to 100% with this PR

v10.13.0: Release 10.13.0

Compare Source

What's new?

  • Added skip_unless validation.

What was fixed?

  • Fixed excluded_if validation not working as documented.
  • Fix state and province codes to meet iso3166_2 standard.
  • Update go-urn library to remove GPLv3 library dependency
  • Many updates to documentation.

v10.12.0: Release 10.12.0

Compare Source

What is new?

  • Added eth_addr_checksum validation.
  • Added eg_ignore_case and ne_ignore_case
  • Added http_url validation for http(s) URL's
  • Added cron validation.
  • Added unique validation ability to validate struct fields.
  • Added base64rawurl validation for base64 url without = padding
  • Added mongodb objectID validation
  • Added filepath validation.
  • Added dirpath validation.
  • Added luhn_checksum validation.
  • Added cve validation.
  • Added kosovo to country codes.
  • Added Latvian translations.
  • Added multiple missing language translations.

What was fixed?

  • Fixed multiple documentation grammar issues.
  • Updated all dependencies to address any lingering CVE issues be reported by tools, even if not able to exploit through this package.
  • Fixed excluded_unless validation.
  • Fix unique validation for map with Pointer values.
  • Fixed unique validation for struct field when itis a nil pointer.
  • Fixed multiple language validation.
  • Fixed notblank validation to cover all whitespace characters

What was changed?

  • Tweaked eth_addr validation while adding eth_addr_checksum.
  • Updated Struct Level validation example for enum+ example.
  • Removed unnecessary cast allowing mocking of ValidationErrors

v10.11.2: Release 10.11.2

Compare Source

What was fixed

  • Merged some PR and updated deps to address some CVE's in those libraries.

v10.11.1: Release 10.11.1

Compare Source

What was fixed?

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

v10.11.0: Release 10.11.0

Compare Source

What's new?
What was fixed?
What was enhanced?

v10.10.1: Release 10.10.1

Compare Source

What was fixed?

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

v10.10.0: Release 10.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: Release 10.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: Release 10.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: Release 10.7.0

Compare Source

What's new?

v10.6.2: Release 10.6.2

Compare Source

What was fixed?

v10.6.1: Release 10.6.1

Compare Source

What was fixed

  • Fixed url_encoded validation regex not handling totally unescaped data.

v10.6.0: Release 10.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: Release 10.5.0

Compare Source

What's new?

v10.4.2: Release 10.4.2

Compare Source

What was Fixed?

v10.4.1: Release 10.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: Release 10.4.0

Compare Source

What's new?

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

v10.3.0: Release 10.3.0

Compare Source

What's New/Fixed?

New

Fixed

v10.2.0: Release 10.2.0

Compare Source

What's new?

v10.1.0: Release 10.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: Release 10.0.1

Compare Source

What was fixed?

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

v10.0.0: Release 10.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: Branch creation - At any time (no schedule defined), Automerge - 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, check this box

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

@renovate
Copy link
Author

renovate bot commented Mar 25, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: gopkg.in/go-playground/validator.v10@v10.20.0: parsing go.mod:
	module declares its path as: github.com/go-playground/validator/v10
	        but was required as: gopkg.in/go-playground/validator.v10

@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 0001f04 to 056e1b1 Compare May 28, 2023 09:48
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 056e1b1 to 3705d0e Compare June 4, 2023 16:17
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 3705d0e to ebca054 Compare August 6, 2023 19:36
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from ebca054 to a3852b6 Compare August 17, 2023 16:59
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from d5cd697 to 2faaf92 Compare August 30, 2023 06:27
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 2faaf92 to 5c5bb7b Compare September 13, 2023 01:22
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 5c5bb7b to eb365ee Compare October 2, 2023 04:47
@renovate renovate bot changed the title fix(deps): update module gopkg.in/go-playground/validator.v9 to v10 fix(deps): update module gopkg.in/go-playground/validator.v9 to v10 - autoclosed Oct 23, 2023
@renovate renovate bot closed this Oct 23, 2023
@renovate renovate bot deleted the renovate/gopkg.in-go-playground-validator.v9-10.x branch October 23, 2023 10:28
@renovate renovate bot changed the title fix(deps): update module gopkg.in/go-playground/validator.v9 to v10 - autoclosed fix(deps): update module gopkg.in/go-playground/validator.v9 to v10 Oct 23, 2023
@renovate renovate bot reopened this Oct 23, 2023
@renovate renovate bot restored the renovate/gopkg.in-go-playground-validator.v9-10.x branch October 23, 2023 12:04
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from eb365ee to 7be09e8 Compare October 23, 2023 12:05
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 7be09e8 to 701598a Compare November 4, 2023 16:51
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 701598a to 4c886a4 Compare January 14, 2024 06:52
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 4c886a4 to 1becabb Compare February 1, 2024 19:16
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from ea4ef68 to ac9732b Compare February 11, 2024 06:56
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from ac9732b to 306f8e8 Compare March 2, 2024 21:49
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 306f8e8 to 6bc4a71 Compare April 30, 2024 07:05
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 6bc4a71 to 150d97e Compare June 1, 2024 20:33
Copy link
Author

renovate bot commented Jun 1, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: gopkg.in/go-playground/validator.v10@v10.21.0: parsing go.mod:
	module declares its path as: github.com/go-playground/validator/v10
	        but was required as: gopkg.in/go-playground/validator.v10

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

0 participants