Skip to content

[Rust] Release 0.47.0

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Jul 23:08
0228347

Added

  • #[jsonschema::validator] attribute macro (behind the macros feature) that compiles a JSON Schema into is_valid and validate implementations at build time.
  • Keyword::iter_errors for reporting multiple validation errors from a single custom keyword. #1071

Changed

  • Bump MSRV to 1.85.0.

Performance

  • Faster meta-schema validation and schema compilation with the macros feature, via compile-time meta-schema validators.

Fixed

  • type under items asserted with the Validation vocabulary disabled.
  • Disabled vocabularies ignored for $ref targets without their own $schema (e.g. $defs entries).