Commit 2c8a8c5
authored
Bump github.com/google/jsonschema-go from 0.3.0 to 0.4.2 (#4167)
Bumps
[github.com/google/jsonschema-go](https://github.com/google/jsonschema-go)
from 0.3.0 to 0.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/jsonschema-go/releases">github.com/google/jsonschema-go's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.2</h2>
<p>The only change here is that an empty map in Schema.Properties will
result in an empty object in the JSON.</p>
<p>This fixes v0.4.1.</p>
<h2>v0.4.0</h2>
<p>This release adds Draft 07 support and the PropertyOrder feature.</p>
<p>It also fixes various minor bugs.</p>
<h2>What's Changed</h2>
<ul>
<li>Add range limits to inferred Schemas of int types. by <a
href="https://github.com/baptmont"><code>@baptmont</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/30">google/jsonschema-go#30</a></li>
<li>jsonschema: handle embedding of custom schemas by <a
href="https://github.com/jba"><code>@jba</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/32">google/jsonschema-go#32</a></li>
<li>feat: add nested subschema defaults application by <a
href="https://github.com/thefishhat"><code>@thefishhat</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/38">google/jsonschema-go#38</a></li>
<li>Fix for Issue <a
href="https://redirect.github.com/google/jsonschema-go/issues/44">#44</a>
by <a href="https://github.com/naivary"><code>@naivary</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/45">google/jsonschema-go#45</a></li>
<li>fix: infer - missing nullable type for non Go types by <a
href="https://github.com/rafaeljusto"><code>@rafaeljusto</code></a> in
<a
href="https://redirect.github.com/google/jsonschema-go/pull/42">google/jsonschema-go#42</a></li>
<li>Add Draft 07 support by <a
href="https://github.com/baptmont"><code>@baptmont</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/50">google/jsonschema-go#50</a></li>
<li>doc omitzero for inference by <a
href="https://github.com/jba"><code>@jba</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/55">google/jsonschema-go#55</a></li>
<li>remove struct from validate doc by <a
href="https://github.com/jba"><code>@jba</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/54">google/jsonschema-go#54</a></li>
<li>fix: infer - arrays should always accept null by <a
href="https://github.com/rafaeljusto"><code>@rafaeljusto</code></a> in
<a
href="https://redirect.github.com/google/jsonschema-go/pull/49">google/jsonschema-go#49</a></li>
<li>jsonschema: use value receiver for Schema.MarshalJSON by <a
href="https://github.com/zyfxgo"><code>@zyfxgo</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/52">google/jsonschema-go#52</a></li>
<li>do not support ApplyDefaults on structs by <a
href="https://github.com/jba"><code>@jba</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/57">google/jsonschema-go#57</a></li>
<li>Add PropertyOrder by <a
href="https://github.com/baptmont"><code>@baptmont</code></a> in <a
href="https://redirect.github.com/google/jsonschema-go/pull/51">google/jsonschema-go#51</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/baptmont"><code>@baptmont</code></a>
made their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/30">google/jsonschema-go#30</a></li>
<li><a
href="https://github.com/thefishhat"><code>@thefishhat</code></a> made
their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/38">google/jsonschema-go#38</a></li>
<li><a
href="https://github.com/karolpiotrowicz"><code>@karolpiotrowicz</code></a>
made their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/43">google/jsonschema-go#43</a></li>
<li><a href="https://github.com/naivary"><code>@naivary</code></a> made
their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/45">google/jsonschema-go#45</a></li>
<li><a
href="https://github.com/rafaeljusto"><code>@rafaeljusto</code></a>
made their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/42">google/jsonschema-go#42</a></li>
<li><a href="https://github.com/zyfxgo"><code>@zyfxgo</code></a> made
their first contribution in <a
href="https://redirect.github.com/google/jsonschema-go/pull/52">google/jsonschema-go#52</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/jsonschema-go/compare/v0.3.0...v0.4.0">https://github.com/google/jsonschema-go/compare/v0.3.0...v0.4.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/google/jsonschema-go/commit/e5cd592dc4a48fa0a43967fd6f076eec3824ac13"><code>e5cd592</code></a>
marshal empty properties map as empty object (for real) (<a
href="https://redirect.github.com/google/jsonschema-go/issues/60">#60</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/a7d9e928c49d40660d615a00d5a2eb4552ddecc0"><code>a7d9e92</code></a>
Fix to ForOptions documentation (<a
href="https://redirect.github.com/google/jsonschema-go/issues/58">#58</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/48061feb4e5004eb15eede7383a1c4baf9c80dd4"><code>48061fe</code></a>
marshal empty properties map as empty object (<a
href="https://redirect.github.com/google/jsonschema-go/issues/59">#59</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/eb36139dae1deb596c1c7a3d62e128fcee0b3ebb"><code>eb36139</code></a>
Add PropertyOrder (<a
href="https://redirect.github.com/google/jsonschema-go/issues/51">#51</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/5c637589a550b2e37e7ff63b150c43b3627d8eab"><code>5c63758</code></a>
do not support ApplyDefaults on structs (<a
href="https://redirect.github.com/google/jsonschema-go/issues/57">#57</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/8b3861692c3de8db400a7fcd08715e3ef037841d"><code>8b38616</code></a>
jsonschema: use value receiver for Schema.MarshalJSON (<a
href="https://redirect.github.com/google/jsonschema-go/issues/52">#52</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/11a93dca6d937ad4d24d28cd35d045d75ff1a7ab"><code>11a93dc</code></a>
fix: infer - arrays should always accept null (<a
href="https://redirect.github.com/google/jsonschema-go/issues/49">#49</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/b775219f89ea8fa162da7a8794c52f85d7d17a76"><code>b775219</code></a>
remove struct from validate doc (<a
href="https://redirect.github.com/google/jsonschema-go/issues/54">#54</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/39392592d6cc658de6a2d280e291f06ef2fb3706"><code>3939259</code></a>
doc omitzero for inference (<a
href="https://redirect.github.com/google/jsonschema-go/issues/55">#55</a>)</li>
<li><a
href="https://github.com/google/jsonschema-go/commit/98a387e3b9757466bedf13f41d8504784c335018"><code>98a387e</code></a>
Add Draft 07 support (<a
href="https://redirect.github.com/google/jsonschema-go/issues/50">#50</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/jsonschema-go/compare/v0.3.0...v0.4.2">compare
view</a></li>
</ul>
</details>
<br />
[](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>
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 4b1439b commit 2c8a8c5
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments