github Stranger6667/jsonschema python-v0.34.0
[Python] Release 0.34.0

latest releases: ruby-v0.46.2, python-v0.46.2, rust-v0.46.2...
5 months ago

Added

  • Python 3.14 support.

Changed

  • Update pyo3 to 0.27.

Fixed

  • Hostname and IDN hostname formats now decode xn-- labels, reject leading combining marks/uppercase prefixes, and enforce the latest JSON Schema punycode context rules.

Performance

  • Recursive and regular $ref compilation deduplicates validator nodes, which decreases the memory usage and improves performance.
  • Validator compilation restores the regex cache for faster builds on regex-heavy schemas and precomputes absolute schema locations, trading a bit of compile time for faster apply on location-heavy workloads.
  • Large schema compilation is significantly faster. #755
  • unevaluatedProperties validation is 25-35% faster through optimized property marking and early-exit paths.
  • unevaluatedProperties memory usage drastically reduced by eliminating redundant registry clones during compilation.
  • unevaluatedItems validation is ~10% faster through early-exit optimizations and eliminating redundant validations in combinators.

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.