All Versions
33
Latest Version
Avg Release Cycle
27 days
Latest Release
547 days ago

Changelog History
Page 1

  • v0.16.1 Changes

    October 20, 2022

    โž• Added

    • Add a compilation option (should_ignore_unknown_formats()) that allows treating unknown formats as compilation errors.
  • v0.16.0 Changes

    April 21, 2022

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Library compilation with no default features. #356
    • Compilation with resolve-file only. #358

    ๐Ÿ”„ Changed

    • ๐Ÿ’ฅ BREAKING: Revert changes from #353 and #343, as they caused compilation issues.
  • v0.15.2 Changes

    April 10, 2022

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow HTTP(S) schema resolving with rustls. #353
  • v0.15.1 Changes

    April 02, 2022

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ Enable reqwest/native-tls by default to avoid validation errors caused by reqwest missing a TLS backend. #343
  • v0.15.0 Changes

    January 31, 2022

    โž• Added

    • ๐Ÿ‘ The SchemaResolver trait to support resolving external schema references. #246
    • resolve-file feature to resolve external schema files via std::fs. #76

    ๐Ÿ”„ Changed

    • The reqwest feature was changed to resolve-http. #341

    ๐ŸŽ Performance

    • CLI: Use serde::from_reader instead of serde::from_str.
  • v0.14.0 Changes

    January 23, 2022

    ๐Ÿ”„ 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.
  • v0.13.3 Changes

    December 08, 2021

    ๐Ÿ”„ 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.
  • v0.13.2 Changes

    November 04, 2021

    โž• Added

    • ๐Ÿ‘Œ Support for prefixItems keyword. #303
    • ๐Ÿ”ฆ Expose methods to examine OutputUnit.
  • v0.13.1 Changes

    October 28, 2021

    ๐Ÿ›  Fixed

    • Missing derive from serde.
  • v0.13.0 Changes

    October 28, 2021

    โž• 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.