fix(deps): update rust crate validator to 0.20 #42

Merged
realaravinth merged 1 commit from renovate/validator-0.x into master 2026-06-22 15:45:47 +05:30
Member

This PR contains the following updates:

Package Type Update Change
validator dependencies minor 0.15 -> 0.20

Release Notes

Keats/validator (validator)

v0.20.0

  • Implement AsRegex for std::sync::LazyLock<Regex>
  • Bug fix for nested issue with custom only running nested if outer passes
  • Support Deserialize for ValidationErrors

v0.19.0

  • Swap to using proc-macro-error-2 instead of proc-macro-error for Syn
  • Bumped MSRV to 1.81 because of error naming changes.
  • Add more ValidateRegex impl

v0.18.1

Compare Source

  • Fix multiple custom validation
  • Fix nested error handling

v0.18.0

  • Fix regressions from the derive rewrite, some things are back to 0.16 (eg custom functions)
  • Remove require_nested, use required and nested validators instead
  • Always require nested on the field for nested validation

v0.17.0

  • Derive macro has been entirely rewritten
  • Validation is now done through traits that you can implement
  • Remove phone validator
  • Remove automatic use of serde rename for fields name (temporary)

v0.16.0

  • Allow passing code/message to required
  • Add does_not_contain validator
  • Check email length before validating it

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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [validator](https://github.com/Keats/validator) | dependencies | minor | `0.15` -> `0.20` | --- ### Release Notes <details> <summary>Keats/validator (validator)</summary> ### [`v0.20.0`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0200-20250120) - Implement `AsRegex` for `std::sync::LazyLock<Regex>` - Bug fix for nested issue with custom only running nested if outer passes - Support `Deserialize` for `ValidationErrors` ### [`v0.19.0`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0190-20241103) - Swap to using proc-macro-error-2 instead of proc-macro-error for Syn - Bumped MSRV to 1.81 because of error naming changes. - Add more ValidateRegex impl ### [`v0.18.1`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0181-20240411) [Compare Source](https://github.com/Keats/validator/compare/v0.18.0...v0.18.1) - Fix multiple custom validation - Fix nested error handling ### [`v0.18.0`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0180-20240405) - Fix regressions from the derive rewrite, some things are back to 0.16 (eg custom functions) - Remove require\_nested, use required and nested validators instead - Always require `nested` on the field for nested validation ### [`v0.17.0`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0170-20240304) - Derive macro has been entirely rewritten - Validation is now done through traits that you can implement - Remove phone validator - Remove automatic use of serde rename for fields name (temporary) ### [`v0.16.0`](https://github.com/Keats/validator/blob/HEAD/CHANGELOG.md#0160-20220627) - Allow passing code/message to `required` - Add `does_not_contain` validator - Check email length before validating it </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi41Mi44IiwidXBkYXRlZEluVmVyIjoiNDIuNTIuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJyZW5vdmF0ZS1ib3QiXX0=-->
fix(deps): update rust crate validator to 0.20
All checks were successful
ci/woodpecker/pull_request_metadata/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful
0a8f28842c
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ForgeFlux/starchart!42
No description provided.