All Versions
26
Latest Version
Avg Release Cycle
22 days
Latest Release
25 days ago

Changelog History
Page 2

  • 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.
  • v0.7.0 Changes

    April 27, 2021

    โž• Added

    • ValidationError.instance_path that shows the path to the erroneous part of the input instance. It has the Vec<String> type and contains components of the relevant JSON pointer.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘‰ Make fields of ValidationError public. It allows the end-user to customize errors formatting.

    ๐Ÿ›  Fixed

    • ๐Ÿ“ฆ Reject IPv4 addresses with leading zeroes. As per the new test case in the JSONSchema test suite. More info
    • โœ… Do not look for sub-schemas inside const and enum keywords. Fixes an issue checked by these tests
    • Check all properties in the required keyword implementation. #190

    โœ‚ Removed

    • Not used ValidationErrorKind::Unexpected.
  • v0.6.1 Changes

    March 26, 2021

    ๐Ÿ›  Fixed

    • Incorrect handling of \w and \W character groups in pattern keywords. #180
    • Incorrect handling of strings that contain escaped character groups (like \\w) in pattern keywords.
  • v0.6.0 Changes

    February 03, 2021

    ๐Ÿ›  Fixed

    • Missing validation errors after the 1st one in additionalProperties validators.

    ๐ŸŽ Performance

    • Do not use rayon in items keyword as it gives significant overhead for a general case.
    • Avoid partially overlapping work in additionalProperties / properties / patternProperties validators. #173
  • v0.5.0 Changes

    January 29, 2021

    โž• Added

    • Cache for documents loaded via the $ref keyword. #75
    • Meta schemas for JSON Schema drafts 4, 6, and 7. #28

    ๐Ÿ›  Fixed

    • Not necessary network requests for schemas with $id values with trailing # symbol. #163

    ๐ŸŽ Performance

    • Enum validation for input values that have a type that is not present among the enum variants. #80

    โœ‚ Removed

    • -V/--validator options from the CLI. They were no-op and never worked.
  • v0.4.3 Changes

    December 11, 2020

    ๐Ÿ“š Documentation

    • ๐Ÿ‘‰ Make examples in README.md runnable.
  • v0.4.2 Changes

    December 11, 2020

    ๐Ÿ”„ Changed

    • ๐Ÿšš Move paste to dev dependencies.

    ๐Ÿ›  Fixed

    • Number comparison for enum and const keywords. #149
    • Do not accept date strings with single-digit month and day values. #151

    ๐ŸŽ Performance

    • ๐ŸŽ Some performance related changes were rolled back, due to increased complexity.