jsonschema-rs v0.13.0 Release Notes

Release Date: 2021-10-28 // 7 months ago
  • โž• Added

    • uuid format validator. #266
    • duration format validator. #265
    • Collect annotations whilst evaluating schemas. #262
    • Option to turn off processing of the format keyword. #261
    • ๐Ÿ’… basic & flag output formatting styles. #100
    • ๐Ÿ‘Œ Support for dependentRequired & dependentSchemas keywords. #286
    • Forward reqwest features.

    ๐Ÿ”„ Changed

    • INTERNAL. A new Draft201909 variant for the Draft enum that is available only under the draft201909 feature. This feature is considered private and should not be used outside of the testing context. It allows us to add features from the 2019-09 Draft without exposing them in the public API. Therefore, support for this draft can be added incrementally.
    • The Draft enum is now marked as non_exhaustive.
    • ๐Ÿšš ValidationError::schema was removed and the calls replaced by proper errors.

    ๐ŸŽ Performance

    • โฌ‡๏ธ Reduce the size of PrimitiveTypesBitMapIterator from 3 to 2 bytes. #282
    • ๐Ÿ‘‰ Use the bytecount crate for maxLength & minLength keywords, and for the hostname format.