Skip to content

[Rust] Release 0.31.0

Compare
Choose a tag to compare
@Stranger6667 Stranger6667 released this 27 Jul 22:50
· 25 commits to master since this release
rust-v0.31.0
29fdb82

Added

  • CLI: flag -d, --draft <4|6|7|2019|2020> to enforce a specific JSON Schema draft.
  • CLI: flags --assert-format and --no-assert-format to toggle validation of format keywords.
  • Added context for ValidationErrorKind.AnyOf and ValidationErrorKind.OneOfNotValid which contains errors for all subschemas, each inside a separate vector with an index matching subschema ID.

Fixed

  • Improve the precision of multipleOf for float values.

Changed

  • Bump fancy-regex to 0.15.