Skip to content

Commit

Permalink
chore(deps): update jsonschema requirement from 0.17.1 to 0.18.0 (#1034)
Browse files Browse the repository at this point in the history
Updates the requirements on
[jsonschema](https://github.com/Stranger6667/jsonschema-rs) to permit
the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Stranger6667/jsonschema-rs/releases">jsonschema's
releases</a>.</em></p>
<blockquote>
<h2>[Python] Release 0.18.0</h2>
<h3>Added</h3>
<ul>
<li>Defining custom format checkers. <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/245">#245</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Update <code>pyo3</code> to <code>0.21</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Incorrect <code>schema_path</code> when multiple errors coming from
the <code>$ref</code> keyword <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/426">#426</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Stranger6667/jsonschema-rs/blob/master/CHANGELOG.md">jsonschema's
changelog</a>.</em></p>
<blockquote>
<h2>[0.18.0] - 2024-05-07</h2>
<h3>Added</h3>
<ul>
<li>Custom keywords support. <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/379">#379</a></li>
<li>Expose <code>JsonPointerNode</code> that can be converted into
<code>JSONPointer</code>.
This is needed for the upcoming custom validators support.</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump <code>base64</code> to <code>0.22</code>.</li>
<li>Bump <code>clap</code> to <code>4.5</code>.</li>
<li>Bump <code>fancy-regex</code> to <code>0.13</code>.</li>
<li>Bump <code>fraction</code> to <code>0.15</code>.</li>
<li>Bump <code>memchr</code> to <code>2.7</code>.</li>
<li>Bump <code>once_cell</code> to <code>1.19</code>.</li>
<li>Bump <code>percent-encoding</code> to <code>2.3</code>.</li>
<li>Bump <code>regex</code> to <code>1.10</code>.</li>
<li>Bump <code>url</code> to <code>2.5</code>.</li>
<li>Build CLI only if the <code>cli</code> feature is enabled.</li>
<li><strong>BREAKING</strong>: Extend <code>CompilationOptions</code> to
support more ways to define custom format checkers (for example in
Python bindings).
In turn it changes <code>ValidationErrorKind::Format</code> to contain a
<code>String</code> instead of a <code>&amp;'static str</code>.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Incorrect <code>schema_path</code> when multiple errors coming from
the <code>$ref</code> keyword <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/426">#426</a></li>
</ul>
<h3>Performance</h3>
<ul>
<li>Optimize building <code>JSONPointer</code> for validation errors by
allocating the exact amount of memory needed.</li>
<li>Avoid cloning path segments during validation.</li>
</ul>
<h2>[0.17.1] - 2023-07-05</h2>
<h3>Changed</h3>
<ul>
<li>Improved error messages for <code>oneOf</code> / <code>anyOf</code>
keywords. <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/429">#429</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Improper handling of subschema validation in
<code>unevaluatedProperties</code>. <a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/421">#421</a></li>
</ul>
<h2>[0.17.0] - 2023-03-16</h2>
<h3>Changed</h3>
<ul>
<li>Bump <code>base64</code> to <code>0.21</code>.</li>
<li>Bump <code>fancy-regex</code> to <code>0.11</code>.</li>
<li>Bump <code>fraction</code> to <code>0.13</code>.</li>
<li>Bump <code>iso8601</code> to <code>0.6</code>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/ffdbcc98d543a274d4e47843cdf6b4bf73c8eddc"><code>ffdbcc9</code></a>
chore(rust): Release 0.18.0</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/2cbc86fd6ad0feec053cdc2220fea7dc03f13798"><code>2cbc86f</code></a>
fix: incorrect schema_path in errors from $ref</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/cfab6027a1efc46857553d58bf8562c71626d4b9"><code>cfab602</code></a>
perf: Avoid allocations while constructing path segments</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/21df1810bd29045dcc58ecc7fcea1a3a2b518329"><code>21df181</code></a>
chore(python): Update types</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/e564888da508c9baa4dbf415d1fb9e965c3c5613"><code>e564888</code></a>
feat(python): Custom format checkers</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/0a00839482208f4d04dd6f559505e0eb9e81c8a8"><code>0a00839</code></a>
docs(python): Update README</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/146f6cde42ff72fddde025ecaeafbde80cfd2f6c"><code>146f6cd</code></a>
docs: Update README</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/aa94a4b24aee8b4c7d6074c6aaf413176672528b"><code>aa94a4b</code></a>
feat: Custom keyword validation (<a
href="https://redirect.github.com/Stranger6667/jsonschema-rs/issues/473">#473</a>)</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/7946e978b583d6949a2d1174aae0047fbfeb18e5"><code>7946e97</code></a>
chore(python): Update PyO3 to 0.21.0</li>
<li><a
href="https://github.com/Stranger6667/jsonschema-rs/commit/092b573163ed9a09ba66dd641f875e6ed6c21af0"><code>092b573</code></a>
build: Disable build cache for Python tests</li>
<li>Additional commits viewable in <a
href="https://github.com/Stranger6667/jsonschema-rs/compare/rust-v0.17.1...rust-v0.18.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>
  • Loading branch information
dependabot[bot] authored May 14, 2024
1 parent a50391c commit 3e16e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ webbrowser = "1.0.0"
urlencoding = "2.1.2"
cool_asserts = "2.0.3"
insta = { workspace = true, features = ["yaml"] }
jsonschema = "0.17.1"
jsonschema = "0.18.0"

[[bench]]
name = "bench_main"
Expand Down

0 comments on commit 3e16e42

Please sign in to comment.