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 gopkg.in/go-playground/validator.v9 to v10 #63

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2023

This PR contains the following updates:

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

Release Notes

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

v10.23.0: Release 10.23.0

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.22.1...v10.23.0

v10.22.1: Release 10.22.1

Compare Source

What's Changed

New Contributors

Full Changelog: go-playground/validator@v10.22.0...v10.22.1

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.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 11, 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 b949385 to 2cddb5a Compare March 20, 2023 01:21
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 2cddb5a to 9856916 Compare April 14, 2023 14:59
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 9856916 to 9791136 Compare April 29, 2023 16:35
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 9791136 to 92861a6 Compare May 21, 2023 16:50
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 92861a6 to a5dc30c Compare June 4, 2023 15:29
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from a5dc30c to dc4642f Compare June 26, 2023 16:28
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from dc4642f to 8138363 Compare August 6, 2023 19:51
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 8138363 to 4a31c76 Compare August 17, 2023 19:23
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch 2 times, most recently from 2c24d63 to 70d4529 Compare August 30, 2023 06:19
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 70d4529 to 4e154c7 Compare September 13, 2023 02:19
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 4e154c7 to 6cc7a38 Compare October 2, 2023 04:48
@renovate renovate bot changed the title Update module gopkg.in/go-playground/validator.v9 to v10 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:44
@renovate renovate bot changed the title Update module gopkg.in/go-playground/validator.v9 to v10 - autoclosed 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 14:43
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 6cc7a38 to 0238196 Compare October 23, 2023 14:43
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 0238196 to f8cdf86 Compare November 4, 2023 19:02
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from f8cdf86 to c6f49ee Compare January 14, 2024 06:04
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from c6f49ee to 2f28077 Compare February 11, 2024 06:16
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 2f28077 to 77b6188 Compare March 2, 2024 22:16
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 77b6188 to 64a847c Compare April 30, 2024 04:38
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 64a847c to 2667d81 Compare June 1, 2024 23:35
Copy link
Contributor 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: -d flag is deprecated. -d=true is a no-op
go: gopkg.in/go-playground/validator.v10@v10.23.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 2667d81 to 4c4679c Compare June 12, 2024 08:02
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from 4c4679c to c756827 Compare September 9, 2024 04:36
@renovate renovate bot force-pushed the renovate/gopkg.in-go-playground-validator.v9-10.x branch from c756827 to 067bc5e Compare November 16, 2024 19:27
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.

0 participants