esrlabs / northstar

Embedded container runtime
Apache License 2.0
167 stars 32 forks source link

Bump validator from 0.16.1 to 0.18.1 #1157

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Bumps validator from 0.16.1 to 0.18.1.

Changelog

Sourced from validator's changelog.

0.18.1 (2024/04/11)

  • Fix multiple custom validation
  • Fix nested error handling

0.18.0 (2024/04/05)

  • 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

0.17.0 (2024/03/04)

  • 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)

0.16.0 (2022/06/27)

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

0.15.0 (2022/05/03)

  • Allow passing args to schema validator
  • Implement HasLen for map/set types
  • Remove validator_types from validator crate
  • Add ValidationErrors::errors_mut
  • Ignore unsupported fields rather than erroring

0.14.0 (2021/06/29)

  • Allow passing arguments to custom functions
  • Better Display implementation
  • Better parsing of schema validation function in derive

0.13.0 (2021/03/22)

  • Allow multiple schema-level validations

0.12.0 (2020/11/26)

  • Allow length and range validators to take a reference to a variable
  • Make validator work with Option<Vec<_>>
  • Support reference for length types
  • Fix phone, unic and card feature to actually work

... (truncated)

Commits


Dependabot compatibility score

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 commands and options
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 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)
dependabot[bot] commented 2 months ago

Looks like validator is no longer updatable, so this is no longer needed.