Repository navigation
chore(deps): update rust crate jsonschema to 0.61 - #2110
Merged
Merged
Conversation
gtema
approved these changes
Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.60→0.61Release Notes
Stranger6667/jsonschema (jsonschema)
v0.61.0Added
Evaluation::root()andOutputUnitfor walking evaluation output units without serializing them.Fixed
.inpatternandpatternPropertiesmatched\r, U+2028 and U+2029 (it should reject every line terminator).evaluate()reported a missing singlerequiredname besideadditionalProperties: falseat/additionalProperties(it should be/required).$schemaURI.format: "date-time","date"and"time"accepting+,,,-,.or/where RFC 3339 requires a digit. #1829$refpointers through a numeric object key (#/responses/200) skipping the references under their target.oneOf/anyOfrejecting valid instances when a$refinside a branch sits under an$id.unevaluatedItemstreated every element as evaluated beside a non-schemaitemsvalue (it should evaluate none).Performance
$ref, from resolving each reference once.oneOf/anyOfup to 7x faster when branches fix a property withconstorenum.oneOf/anyOfskip branches that exclude the instance's value withnotoverenumorconst.propertiesup to 40% faster on objects with a few more keys than it declares.minLength/maxLengthskip counting code points when the byte length decides.patternstarting with lookaheads (^(?=...)(?=...)...) up to 2x faster.propertiesandadditionalPropertiesup to 13% faster on schemas declaring 15 or more properties.propertiesup to 12% faster on objects with keys it does not declare.serde_json'spreserve_orderfeature.unevaluatedPropertiesup to 10% faster on schemas that combine it withpatternPropertiesor applicators.requiredup to 40% faster when it lists every property of an object closed byadditionalProperties: false.properties,anyOfand other applicators faster on subschemas that only check a non-numerictype, directly or through$ref.file://schemas is 10x or more faster, from reading each file in one call instead of one system call per byte.evaluate()up to 20% faster on instances with many errors, from fewer allocations per error.evaluate()up to 20% faster, from rendering instance locations only when the output reads them.is_valid()andvalidate()up to 14% faster on small instances, from a cheaper per-call validation context.Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.