Skip to content

chore(deps): update rust crate jsonschema to 0.58 - autoclosed - #1980

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/jsonschema-0.x
Closed

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/jsonschema-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
jsonschema workspace.dependencies minor 0.53 → 0.58

Release Notes

Stranger6667/jsonschema (jsonschema)

v0.58.2

Fixed
  • $dynamicRef targets in another document resolving relative references and reporting absolute keyword locations against the referencing document.
  • $ref to an $anchor or fragment $id validating against another anchor in the same document. #​1668
  • schema_path of errors under a $ref or $dynamicRef to a named schema pointing at the resource root instead of that schema.

v0.58.1

Fixed
  • Crash in Pyo3 validators when an Enum member's value override emptied a list or dict holding the instance being read.
Performance
  • uri and uri-reference formats check the syntax directly instead of parsing each value into a URI.
  • Enum members read their stored value directly instead of calling the value property in Pyo3 validators.

v0.58.0

Added
  • backend = Pyo3 on #[jsonschema::validator], generating a validator that reads Python objects in place.
  • backend = Magnus on #[jsonschema::validator], generating a validator that reads Ruby objects in place.
  • jsonschema::meta::pyo3, the bundled meta-schema validators for a schema held as a Python object.
  • jsonschema::meta::magnus, the bundled meta-schema validators for a schema held as a Ruby object.
  • methods = { ... } on #[jsonschema::validator], selecting which of is_valid, validate, and iter_errors are generated.
  • json::Jsonb, validating a Postgres jsonb value in place, behind the jsonb feature.
Performance
  • oneOf and anyOf whose branches each require a property fixed to a distinct string validate only the branch matching the instance's value.
  • Generated validate checks required in the same pass over an object as properties, instead of looking up each required name.
Fixed
  • A oneOf over $ref branches beside a sibling none of them admits, which canonicalized to an allOf instead of false.
  • multipleOf incorrectly accepted 1e-400 and other magnitudes below the smallest f64 subnormal with arbitrary-precision (they are not zero).
  • Numeric keywords panicked on a custom representation holding a number past f64 without arbitrary-precision.

v0.57.0

Added
  • PreparedDocument::unsatisfiable, naming the keywords that leave each unsatisfiable subschema empty and where they are.
Changed
  • PreparedDocument::unsatisfiable_pointers is replaced by PreparedDocument::unsatisfiable.
Fixed
  • The instance path of a schema build error, which was empty instead of naming the keyword location that failed to compile.
  • PreparedDocument::unsatisfiable_pointers passed over a subschema that admits no value only once its references resolve, such as an allOf over two $refs.
Performance
  • Canonicalizing several subschemas of one prepared document parses each definition body once for the document instead of once per call.

v0.56.0

Added
  • canonical::RawReason, what stopped a run from modeling a document, and canonical::RawView, carrying it beside the document and a pointer to the subschema the run stopped on.
  • ValidationOptions::is_known_format, whether a format of that name is checked under a draft.
Changed
  • BREAKING: canonical::CanonicalView::Raw carries a canonical::RawView in place of the document alone.
  • Canonicalization of a oneOf whose branches share a region too wide to expand, which spent the document's whole intersection allowance on that choice and kept the document Raw.
Performance
  • Preparing or building a schema that names no base URI parses the default one once for the process instead of once per schema.
  • Canonicalizing several subschemas of one prepared document compiles each pattern once for the document instead of once per call.
  • Canonicalization reads the facets no checker covers once per node instead of once per containment query.

v0.55.1

Changed
  • Canonicalization of an anyOf over an allOf through a $ref to a union, which left that union nested inside the outer one.
  • Canonicalization of an anyOf whose branch narrowing runs out of intersections, which left true as a branch inside the union.

v0.55.0

Changed
  • BREAKING: canonical::ObjectViolationView gained the PatternValueFails variant, which negation records for a patternProperties entry.
  • Canonicalization of not over patternProperties, which kept the entry under not instead of recording the demand a key breaks.
  • Canonicalization of unevaluated* beside a conditional reaching no key or index the node already evaluates, which spent a case on it.
  • Canonicalization of a conditional split outgrowing its per-node case budget, which kept documents like the Open API 3.2 meta-schema Raw.
  • Canonicalization of an anyOf over objects sharing a properties key under patternProperties, which settled only on a second pass.
  • Canonicalization of not over an allOf folded through a reference, which settled only on a second pass.
  • Canonicalization of a multipleOf divisor past f64 precision, which was not taken to divide itself.
  • Canonicalization of an anyOf over a value beside a window pinned to it, which settled only on a second pass.
  • Canonicalization of minProperties: 1 beside a not that already demands a key, which settled only on a second pass.
Fixed
  • absolute_keyword_location naming the sibling keyword whose validator carries the check: maxLength beside minLength, minItems, maxItems or type beside items, and a two-name required beside properties. #​1579
  • schemaLocation in evaluate output naming minLength for a maxLength failure. #​1579

v0.54.0

Added
  • backend = SerdeJson on #[jsonschema::validator], generating a validator that reads serde_json::Value.
  • PreparedDocument::unsatisfiable_pointers, listing every subschema no value satisfies.
Changed
  • Canonicalization of unevaluated* beside dependentSchemas or if/then/else, which kept the document Raw.
  • Canonicalization of not over patternProperties, which kept the document Raw.
Performance
  • validate and iter_errors check each assertion keyword with the is_valid path and build an error only for a failing one.
  • evaluate holds its output tree in one allocation instead of one per node.
  • A pattern of ^\S*$ scans bytes instead of decoding every character.
  • validate on properties beside a two-name required confirms both names in the pass that checks the properties, instead of looking each up first.
  • A string enum compares an option's length and first and last eight bytes before its full text.
  • A JSON Pointer segment is scanned for ~ and / eight bytes at a time before it is copied.
  • Canonicalization cloning leaves per intersection and the definition map per settled target.
Fixed
  • type: array with items and minItems/maxItems checking the built-in length bound even when a custom keyword overrides minItems or maxItems, so the bound was evaluated twice.
  • A custom keyword overriding type, required or maxLength not replacing the built-in check for that keyword.
  • A custom keyword overriding items, minLength, properties or additionalProperties leaving its sibling keywords unchecked.
  • #[jsonschema::validator] generated code that named serde_json directly, so it needed the consumer crate to depend on serde_json too.
  • Canonicalization of not over an object with properties, patternProperties and additionalProperties, which applied additionalProperties to the keys listed in properties.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekend"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch from 777796d to 044be63 Compare September 6, 2026 21:40
@renovate renovate Bot changed the title chore(deps): update rust crate jsonschema to 0.54 chore(deps): update rust crate jsonschema to 0.55 Sep 6, 2026
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch 6 times, most recently from 8368bdf to d6f7b99 Compare September 10, 2026 11:06
@renovate renovate Bot changed the title chore(deps): update rust crate jsonschema to 0.55 chore(deps): update rust crate jsonschema to 0.56 Sep 10, 2026
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch 12 times, most recently from 676bc7c to f4c554c Compare September 17, 2026 15:58
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch 6 times, most recently from 2606f78 to 3ee35e7 Compare September 22, 2026 01:50
@renovate renovate Bot changed the title chore(deps): update rust crate jsonschema to 0.56 chore(deps): update rust crate jsonschema to 0.57 Sep 22, 2026
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch from 3ee35e7 to d8c5a73 Compare September 25, 2026 20:19
@renovate renovate Bot changed the title chore(deps): update rust crate jsonschema to 0.57 chore(deps): update rust crate jsonschema to 0.58 Sep 25, 2026
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch from d8c5a73 to 17845cb Compare September 26, 2026 18:47
@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch from 17845cb to 4369113 Compare September 28, 2026 18:05
@renovate renovate Bot changed the title chore(deps): update rust crate jsonschema to 0.58 chore(deps): update rust crate jsonschema to 0.58 - autoclosed Sep 29, 2026
@renovate renovate Bot closed this Sep 29, 2026
@renovate
renovate Bot deleted the renovate/jsonschema-0.x branch September 29, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants