microsoft / regorus

Regorus - A fast, lightweight Rego (OPA policy language) interpreter written in Rust.
MIT License
152 stars 34 forks source link

build(deps): update jsonschema requirement from 0.24.0 to 0.26.0 #336

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 3 weeks ago

Updates the requirements on jsonschema to permit the latest version.

Release notes

Sourced from jsonschema's releases.

[Python] Release 0.26

Performance

  • Optimize error formatting in some cases.
  • Speedup Python -> Rust data serialization
  • Significant improvement for the validate function.
Changelog

Sourced from jsonschema's changelog.

[0.26.0] - 2024-10-26

Important: This release contains breaking changes. See the Migration Guide for details on transitioning to the new API.

Added

  • Validator::iter_errors that iterates over all validation errors.

Changed

  • BREAKING: Remove unused ValidationErrorKind::JSONParse, ValidationErrorKind::InvalidReference, ValidationErrorKind::Schema, ValidationErrorKind::FileNotFound and ValidationErrorKind::Utf8.
  • BREAKING: Validator::validate now returns the first error instead of an iterator in the Err variant.

Performance

  • Optimize error formatting in some cases.

[0.25.1] - 2024-10-25

Fixed

  • Re-export referencing::Error as ReferencingError. #614

[0.25.0] - 2024-10-24

Important: This release removes deprecated old APIs. See the Migration Guide for details on transitioning to the new API.

Changed

  • BREAKING: Default to Draft 2020-12.

Removed

  • Deprecated draft201909, draft202012, and cli features.
  • Deprecated CompilationOptions, JSONSchema, PathChunkRef, JsonPointerNode, and SchemaResolverError aliases.
  • Deprecated jsonschema::compile, Validator::compile, ValidationOptions::compile, ValidationOptions::with_resolver, ValidationOptions::with_meta_schemas, ValidationOptions::with_document functions.
  • Deprecated SchemaResolver trait.

[0.24.3] - 2024-10-24

Fixed

  • Infinite recursion when using mutually recursive $ref in unevaluatedProperties.

[0.24.2] - 2024-10-24

Fixed

  • Infinite recursion in some cases. #146
  • $ref interaction with $recursiveAnchor in Draft 2019-09.

... (truncated)

Commits
  • 737908f chore(rust): Release 0.26.0
  • 12d683a docs: Update benchmarks
  • c373c9f perf(python): Reduce ObjectType size
  • b0913ad chore(python): Update classifiers
  • 5e837c5 docs: Update benchmarks
  • 0b457d1 refactor: Rework iter_errors & validate
  • a989784 chore!: Remove deprecated ValidationErrorKind variants
  • b9d898b perf: Optimize error formatting in some cases
  • 37c64d4 chore: Update repo links
  • 1d828fd chore(python): Release 0.25.1
  • Additional commits viewable in compare view


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 weeks ago

Superseded by #339.