Skip to content

Commit 3d230f9

Browse files
authored
Bump jsonschema from 0.30.0 to 0.32.0 (#868)
Bumps [jsonschema](https://github.com/Stranger6667/jsonschema) from 0.30.0 to 0.32.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Stranger6667/jsonschema/releases">jsonschema's releases</a>.</em></p> <blockquote> <h2>[Python] Release 0.32.0</h2> <h3>Added</h3> <ul> <li>Added missing <code>context</code> field to <code>ValidationErrorKind.OneOfMultipleValid</code>.</li> </ul> <h3>Changed</h3> <ul> <li>Improved error message for <code>enum</code>.</li> </ul> <h2>[Rust] Release 0.32.0</h2> <h3>Added</h3> <ul> <li>Added missing <code>context</code> field to <code>ValidationErrorKind::OneOfMultipleValid</code>.</li> </ul> <h3>Changed</h3> <ul> <li>Improved error message for <code>enum</code>.</li> </ul> <h2>[Python] Release 0.31.0</h2> <h3>Added</h3> <ul> <li>Added support for old and new style string enums in object keys.</li> <li>Added <code>context</code> for <code>ValidationErrorKind.AnyOf</code> and <code>ValidationErrorKind.OneOfNotValid</code> which contains errors for all subschemas, each inside a separate list with an index matching subschema ID.</li> </ul> <h3>Changed</h3> <ul> <li>Update <code>pyo3</code> to <code>0.25</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Improve the precision of <code>multipleOf</code> for float values.</li> </ul> <h2>[Rust] Release 0.31.0</h2> <h3>Added</h3> <ul> <li><strong>CLI</strong>: flag <code>-d, --draft &lt;4|6|7|2019|2020&gt;</code> to enforce a specific JSON Schema draft.</li> <li><strong>CLI</strong>: flags <code>--assert-format</code> and <code>--no-assert-format</code> to toggle validation of <code>format</code> keywords.</li> <li>Added <code>context</code> for <code>ValidationErrorKind.AnyOf</code> and <code>ValidationErrorKind.OneOfNotValid</code> which contains errors for all subschemas, each inside a separate vector with an index matching subschema ID.</li> </ul> <h3>Fixed</h3> <ul> <li>Improve the precision of <code>multipleOf</code> for float values.</li> </ul> <h3>Changed</h3> <ul> <li>Bump <code>fancy-regex</code> to <code>0.15</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Stranger6667/jsonschema/blob/master/CHANGELOG.md">jsonschema's changelog</a>.</em></p> <blockquote> <h2>[0.32.0] - 2025-07-29</h2> <h3>Added</h3> <ul> <li>Added missing <code>context</code> field to <code>ValidationErrorKind::OneOfMultipleValid</code>.</li> </ul> <h3>Changed</h3> <ul> <li>Improved error message for <code>enum</code>.</li> </ul> <h2>[0.31.0] - 2025-07-28</h2> <h3>Added</h3> <ul> <li><strong>CLI</strong>: flag <code>-d, --draft &lt;4|6|7|2019|2020&gt;</code> to enforce a specific JSON Schema draft.</li> <li><strong>CLI</strong>: flags <code>--assert-format</code> and <code>--no-assert-format</code> to toggle validation of <code>format</code> keywords.</li> <li>Added <code>context</code> for <code>ValidationErrorKind::AnyOf</code> and <code>ValidationErrorKind::OneOfNotValid</code> which contains errors for all subschemas, each inside a separate vector with an index matching subschema ID.</li> </ul> <h3>Fixed</h3> <ul> <li>Improve the precision of <code>multipleOf</code> for float values.</li> </ul> <h3>Changed</h3> <ul> <li>Bump <code>fancy-regex</code> to <code>0.15</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Stranger6667/jsonschema/commit/2e1ba9756ab79847ef29481ab6d22b0972765c66"><code>2e1ba97</code></a> chore(rust): Release 0.32.0</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/a8a95cf18605fa9d29b7370a5ab8d743b7225180"><code>a8a95cf</code></a> chore: Fix clippy</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/60019567b1a044050b6a0ead2d171d890afc115c"><code>6001956</code></a> chore: Fix clippy::inconsistent_struct_constructor</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/bf8173c523cb8ecb231b58de4b16bb6a69c9347a"><code>bf8173c</code></a> chore: Fix clippy::from_iter_instead_of_collect</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/5b055ed4c2c419aae1d1dca12ec73379f57e2c7e"><code>5b055ed</code></a> chore: Fix clippy::map_unwrap_or</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/1200458c38fb73bf260354965871acf545fb89fe"><code>1200458</code></a> feat: Add context to <code>ValidationErrorKind::OneOfMultipleValid</code></li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/53e00cb122c544d8e0b0ad89d8a13453b343679d"><code>53e00cb</code></a> chore: Improved error message for <code>enum</code></li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/13f4b97c6202704fa5165f28a53674f5cc6206f3"><code>13f4b97</code></a> build(deps): update criterion requirement from 0.6 to 0.7</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/277668452bb6c95ddd3de708fb7b565363abce3d"><code>2776684</code></a> chore(python): Release 0.31.0</li> <li><a href="https://github.com/Stranger6667/jsonschema/commit/29fdb82bfe4d8f08b8ff4e82b764659c9258a8ce"><code>29fdb82</code></a> chore(rust): Release 0.31.0</li> <li>Additional commits viewable in <a href="https://github.com/Stranger6667/jsonschema/compare/rust-v0.30.0...rust-v0.32.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jsonschema&package-manager=cargo&previous-version=0.30.0&new-version=0.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
2 parents 7422b19 + 3d5118e commit 3d230f9

File tree

2 files changed

+51
-28
lines changed

2 files changed

+51
-28
lines changed

Cargo.lock

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

serde_with/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ time_0_3 = { package = "time", version = "~0.3.36", optional = true, default-fea
164164
expect-test = "1.5.0"
165165
fnv = "1.0.6"
166166
glob = "0.3.0"
167-
jsonschema = { version = "0.30.0", default-features = false, features = ["resolve-file"] }
167+
jsonschema = { version = "0.32.0", default-features = false, features = ["resolve-file"] }
168168
mime = "0.3.16"
169169
pretty_assertions = "1.4.0"
170170
regex = { version = "1.11.0", default-features = false, features = ["std"] }

0 commit comments

Comments
 (0)