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 #159

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 27, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

v10.22.0: Release 10.22.0

Compare Source

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 was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented May 27, 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/[email protected]: 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 requested a review from a team as a code owner May 27, 2024 19:11
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from cc0d008 to 71e36c7 Compare June 1, 2024 17:01
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 71e36c7 to d4cbb93 Compare June 12, 2024 07:13
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 5cbd48c to 6d599ea Compare July 29, 2024 10:47
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 6d599ea to b272509 Compare August 8, 2024 10:14
@aalexandru aalexandru closed this Aug 8, 2024
Copy link
Contributor Author

renovate bot commented Aug 8, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 10.x releases. But if you manually upgrade to 10.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/gopkg.in-go-playground-validator.v9-10.x branch August 8, 2024 11:48
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.

1 participant