jsonschema v0.13.0 Release Notes

Release Date: 2021-10-28 // over 2 years 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.