jsonschema v0.14.0 Release Notes

Release Date: 2022-01-23 // about 2 years ago
  • ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Make BasicOutput.is_valid public.

    ๐Ÿ›  Fixed

    • False positives in some cases when calling JSONSchema.apply on schemas with additionalProperties, patternProperties, and properties combined.
    • False negatives in some cases when calling JSONSchema.apply on schemas with if and then (without else) keywords. #318
    • Panic in JSONSchema.apply on some schemas with prefixItems and items. It panicked if items is an object and the length of prefixItems is greater than the length of the input array.

    ๐ŸŽ Performance

    • โœ‚ Remove unused private field in JSONSchema, that lead to improvement in the compilation performance.
    • โšก๏ธ Optimize the multipleOf implementation, which now can short-circuit in some cases.
    • โž• Add special cases for arrays with 2 and 3 items in the uniqueItems keyword implementation.
    • โœ‚ Remove the schema argument from all methods of the Validate trait.