jsonschema-rs/bindings/python/CHANGELOG.md

4.4 KiB

Changelog

Unreleased

Added

  • Cache for documents loaded via the $ref keyword. #75

Fixed

  • Not necessary network requests for schemas with $id values with trailing # symbol. #163
  • Source code distribution. It was missing the source code for the underlying Rust crate and were leading to a build error during pip install css-inline on platforms that we don't have wheels for. #159

Performance

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

0.4.3 - 2020-12-15

Changed

  • Exclude the cli dependency from the jsonschema crate & update dependencies in Cargo.lock.

0.4.2 - 2020-12-11

Fixed

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

0.4.1 - 2020-12-09

Fixed

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

0.4.0 - 2020-11-09

Added

  • Python 3.9 support.

Changed

  • Remove not needed __init__.py file. It improves performance for compiled schemas. #121
  • Update PyO3 to 0.12. #125
  • Use stable Rust.
  • Set module documentation only once.

Fixed

  • ECMAScript regex support
  • Formats should be associated to Draft versions (ie. idn-hostname is not defined on draft 4 and draft 6)
  • Handle errors during conversion to Value instead of using unwrap in JSONSchema::is_valid and JSONSchema::validate. #127

Removed

  • Python 3.5 support.

0.3.3 - 2020-06-22

Fixed

  • items allows the presence of boolean schemas. #115

0.3.2 - 2020-06-13

Fixed

  • Packaging issue.

0.3.1 - 2020-06-12

Added

  • Added jsonschema_rs.__build__ which contains useful build information. #111
  • Wheels for Mac OS and Windows. #110

Changed

  • Linux wheels are manylinux2014 compatible. Previously they were manylinux2010 compatible. #111

0.3.0 - 2020-06-11

Fixed

  • Copying not needed compiled files to the wheel distribution files. #109

0.2.0 - 2020-06-11

Added

  • JSONSchema.validate method that raises ValidationError for invalid input. #105

Changed

  • Public functions docstrings to support PyCharm skeletons generation. Functions signatures now have proper signatures (but untyped) in PyCharm. #107
  • Enable Link-Time Optimizations and set codegen-units to 1. #104

0.1.0 - 2020-06-09

  • Initial public release