Repository navigation
Commit d8cb815
authored
build(deps): bump github.com/pb33f/libopenapi from 0.41.8 to 0.42.3 in /codegen (#148)
Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi)
from 0.41.8 to 0.42.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pb33f/libopenapi/releases">github.com/pb33f/libopenapi's
releases</a>.</em></p>
<blockquote>
<h2>v0.42.3</h2>
<p>Fixes some things, performance boost on indexing too from <a
href="https://github.com/Tjmstudios"><code>@Tjmstudios</code></a></p>
<h2>v0.42.0</h2>
<p>This release improves reference resolution, bundling, and schema
comparison across OpenAPI and Swagger documents. It fixes missing schema
fields, incomplete bundles, incorrect circular-reference paths, and
recursive comparisons that could panic or stall. It also fixes a
shared-index race affecting Vacuum when multiple documents use the same
cached filesystem.</p>
<p>Compatibility has been verified against unmodified Vacuum and
openapi-changes, including full test suites, targeted race checks, and
CLI runs across six real-world specifications. Linux, Windows, and the
full library race suite pass, with 100% project and patch coverage.
Benchmarks show faster indexing and comparison overall, though gains
vary by specification and operation.</p>
<ul>
<li>Reference handling: resolve external schemas and Swagger path items
in their owning documents; preserve aliases, discriminator mappings, and
encoded paths during bundling.</li>
<li>More accurate comparisons: count allOf breaking changes once and
include changes inside retargeted references. Reports and change totals
can differ from earlier releases.</li>
<li>Bounded alias expansion: excessive YAML alias expansion now returns
an error. Set AllowExcessiveAliases for trusted documents that require
it; cycle detection remains enabled.</li>
<li>Clearer cycle failures: reference-only cycles now return build
errors instead of incomplete models or hangs.</li>
<li>Go compatibility note: empty schema-change maps may now be nil.
Reading and iterating remain safe; initialize them before writing
directly.</li>
</ul>
<p><a href="https://github.com/CaliLuke"><code>@CaliLuke</code></a> <a
href="https://github.com/josephaxisa"><code>@josephaxisa</code></a> <a
href="https://github.com/madesst"><code>@madesst</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pb33f/libopenapi/commit/0a890943a91ab61343a9a09a743b5752aa978d8b"><code>0a89094</code></a>
perf(index): stop tracking the files being indexed</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/285721f084fcfa787cdab1b9435690ab7087d8f7"><code>285721f</code></a>
test: cover the root BaseURL path in datamodel/low</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/cd2e86477ad835ce1af1cbac2b7b87bc4531225d"><code>cd2e864</code></a>
fix: resolve relative refs against a root BaseURL</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/ae1153a39f8cd826ac3c5aa50429d6d316e04c36"><code>ae1153a</code></a>
fix(index): isolate cached files across document owners</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/60d419381481ae5e4bb9daf2f5ec13b98e54182c"><code>60d4193</code></a>
perf(utils): validate JSONPath names with an ASCII lookup</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/6f332ee0b3097676f1b551bedde21113286813a0"><code>6f332ee</code></a>
perf(index): combine node scans and keep traversal state on the
stack</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/55fdbb21982a76a5fdbf4042f0ed6ec3c9708845"><code>55fdbb2</code></a>
perf(index): keep transient resolver paths on the stack</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/9e86684abb7fddcb7e9657a3bda88a664fa6ecf6"><code>9e86684</code></a>
fix(index): recognize named components before example keywords</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/c9bb52910375c02a952bd0442a3bbd9cbd8f9849"><code>c9bb529</code></a>
test: cover alias policy and external example boundaries</li>
<li><a
href="https://github.com/pb33f/libopenapi/commit/6c047c5aab5f008ade73e1becbad88b5f78bd851"><code>6c047c5</code></a>
perf(what-changed): bound parallel comparisons and avoid absent-field
checks</li>
<li>Additional commits viewable in <a
href="https://github.com/pb33f/libopenapi/compare/v0.41.8...v0.42.3">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 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 74b2b71 commit d8cb815
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments