Skip to content

chore(deps): update rust crate jsonschema to v0.53.0 - #877

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/jsonschema-0.x
Sep 3, 2026
Merged

chore(deps): update rust crate jsonschema to v0.53.0#877
renovate[bot] merged 1 commit into
mainfrom
renovate/jsonschema-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
jsonschema dev-dependencies minor =0.52.1=0.53.0

Release Notes

Stranger6667/jsonschema (jsonschema)

v0.53.0

Added
  • Location::segments, iterating the segments without collecting them.
  • CanonicalizeOptions::prepare, canonicalizing any number of a document's subschemas by JSON Pointer, with the document indexed once.
  • CLI: the --at POINTER flag of jsonschema canonicalize, canonicalizing only the subschema at that pointer without breaking its references into the rest of the document.
  • CLI: jsonschema canonicalize reads YAML schemas (.yaml/.yml) as well as JSON.
  • canonical::{ArrayView, IntegerView, NumberView, ObjectView, StringView, TypedGroupView}, the payload types of CanonicalView, so consumers can name them in signatures.
Fixed
  • jsonschema-value failing to build with default-features = false.
  • jsonschema-value failing to build for wasm32-unknown-unknown, which needs getrandom's wasm_js backend.
  • Draft 4 type: integer accepting numbers written with an exponent, like 1e2.
  • Draft 4 type: integer answering differently for the same number across representations.
  • uniqueItems accepting 0 alongside -0.0 in arrays of more than 15 items.
Performance
  • Canonicalizing an allOf of object schemas walks their property maps once instead of looking every key up.
  • properties and required compare short names without memcmp.
  • Building a schema is up to 5% faster, from cheaper cache sharing and resolving each $ref target once.
  • Building a schema with an $id is up to 15% faster, from encoding each absolute location once.
  • required scans small objects once instead of looking up each key.
  • enum listing strings or integers, with or without null, matches against a set instead of comparing each candidate.
  • evaluate is up to 33% faster, from rendering each node's locations once.
  • CLI: 1.4-1.5x faster on large schemas, from reading files before parsing them.
  • Draft 4 type: integer with arbitrary-precision no longer allocates a string per number.
  • type: integer, and type sets containing it, are up to 54x faster on float-heavy instances with arbitrary-precision.
  • Draft 4 type: integer is up to 20x faster for the Pyo3 and Magnus representations.

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

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

🚦 Automerge: Enabled.

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 enabled auto-merge (squash) September 2, 2026 21:56
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown

Code Metrics Report

main (95a7f73) #877 (92e93bb) +/-
Coverage 91.4% 91.4% +0.0%
Code to Test Ratio 1:0.5 1:0.5 0.0
Test Execution Time 1m26s 1s -1m25s
Details
  |                     | main (95a7f73) | #877 (92e93bb) |  +/-   |
  |---------------------|----------------|----------------|--------|
+ | Coverage            |          91.4% |          91.4% |  +0.0% |
  |   Files             |             32 |             32 |      0 |
  |   Lines             |           7189 |           7189 |      0 |
+ |   Covered           |           6575 |           6576 |     +1 |
  | Code to Test Ratio  |          1:0.5 |          1:0.5 |    0.0 |
  |   Code              |           9591 |           9591 |      0 |
  |   Test              |           4986 |           4986 |      0 |
+ | Test Execution Time |          1m26s |             1s | -1m25s |

Code coverage of files in pull request scope (69.8% → 70.1%)

Files Coverage +/- Status
src/rootfs/helper.rs 70.1% +0.2% affected

Reported by octocov

@renovate
renovate Bot force-pushed the renovate/jsonschema-0.x branch from 5f99237 to aa598e4 Compare September 3, 2026 03:57
@renovate
renovate Bot merged commit b2d3c64 into main Sep 3, 2026
34 checks passed
@renovate
renovate Bot deleted the renovate/jsonschema-0.x branch September 3, 2026 04:00
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