All Versions
22
Latest Version
Avg Release Cycle
23 days
Latest Release
86 days ago

Changelog History
Page 1

  • v0.12.1 Changes

    July 29, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Allow using empty arrays or arrays with non-unique elements for the enum keyword in schemas. #258
    • Panic on incomplete escape sequences in regex patterns. #253
  • v0.12.0 Changes

    July 24, 2021

    โž• Added

    • ๐Ÿ‘Œ Support for custom format validators. #158

    ๐Ÿ”„ Changed

    • Validators now implement Display instead of ToString.
    • JSONSchema now owns its data. #145
  • v0.11.0 Changes

    June 19, 2021

    โž• Added

    • Report schema paths in validation errors - ValidationError.schema_path. #199

    ๐Ÿ›  Fixed

    • Incorrect encoding of / and ~ characters in fmt::Display implementation for JSONPointer. #233
  • v0.10.0 Changes

    June 17, 2021

    โž• Added

    • ๐Ÿ’ฅ BREAKING: Meta-schema validation for input schemas. By default, all input schemas are validated with their respective meta-schemas and instead of CompilationError there will be the usual ValidationError. #198

    โœ‚ Removed

    • CompilationError. Use ValidationError instead.
  • v0.9.1 Changes

    June 17, 2021

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ The format validator incorrectly rejecting supported regex patterns. #230
  • v0.9.0 Changes

    May 07, 2021

    โž• Added

    • ๐Ÿ‘Œ Support for look-around patterns. #183

    ๐Ÿ›  Fixed

    • โœ… Extend the email format validation. Relevant test case from the JSONSchema test suite - email.json.
  • v0.8.3 Changes

    May 05, 2021

    โž• Added

    • paths::JSONPointer implements IntoIterator over paths::PathChunk.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ Skipped validation on an unsupported regular expression in patternProperties. #213
    • Missing array type in error messages for type validators containing multiple values. #216
  • v0.8.2 Changes

    May 03, 2021

    ๐ŸŽ Performance

    • Avoid some repetitive String allocations during validation.
    • โฌ‡๏ธ Reduce the number of RwLock.read() calls in $ref validators.
    • Shortcut in the uniqueItems validator for short arrays.
    • additionalProperties. Use vectors instead of AHashMap if the number of properties is small.
    • Special handling for single-item required validators.
    • Special handling for single-item enum validators.
    • Special handling for single-item allOf validators.
    • Special handling for single-item patternProperties validators without defined additionalProperties.

    ๐Ÿ›  Fixed

    • โœ… Floating point overflow in the multipleOf validator. Relevant test case from the JSONSchema test suite - float_overflow.json.
  • v0.8.1 Changes

    April 30, 2021

    ๐ŸŽ Performance

    • Avoid String allocation in JSONPointer.into_vec.
    • Replace heap-allocated InstancePath with stack-only linked list.
  • v0.8.0 Changes

    April 27, 2021

    ๐Ÿ”„ Changed

    • The propertyNames validator now contains the parent object in its instance attribute instead of individual properties as strings.
    • ๐Ÿ‘Œ Improved error message for the additionalProperties validator. After - Additional properties are not allowed ('faz' was unexpected), before - False schema does not allow '"faz"'.
    • The additionalProperties validator emits a single error for all unexpected properties instead of separate errors for each unexpected property.
    • ๐Ÿ’ฅ Breaking: ValidationError.instance_path is now a separate struct, that can be transformed to Vec<String> or JSON Pointer of type String.

    ๐Ÿ›  Fixed

    • All instance_path attributes are pointing to the proper location.