jsonschema-rs v0.3.0 Release Notes

Release Date: 2020-06-08 // almost 4 years ago
  • โž• Added

    • ๐Ÿ‘ JSONSchema Draft 4 support (except one optional case). #34
    • ๐Ÿ— CI builds. #35 and #36
    • Implement specialized is_valid methods for all keywords.
    • ๐Ÿ‘‰ Use rayon in items keyword validation.
    • ๐Ÿ‘• Various clippy lints. #66
    • Debug implementation for JSONSchema and Resolver. #97
    • 0๏ธโƒฃ Default implementation for Draft.

    ๐Ÿ”„ Changed

    • ๐Ÿ“Œ Do not pin dependencies. #90
    • ๐Ÿ‘‰ Use to_string instead of format!. #85
    • Cache compiled validators in $ref keyword. #83
    • ๐Ÿ‘‰ Use bitmap for validation of multiple types in type keyword implementation. #78
    • Return errors instead of unwrap in various locations. #73
    • ๐Ÿ‘Œ Improve debug representation of validators. #70
    • โฌ‡๏ธ Reduce the number of match statements during compilation functions resolving.
    • ๐Ÿ‘‰ Use expect instead of unwrap for known cases when it is known that the code won't panic.
    • โž• Add specialized validators for all format cases.
    • 0๏ธโƒฃ Reuse DEFAULT_SCOPE during reference resolving.
    • Replace some Value::as_* calls with if let.
    • Inline all compile functions.
    • โšก๏ธ Optimize format keyword compilation by using static strings.
    • โšก๏ธ Optimize compilation of true, false and $ref validators.
    • Reuse parsed DEFAULT_ROOT_URL in JSONSchema::compile.
    • ๐Ÿ“œ Avoid string allocation during scope parsing in JSONSchema::compile.
    • ๐Ÿ”จ Refactor benchmark suite
    • ๐Ÿ‘‰ Use BTreeSet in additionalProperties keyword during compilation to reduce the amount of copied data. #91

    ๐Ÿ›  Fixed

    • Wrong implementation of is_valid for additionalProperties: false keyword case. #61
    • Possible panic due to type conversion in some numeric validators. #72
    • Precision loss in minimum, maximum, exclusiveMinimum and exclusiveMaximum validators. #84