Skip to content

Commit e1bfc99

Browse files
Merge #692
692: Update validator requirement from 0.18.1 to 0.20.0 r=curquiza a=dependabot[bot] [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Updates the requirements on [validator](https://github.com/Keats/validator) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Keats/validator/blob/master/CHANGELOG.md">validator's changelog</a>.</em></p> <blockquote> <h2>0.20.0 (2025/01/20)</h2> <ul> <li>Implement <code>AsRegex</code> for <code>std::sync::LazyLock&lt;Regex&gt;</code></li> <li>Bug fix for nested issue with custom only running nested if outer passes</li> <li>Support <code>Deserialize</code> for <code>ValidationErrors</code></li> </ul> <h2>0.19.0 (2024/11/03)</h2> <ul> <li>Swap to using proc-macro-error-2 instead of proc-macro-error for Syn</li> <li>Bumped MSRV to 1.81 because of error naming changes.</li> <li>Add more ValidateRegex impl</li> </ul> <h2>0.18.1 (2024/04/11)</h2> <ul> <li>Fix multiple custom validation</li> <li>Fix nested error handling</li> </ul> <h2>0.18.0 (2024/04/05)</h2> <ul> <li>Fix regressions from the derive rewrite, some things are back to 0.16 (eg custom functions)</li> <li>Remove require_nested, use required and nested validators instead</li> <li>Always require <code>nested</code> on the field for nested validation</li> </ul> <h2>0.17.0 (2024/03/04)</h2> <ul> <li>Derive macro has been entirely rewritten</li> <li>Validation is now done through traits that you can implement</li> <li>Remove phone validator</li> <li>Remove automatic use of serde rename for fields name (temporary)</li> </ul> <h2>0.16.0 (2022/06/27)</h2> <ul> <li>Allow passing code/message to <code>required</code></li> <li>Add <code>does_not_contain</code> validator</li> <li>Check email length before validating it</li> </ul> <h2>0.15.0 (2022/05/03)</h2> <ul> <li>Allow passing args to schema validator</li> <li>Implement HasLen for map/set types</li> <li>Remove <code>validator_types</code> from validator crate</li> <li>Add ValidationErrors::errors_mut</li> <li>Ignore unsupported fields rather than erroring</li> </ul> <h2>0.14.0 (2021/06/29)</h2> <ul> <li>Allow passing arguments to custom functions</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Keats/validator/commit/32e49fbd17eb4ca3d51e4fb5ac0180ea925fe605"><code>32e49fb</code></a> Prepare for release</li> <li><a href="https://github.com/Keats/validator/commit/06e69ebe27655329b2eda4ec1d410612da4c0103"><code>06e69eb</code></a> feat: support <code>Deserialize</code> for <code>ValidationErrors</code> (<a href="https://redirect.github.com/Keats/validator/issues/364">#364</a>)</li> <li><a href="https://github.com/Keats/validator/commit/629ee589f3fc9c12aa26660332f1c779939ddd81"><code>629ee58</code></a> Fix Merge issues between custom and nested (<a href="https://redirect.github.com/Keats/validator/issues/359">#359</a>)</li> <li><a href="https://github.com/Keats/validator/commit/c38ae67b5cd682001cd6b876c9e7e336ba849481"><code>c38ae67</code></a> impl AsRegex for LazyLock&lt;Regex&gt; (<a href="https://redirect.github.com/Keats/validator/issues/361">#361</a>)</li> <li><a href="https://github.com/Keats/validator/commit/d256ba7622a7cac3299fd4c305bdafffb4139461"><code>d256ba7</code></a> Update README.md</li> <li><a href="https://github.com/Keats/validator/commit/a2eef321f0dc33259e7fa2a4bd3ce7bc25da4d3f"><code>a2eef32</code></a> Update README.md</li> <li><a href="https://github.com/Keats/validator/commit/0517e59677fccf800d447f3db044f2353887715c"><code>0517e59</code></a> Update MSVR in README.md (<a href="https://redirect.github.com/Keats/validator/issues/356">#356</a>)</li> <li><a href="https://github.com/Keats/validator/commit/2f243314bb0e484a66c49fd2145a8e15f8449187"><code>2f24331</code></a> Update release date</li> <li><a href="https://github.com/Keats/validator/commit/6f22a170edf3d727a634f99f87cc0eb921517dba"><code>6f22a17</code></a> Fix warnings in tests (<a href="https://redirect.github.com/Keats/validator/issues/355">#355</a>)</li> <li><a href="https://github.com/Keats/validator/commit/6dd0525499517aa96f2fbaa9f02649e331d2d1be"><code>6dd0525</code></a> bump version update (<a href="https://redirect.github.com/Keats/validator/issues/354">#354</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Keats/validator/compare/v0.18.1...v0.20.0">compare view</a></li> </ul> </details> <br /> You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents 1f613f6 + 517bcd8 commit e1bfc99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/web_app_graphql/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ meilisearch-sdk = "0.24.3"
2323
serde = { version = "1.0.192", features = ["derive"] }
2424
serde_json = "1.0.108"
2525
thiserror = "1.0.51"
26-
validator = { version = "0.18.1", features = ["derive"] }
26+
validator = { version = "0.20.0", features = ["derive"] }

0 commit comments

Comments
 (0)