Skip to content

Commit 2c8a8c5

Browse files
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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/google/jsonschema-go&package-manager=go_modules&previous-version=0.3.0&new-version=0.4.2)](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

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ require (
4141
)
4242

4343
// Dependencies for experimental MCP commands
44-
require github.com/google/jsonschema-go v0.3.0 // MIT
44+
require github.com/google/jsonschema-go v0.4.2 // MIT
4545

4646
require (
4747
cloud.google.com/go/auth v0.16.5 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
6161
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
6262
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
6363
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
64-
github.com/google/jsonschema-go v0.3.0 h1:6AH2TxVNtk3IlvkkhjrtbUc4S8AvO0Xii0DxIygDg+Q=
65-
github.com/google/jsonschema-go v0.3.0/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
64+
github.com/google/jsonschema-go v0.4.2 h1:tmrUohrwoLZZS/P3x7ex0WAVknEkBZM46iALbcqoRA8=
65+
github.com/google/jsonschema-go v0.4.2/go.mod h1:r5quNTdLOYEz95Ru18zA0ydNbBuYoo9tgaYcxEYhJVE=
6666
github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0=
6767
github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM=
6868
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=

0 commit comments

Comments
 (0)