Skip to content

Commit 059fbac

Browse files
chore(deps): update jsonschema requirement from 0.30.0 to 0.31.0 (#778)
Updates the requirements on [jsonschema](https://github.com/Stranger6667/jsonschema) to permit the latest version. <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.30.0</h2> <h3>Added</h3> <ul> <li><code>base_uri</code> keyword argument that allows for specifying a base URI for all relative references in the schema.</li> <li>Configuration options for the underlying regex engine used by <code>pattern</code> and <code>patternProperties</code> keywords.</li> </ul> <h3>Changed</h3> <ul> <li>Better error messages for relative <code>$ref</code> without base URI.</li> <li>Update <code>pyo3</code> to <code>0.24</code>.</li> </ul> <h3>Fixed</h3> <ul> <li>Added Registry to type declarations.</li> </ul> <h3>Removed</h3> <ul> <li>Internal cache for regular expressions.</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.30.0] - 2025-04-16</h2> <h3>Added</h3> <ul> <li><code>JsonType</code> and <code>JsonTypeSet</code>.</li> <li><code>ValidationOptions::with_base_uri</code> that allows for specifying a base URI for all relative references in the schema.</li> <li>Configuration options for the underlying regex engine used by <code>pattern</code> and <code>patternProperties</code> keywords.</li> </ul> <h3>Changed</h3> <ul> <li>Better error messages for relative <code>$ref</code> without base URI.</li> </ul> <h3>Fixed</h3> <ul> <li><strong>CLI</strong>: Inability to load relative file <code>$ref</code>. <a href="https://redirect.github.com/Stranger6667/jsonschema/issues/725">#725</a></li> </ul> <h3>Removed</h3> <ul> <li>Internal cache for regular expressions.</li> </ul> <h3>Deprecated</h3> <ul> <li><code>PrimitiveType</code> and <code>PrimitiveTypesBitMap</code>.</li> </ul> <h2>[0.29.1] - 2025-03-27</h2> <h3>Added</h3> <ul> <li><code>Hash</code>, <code>PartialOrd</code>, <code>Ord</code> and <code>serde::Serialize</code> for <code>Location</code>.</li> <li>Make <code>Location::join</code> public.</li> </ul> <h2>[0.29.0] - 2025-02-08</h2> <h3>Breaking Changes</h3> <ul> <li> <p>All builder methods on <code>ValidationOptions</code> now take ownership of <code>self</code> instead of <code>&amp;mut self</code>. This change enables better support for non-blocking retrieval of external resources during the process of building a validator. Update your code to chain the builder methods instead of reusing the options instance:</p> <pre lang="rust"><code>// Before (0.28.x) let mut options = jsonschema::options(); options.with_draft(Draft::Draft202012); options.with_format(&quot;custom&quot;, my_format); let validator = options.build(&amp;schema)?; <p>// After (0.29.0) let validator = jsonschema::options() .with_draft(Draft::Draft202012) .with_format(&quot;custom&quot;, my_format) </code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Stranger6667/jsonschema/compare/rust-v0.30.0...rust-v0.30.0">compare view</a></li> </ul> </details> <br /> 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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent c8321ac commit 059fbac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ geojson = "0.24.1"
6363
getrandom = { version = "0.3.3", features = ["wasm_js"] }
6464
http = "1.1"
6565
indexmap = { version = "2.10.0", features = ["serde"] }
66-
jsonschema = { version = "0.30.0", default-features = false }
66+
jsonschema = { version = "0.31.0", default-features = false }
6767
libduckdb-sys = "1.3.0"
6868
log = "0.4.25"
6969
mime = "0.3.17"

0 commit comments

Comments
 (0)