Skip to content

Commit f9027f6

Browse files
chore(deps): update rust crate jsonschema to 0.40 (#2973)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [jsonschema](https://redirect.github.com/Stranger6667/jsonschema) | dev-dependencies | minor | `0.38` → `0.40` | --- ### Release Notes <details> <summary>Stranger6667/jsonschema (jsonschema)</summary> ### [`v0.40.2`](https://redirect.github.com/Stranger6667/jsonschema/blob/HEAD/CHANGELOG.md#0402---2026-01-30) ##### Changed - Exclude internal `tracker` field from `ValidationError` Debug output. - Switch HTTP client TLS crypto backend from `aws-lc-rs` to `ring` to simplify building from source on some Linux distributions. [#&#8203;957](https://redirect.github.com/Stranger6667/jsonschema/issues/957) ##### Fixed - `type: integer` validation in Draft 4 now correctly accepts large integers outside the i64/u64 range when `arbitrary-precision` feature is enabled. ### [`v0.40.1`](https://redirect.github.com/Stranger6667/jsonschema/blob/HEAD/CHANGELOG.md#0401---2026-01-30) ##### Changed - `ValidationErrorKind::Custom` now includes a `keyword` field containing the custom keyword name. ##### Performance - Faster validation via cost-based keyword ordering. - Faster `patternProperties` for simple prefix patterns (e.g., `^x-`). ### [`v0.40.0`](https://redirect.github.com/Stranger6667/jsonschema/blob/HEAD/CHANGELOG.md#0400---2026-01-18) ##### Added - `HttpOptions` and `ValidationOptions::with_http_options()` for configuring HTTP client behavior (timeouts, TLS verification, custom CA certificates) when fetching external schemas. - **CLI**: `--timeout`, `--connect-timeout`, `--insecure`, and `--cacert` flags for HTTP configuration. ### [`v0.39.0`](https://redirect.github.com/Stranger6667/jsonschema/blob/HEAD/CHANGELOG.md#0390---2026-01-16) ##### Added - `ValidationError::evaluation_path()` for the dynamic path including `$ref` traversals. ##### Changed - **BREAKING**: Simplified custom keyword API - `Keyword::validate` no longer receives path parameters, and `ValidationError::custom` only takes a message. ##### Fixed - `schemaLocation` in evaluation output now excludes `$ref`/`$dynamicRef`/`$recursiveRef` per JSON Schema spec. ##### Performance - `evaluate()`: 4.5-30x faster on complex schemas, 12-89% faster overall. - Recursive schemas with `oneOf`/`anyOf`: \~4000x faster via memoization. [#&#8203;930](https://redirect.github.com/Stranger6667/jsonschema/issues/930) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/apollographql/rover). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi43NC41IiwidXBkYXRlZEluVmVyIjoiNDIuOTIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3a14aa9 commit f9027f6

File tree

2 files changed

+116
-12
lines changed

2 files changed

+116
-12
lines changed

Cargo.lock

Lines changed: 115 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ graphql-schema-diff = "0.2"
260260
httpmock = { workspace = true }
261261
indoc = { workspace = true }
262262
json-matcher = "0.1"
263-
jsonschema = "0.38"
263+
jsonschema = "0.40"
264264
mime = "0.3"
265265
mockall = "0.14"
266266
portpicker = "0.1"

0 commit comments

Comments
 (0)