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

Changelog History
Page 3

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

    December 09, 2020

    ๐Ÿ›  Fixed

    • Integers not recognized as numbers when the type keyword is a list of multiple values. #147
  • v0.4.0 Changes

    November 09, 2020

    โž• Added

    • ๐Ÿ’ป Command Line Interface. #102
    • ToString trait implementation for validators.
    • Define JSONSchema::options to customise JSONSchema compilation #131
    • ๐Ÿ‘ Allow user-defined contentEncoding and contentMediaType keywords

    ๐Ÿ›  Fixed

    • ๐Ÿ‘ ECMAScript regex support
    • Formats should be associated to Draft versions (ie. idn-hostname is not defined on draft 4 and draft 6)
  • v0.3.1 Changes

    June 21, 2020

    ๐Ÿ”„ Changed

    • Enable Link-Time Optimizations and set codegen-units to 1. #104

    ๐Ÿ›  Fixed

    • items allows the presence of boolean schemas. #115