github Stranger6667/jsonschema python-v0.44.0
[Python] Release 0.44.0

latest releases: ruby-v0.46.2, python-v0.46.2, rust-v0.46.2...
one month ago

Added

  • canonical.json.to_string(object) for canonical JSON serialization (stable key ordering and numeric normalization), useful for deduplicating equivalent JSON Schemas.

Fixed

  • Do not produce annotations for non-string instances from contentMediaType, contentEncoding, and contentSchema keywords.
  • Crash when serializing strings with invalid UTF-8 (e.g., lone surrogates) during schema/instance conversion.
  • Crash when serializing dicts keyed by str enums whose value lookup raises an exception.
  • Crash when serializing enum instances whose value lookup raises an exception.
  • Reference leak when serializing enum instances repeatedly.

Don't miss a new jsonschema release

NewReleases is sending notifications on new releases.