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

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

Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 20, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

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

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
Contributor Author

renovate bot commented Dec 20, 2022

⚠ 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 changed the title chore(deps): update module gopkg.in/go-playground/validator.v9 to v10 chore(deps): update module gopkg.in/go-playground/validator.v9 to v10 - autoclosed Jan 1, 2023
@renovate renovate bot closed this Jan 1, 2023
@renovate renovate bot deleted the renovate/gopkg.in-go-playground-validator.v9-10.x branch January 1, 2023 20:42
@renovate renovate bot changed the title chore(deps): update module gopkg.in/go-playground/validator.v9 to v10 - autoclosed chore(deps): update module gopkg.in/go-playground/validator.v9 to v10 Jan 1, 2023
@renovate renovate bot reopened this Jan 1, 2023
@renovate renovate bot restored the renovate/gopkg.in-go-playground-validator.v9-10.x branch January 1, 2023 23:10
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 5c1bc0b to 4b9c1cb Compare March 11, 2023 12:52
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 3 times, most recently from b20d770 to f061929 Compare March 24, 2023 09:54
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 4 times, most recently from 6631732 to cbd3983 Compare April 6, 2023 12:17
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from cbd3983 to 432a9ce Compare April 20, 2023 13:07
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 432a9ce to 60f33bb Compare April 29, 2023 18:32
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 60f33bb to eb1863d Compare May 21, 2023 16:25
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 3 times, most recently from 2ec40f7 to e01e68c Compare June 4, 2023 15:14
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from e01e68c to b96184b Compare August 6, 2023 18:41
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 4b0b430 to d3601d3 Compare August 24, 2023 13:09
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from fb776cc to 32aa20f Compare August 30, 2023 07:03
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 4ed9a10 to 332bc57 Compare September 13, 2023 03:04
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 332bc57 to e6ae491 Compare October 2, 2023 04:20
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from e6ae491 to f40843b Compare November 4, 2023 16:13
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 0d948fd to 77dab7f Compare January 14, 2024 07:11
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 8b6a5af to c1cb9aa Compare February 8, 2024 13:33
Copy link
Contributor Author

renovate bot commented Feb 8, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@IvanMaidurov IvanMaidurov force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 182b521 to 094acaf Compare February 8, 2024 15:56
@IvanMaidurov IvanMaidurov force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 2bbfb3a to ffecd52 Compare February 9, 2024 12:10
@IvanMaidurov IvanMaidurov merged commit 0f858a0 into master Feb 9, 2024
3 checks passed
@github-actions github-actions bot mentioned this pull request Feb 9, 2024
@carstendietrich carstendietrich deleted the renovate/gopkg.in-go-playground-validator.v9-10.x branch July 25, 2024 12:50
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.

2 participants