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

Changelog History
Page 2

  • v0.12.2 Changes

    October 21, 2021

    ๐Ÿ›  Fixed

    • Display the original value in errors from minimum, maximum, exclusiveMinimum, exclusiveMaximum. #215
    • Switch from chrono to time==0.3.3 due to RUSTSEC-2020-0159 in older time versions that chrono depends on.
  • 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.