Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump github.com/go-playground/validator/v10 from 10.2.0 to 10.16.0 (#…
…3086) Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.2.0 to 10.16.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/go-playground/validator/releases">github.com/go-playground/validator/v10's releases</a>.</em></p> <blockquote> <h2>Release 10.16.0</h2> <h2>What's new or fixed?</h2> <ul> <li>Added new <code>issn</code> validator. TY <a href="https://github.com/mrcook"><code>@mrcook</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1166">PR</a></li> <li>Added improvement/fix to the file url validation. TY <a href="https://github.com/nodivbyzero"><code>@nodivbyzero</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1171">PR</a></li> <li>Fix onof tag in examples. TY <a href="https://github.com/gren236"><code>@gren236</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1184">PR</a></li> <li>Add <code>fmt.Stringer</code> interface support to <code>uuid</code> validations allowing most UUID validation libraries which implement it to work transparently now. TY <a href="https://github.com/JoshGlazebrook"><code>@JoshGlazebrook</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1189">PR</a></li> <li>Added new <code>omitnil</code> similar to <code>omitempty</code> but for pointers. this is mainly for code generation ease. TY <a href="https://github.com/tarampampam"><code>@tarampampam</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1187">PR</a></li> </ul> <h2>Release 10.15.5</h2> <h2>What was fixed?</h2> <p>Fixed <code>CIDRIPv4</code> validation, ty <a href="https://github.com/martinlehoux"><code>@martinlehoux</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/945">PR</a></p> <h2>Release 10.15.4</h2> <h3>What was fixed?</h3> <p>Corrected a regression of skipping <code>required</code> for <code>time.Time</code> accidentally introduced in <code>v10.15.2</code></p> <h2>Release 10.15.3</h2> <h2>What was fixed?</h2> <p>Fix regression for invalid type check before calling reflect values type. Thank you <a href="https://github.com/MysteriousPotato"><code>@MysteriousPotato</code></a> for the <a href="https://redirect.github.com/go-playground/validator/pull/1156">PR</a></p> <h2>Release 10.15.2</h2> <h3>What was fixed?</h3> <ul> <li>Refactored <a href="https://redirect.github.com/go-playground/validator/issues/1122">#1122</a> to support <code>or</code>'s in tags + updated to <code>required</code> behaving the same as before <code>v10.50.0</code> to support the community as there was a lot of code relying on the before behaviour, correct or not. <ul> <li>Added a way to opt-in to the new functionality, which is recommended, using <a href="https://github.com/go-playground/validator/blob/master/_examples/simple/main.go#L33">WithRequiredStructEnabled</a></li> </ul> </li> </ul> <h2>Release 10.15.1</h2> <h3>What was fixed?</h3> <p>Corrected a few validations including <code>gt</code>, <code>lt</code>, ... when using floating point values, specifically <code>float32</code>, in this <a href="https://redirect.github.com/go-playground/validator/pull/1146">PR</a></p> <h2>Release 10.15.0</h2> <h3>What's new?</h3> <ul> <li>Applying <code>tag</code> validations on <code>structs</code> is now a reality thank to <a href="https://github.com/MysteriousPotato"><code>@MysteriousPotato</code></a> in this <a href="https://redirect.github.com/go-playground/validator/pull/1122">PR</a></li> <li>Added <code>oneof</code> tag to examples in this <a href="https://redirect.github.com/go-playground/validator/pull/1135">PR</a></li> <li>Added <code>Spice DB</code> validations in this <a href="https://redirect.github.com/go-playground/validator/pull/1125">PR</a></li> </ul> <h2>What was fixed?</h2> <ul> <li>Fixed the REAMD logo link in this <a href="https://redirect.github.com/go-playground/validator/pull/1134">PR</a></li> <li>Fixed <code>filepath</code> validation when path is a directory in this <a href="https://redirect.github.com/go-playground/validator/pull/1133">PR</a></li> <li>Correct to docs in this <a href="https://redirect.github.com/go-playground/validator/pull/1121">PR</a></li> </ul> <h2>Release 10.14.1</h2> <h2>What was fixed?</h2> <ul> <li>Add allowance to valid JSOn for types convertible to such as <code>json.RawMessage</code> in <a href="https://redirect.github.com/go-playground/validator/pull/1110">this PR</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/go-playground/validator/commit/84254aeb5a59e615ec0b66ab53b988bc0677f55e"><code>84254ae</code></a> update README</li> <li><a href="https://github.com/go-playground/validator/commit/124662234ff9aa571e50e1fda6048a551bb78af3"><code>1246622</code></a> add ISSN validator + tests + documentation (<a href="https://redirect.github.com/go-playground/validator/issues/1166">#1166</a>)</li> <li><a href="https://github.com/go-playground/validator/commit/c8569618d4489374973a0ee650972fcc786ed7cb"><code>c856961</code></a> fix file URL validator (<a href="https://redirect.github.com/go-playground/validator/issues/1171">#1171</a>)</li> <li><a href="https://github.com/go-playground/validator/commit/aa969096c5644e7487fba0ef9768a6ac712a72fb"><code>aa96909</code></a> Add <code>omitnil</code> modifier (<a href="https://redirect.github.com/go-playground/validator/issues/1187">#1187</a>)</li> <li><a href="https://github.com/go-playground/validator/commit/b0c733737d69470434d9f2358e6e83f6de60669a"><code>b0c7337</code></a> update fieldMatchesRegexByStringerValOrString for backward compatibility</li> <li><a href="https://github.com/go-playground/validator/commit/4c1bd614e306e580fff06cd83334f30d8e35db8c"><code>4c1bd61</code></a> Add support for validating against uuid values that are structs which impleme...</li> <li><a href="https://github.com/go-playground/validator/commit/adda84d6e65cd12b4ea52850e60698490d806a3f"><code>adda84d</code></a> Fix oneof tag in simple example (<a href="https://redirect.github.com/go-playground/validator/issues/1184">#1184</a>)</li> <li><a href="https://github.com/go-playground/validator/commit/94a637ab9fbbb0bc0fe8a278f0352d0b14e2c365"><code>94a637a</code></a> feat(BREAKING): Change CIDRIPv4 validation (<a href="https://redirect.github.com/go-playground/validator/issues/945">#945</a>)</li> <li><a href="https://github.com/go-playground/validator/commit/8d50f2fd8c2f02fbdf1d44d66171b955c2f4eb50"><code>8d50f2f</code></a> Update README.md</li> <li><a href="https://github.com/go-playground/validator/commit/619321c9f9cce5a8b7e2e334b916903d2148e71d"><code>619321c</code></a> fix edge case (<a href="https://redirect.github.com/go-playground/validator/issues/1163">#1163</a>)</li> <li>Additional commits viewable in <a href="https://github.com/go-playground/validator/compare/v10.2.0...v10.16.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/go-playground/validator/v10&package-manager=go_modules&previous-version=10.2.0&new-version=10.16.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information