paritytech / parity-common

Collection of crates used in Parity projects
https://www.paritytech.io/
Apache License 2.0
290 stars 218 forks source link

build(deps): update jsonschema requirement from 0.17 to 0.18 #851

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 6 months ago

Updates the requirements on jsonschema to permit the latest version.

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.18.0

Added

  • Defining custom format checkers. #245

Changed

  • Update pyo3 to 0.21.

Fixed

  • Incorrect schema_path when multiple errors coming from the $ref keyword #426
Changelog

Sourced from jsonschema's changelog.

[0.18.0] - 2024-05-07

Added

  • Custom keywords support. #379
  • Expose JsonPointerNode that can be converted into JSONPointer. This is needed for the upcoming custom validators support.

Changed

  • Bump base64 to 0.22.
  • Bump clap to 4.5.
  • Bump fancy-regex to 0.13.
  • Bump fraction to 0.15.
  • Bump memchr to 2.7.
  • Bump once_cell to 1.19.
  • Bump percent-encoding to 2.3.
  • Bump regex to 1.10.
  • Bump url to 2.5.
  • Build CLI only if the cli feature is enabled.
  • BREAKING: Extend CompilationOptions to support more ways to define custom format checkers (for example in Python bindings). In turn it changes ValidationErrorKind::Format to contain a String instead of a &'static str.

Fixed

  • Incorrect schema_path when multiple errors coming from the $ref keyword #426

Performance

  • Optimize building JSONPointer for validation errors by allocating the exact amount of memory needed.
  • Avoid cloning path segments during validation.

[0.17.1] - 2023-07-05

Changed

  • Improved error messages for oneOf / anyOf keywords. #429

Fixed

  • Improper handling of subschema validation in unevaluatedProperties. #421

[0.17.0] - 2023-03-16

Changed

  • Bump base64 to 0.21.
  • Bump fancy-regex to 0.11.
  • Bump fraction to 0.13.
  • Bump iso8601 to 0.6.

... (truncated)

Commits
  • ffdbcc9 chore(rust): Release 0.18.0
  • 2cbc86f fix: incorrect schema_path in errors from $ref
  • cfab602 perf: Avoid allocations while constructing path segments
  • 21df181 chore(python): Update types
  • e564888 feat(python): Custom format checkers
  • 0a00839 docs(python): Update README
  • 146f6cd docs: Update README
  • aa94a4b feat: Custom keyword validation (#473)
  • 7946e97 chore(python): Update PyO3 to 0.21.0
  • 092b573 build: Disable build cache for Python tests
  • Additional commits viewable in compare view


You can trigger a rebase of this PR 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

dependabot[bot] commented 1 month ago

Superseded by #864.