All Versions
33
Latest Version
Avg Release Cycle
27 days
Latest Release
612 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