github Stranger6667/jsonschema python-v0.42.0
[Python] Release 0.42.0

latest releases: ruby-v0.46.5, python-v0.46.5, rust-v0.46.5...
3 months ago

Fixed

  • Panic when validating $ref targets that resolve to boolean schemas.

Performance

  • Use FFI PyList_New + PyList_SetItem for array conversion to avoid reallocations.
  • Cache ValidationError, ReferencingError, and decimal.Decimal types to avoid repeated module imports.
  • Cache formatted schema locations to avoid repeated formatting during evaluate().
  • Use as_str instead of to_string for type names in validation errors to avoid allocations.

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.