Repository navigation
fix(deps): update rust crate jsonschema to 0.61.0 - #454
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
from
September 24, 2026 22:30
b894269 to
90d661f
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
5 times, most recently
from
October 1, 2026 19:14
411ab5c to
2a76c14
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
2 times, most recently
from
October 7, 2026 00:59
b8c7523 to
388d709
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
from
October 13, 2026 13:18
388d709 to
00046fa
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
3 times, most recently
from
October 22, 2026 14:44
9eae22f to
5c1f8ce
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
3 times, most recently
from
October 27, 2026 02:04
37b523e to
1ca31e8
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
from
November 5, 2026 21:57
1ca31e8 to
2263e33
Compare
renovate
Bot
force-pushed
the
renovate/jsonschema-0.x
branch
from
November 8, 2026 17:02
2263e33 to
097e0e1
Compare
This branch has not been deployed
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.56.0→0.61.0Release 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.v0.60.2Fixed
unevaluated*schemas with$refcycles across$idresources.v0.60.1Fixed
f64inconst,enum,minimum,maximum,exclusiveMinimum,exclusiveMaximumandtype: integerwhen another crate in the build enablesserde_json/arbitrary_precisionwhile thearbitrary-precisionfeature is off. #1790#[jsonschema::validator]panicking during expansion, or generating code that panics, on schema numbers pastf64when another crate in the build enablesserde_json/arbitrary_precisionwhile thearbitrary-precisionfeature is off. Such numbers are compile errors, as without thatserde_jsonfeature. #1790const,enumanduniqueItemstreating objects with the same members in a different key order as unequal when another crate in the build enablesserde_json/preserve_order. #1791type: integer,const,enum,uniqueItems,multipleOf,minimum,maximum,exclusiveMinimumandexclusiveMaximumfor numbers with exponents past one million, such as1e-2000000, with thearbitrary-precisionfeature.#[jsonschema::validator]rejectingmultipleOfwith a positive divisor below the smallestf64, such as1e-400, with thearbitrary-precisionfeature.Performance
const,enum,uniqueItems,type: integer,multipleOf,minimum,maximum,exclusiveMinimumandexclusiveMaximumwith thearbitrary-precisionfeature taking time growing faster than the square of the digit count, instead of at most the square.arbitrary-precisionfeature taking time linear in their written length instead of quadratic in their digit count.v0.60.0Changed
ValidationErrorKind::EnumandValidationErrorKind::Constantholding their values asArc<Value>shared with the validator, instead of a copy per error. #1777Performance
itemsandadditionalPropertieslooking up a single-keyword subschema once per array or object instead of once per value.is_validandvalidatereading fewer cache lines per subschema, by keeping error locations apart from validators.is_validon recursive schemas caching only$refresults that took many steps to compute, instead of every one.$refnesting depth, not quadratic. #1778v0.59.0Added
-as a path reads the schema or an instance from stdin.-Vas the version flag;-vstays as an alias.Changed
3for errors that prevent a verdict and2for usage errors, so1always means an invalid instance or schema.--versionprintsjsonschema-cli <VERSION>instead ofVersion: <VERSION>.Fixed
jsonschema-cli validate ... | head.jsonschema-cli bundle,jsonschema-cli dereferenceandjsonschema-cli canonicalizetruncating the--outputfile when the write fails partway.jsonschema-cli validate --helpdescribing--offlinein terms of--resource, whichvalidatedoes not accept.jsonschemacommands instead of the installedjsonschema-clibinary.$refin a later output could point at another subschema.canonicalizeleavingunevaluatedPropertiesorunevaluatedItemsbesideanyOforoneOfraw.canonicalizegiving a different form for aoneOfdepending on the order of its branches.canonicalizeoutput changing when canonicalized again, for anotover a$refit cannot fully negate.canonicalizeoutput changing when canonicalized again, for aoneOfwhose branches reduce to the same$ref.canonicalizeleaving ananyOfover many overlapping objects raw.canonicalizeleavingdependenciesordependentRequiredraw when their keys form a long chain or cycle.canonicalizetreating-0as a value distinct from0underarbitrary-precision.notorpatternPropertiesaccept invalid instances. #1715canonicalizetreating regex matches the engine cannot finish as non-matches.Performance
canonicalizegiving up sooner on anallOfover unions too wide to model.v0.58.6Fixed
\sinpatternmissing most Unicode space separators and U+2028.v0.58.5Fixed
canonicalizekeeping a reference to a cycle of bare references undernotoroneOfinstead of treating it as accepting every value.v0.58.4Fixed
Validator::draftreturning the default draft instead of the one$schemadeclares.unevaluatedPropertiesandunevaluatedItemsbeside a$recursiveRefignoring what the reference target evaluates.unevaluatedPropertiesignoring the configured regex engine and its limits forpatternProperties.schemaLocationof keywords a$refJSON Pointer reaches through a subschema with its own$id.type,minItemsandmaxItemsignored besideitemswhen the applicator vocabulary is disabled.schemaLocationof keywords inside a nested$idresource counting from the document root.requiredbesidepropertiesignored when the applicator vocabulary is disabled, andrequired,minContainsandmaxContainsapplied when the validation vocabulary is disabled.typeerrors in atype-onlyitemssubschema pointing atitemsinstead of the failing element'stype.patternPropertiesannotations missing its JSON Pointer fragment.type: arraybeside schema-formitemsomitting passingtype,minItemsandmaxItemsunits and nesting failing ones underitems.schemaLocationand absolute keyword location of$ref,$dynamicRefand$recursiveRefnodes not pointing at the reference target.schemaLocationURIs not percent-encoding their fragment, such as a space in a property name.false, missing its JSON Pointer fragment.required,minContainsandmaxContainserrors pointing at a sibling keyword.$refsiblings in Draft 4, 6 and 7 schemas.additionalItemsmessages counting allowed items instead of extra ones, and "1 items" in maskedunevaluatedItemsmessages.$dynamicRefand$recursiveRefresolving in the dynamic scope of another path to the same schema, depending on property order.unevaluatedPropertiesandunevaluatedItemsignoring whatthenorelseevaluates whenifistrueorfalse.$refchains.format: "regex"and meta-schema validation rejecting escaped punctuation such as\-in patterns.patternPropertiesregex reporting the subschema instead of the pattern and its location.v0.58.3Fixed
$schemaunder a Draft 4, 6 or 7 root being ignored.$schemabeing checked against the root's meta-schema.v0.58.2Fixed
$dynamicReftargets in another document resolving relative references and reporting absolute keyword locations against the referencing document.$refto an$anchoror fragment$idvalidating against another anchor in the same document. #1668schema_pathof errors under a$refor$dynamicRefto a named schema pointing at the resource root instead of that schema.v0.58.1Fixed
Pyo3validators when anEnummember'svalueoverride emptied a list or dict holding the instance being read.Performance
urianduri-referenceformats check the syntax directly instead of parsing each value into a URI.Enummembers read their stored value directly instead of calling thevalueproperty inPyo3validators.v0.58.0Added
backend = Pyo3on#[jsonschema::validator], generating a validator that reads Python objects in place.backend = Magnuson#[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 ofis_valid,validate, anditer_errorsare generated.json::Jsonb, validating a Postgresjsonbvalue in place, behind thejsonbfeature.Performance
oneOfandanyOfwhose branches each require a property fixed to a distinct string validate only the branch matching the instance's value.validatechecksrequiredin the same pass over an object asproperties, instead of looking up each required name.Fixed
oneOfover$refbranches beside a sibling none of them admits, which canonicalized to anallOfinstead offalse.multipleOfincorrectly accepted1e-400and other magnitudes below the smallestf64subnormal witharbitrary-precision(they are not zero).f64withoutarbitrary-precision.v0.57.0Added
PreparedDocument::unsatisfiable, naming the keywords that leave each unsatisfiable subschema empty and where they are.Changed
PreparedDocument::unsatisfiable_pointersis replaced byPreparedDocument::unsatisfiable.Fixed
PreparedDocument::unsatisfiable_pointerspassed over a subschema that admits no value only once its references resolve, such as anallOfover two$refs.Performance
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.