github Stranger6667/jsonschema rust-v0.39.0
[Rust] Release 0.39.0

latest releases: ruby-v0.46.4, python-v0.46.4, rust-v0.46.4...
3 months ago

Added

  • ValidationError::evaluation_path() for the dynamic path including $ref traversals.

Changed

  • BREAKING: Simplified custom keyword API - Keyword::validate no longer receives path parameters, and ValidationError::custom only takes a message.

Fixed

  • schemaLocation in evaluation output now excludes $ref/$dynamicRef/$recursiveRef per JSON Schema spec.

Performance

  • evaluate(): 4.5-30x faster on complex schemas, 12-89% faster overall.
  • Recursive schemas with oneOf/anyOf: ~4000x faster via memoization. #930

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.