Skip to content

fix(deps): update module github.com/pb33f/libopenapi to v0.43.1 - #56

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-pb33f-libopenapi-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-pb33f-libopenapi-0.x

Conversation

@renovate

@renovate renovate Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/pb33f/libopenapi v0.41.6 → v0.43.1 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pb33f/libopenapi (github.com/pb33f/libopenapi)

v0.43.1

Compare Source

Arazzo executors now get the full picture of a step's parameters.

Fixes

  • Parameter locations are preserved (#​713, #​716). ExecutionRequest has a new ResolvedParameters field: an ordered list of each parameter's name, location (in) and typed value. Executors can now place headers the source operation doesn't declare, and parameters that share a name across locations (e.g. id in both path and query) no longer overwrite each other.
  • Workflow-level parameters are applied to every step (#​717). They were validated but never sent. They are now merged into each step's request and passed to sub-workflows, with a step parameter overriding a workflow parameter of the same name and location.

Heads up

The existing Parameters map is unchanged and still keyed by name, but it now includes workflow-level parameters too. If you need locations, use ResolvedParameters.

v0.43.0

Compare Source

libopenapi’s Go model generator can now preserve unknown discriminator variants. Enable WithUnknownDiscriminatorVariants(true) to keep the discriminator value and raw JSON when an API returns a variant your generated code hasn’t seen before. A single new variant can now round-trip without failing an entire response array. Strict decoding remains the default. (#​715)

  • Schema validation: OpenAPI 3.1 and 3.2 schemas that combine $ref with unevaluatedProperties or unevaluatedItems now validate correctly after transformation. Relative references and anchors retain their original scope. (#​709)
  • Change reports: Adding or removing explode: false on a parameter now appears in the diff. Changes to a schema’s required list now point to the external file that defines it. (#​704, #​712)
  • Parsing: Skipping external reference resolution no longer panics on referenced map entries. Null operations such as post: null are now omitted from the operation list. (#​707, #​711)
  • Embedded schemas: Updated the OpenAPI 3.1 and 3.2 document validation schemas with upstream corrections for Link Objects and encoding. (#​714)

@​pcbeingused333 @​swayam5342 @​Tjmstudios

v0.42.5

Compare Source

This release fixes three issues: composed bundles now preserve cross-file schema aliases and report schema build errors, Arazzo documents render empty extension values without panicking, and header examples stay separate from nested schema examples. (#​692, #​693, #​695)

v0.42.4

Compare Source

libopenapi v0.42.4 improves schema fidelity, mock generation and reference resolution. It also fixes Arazzo conditions so 0 and 1 are treated as numbers, and updates JSONPath with support for JSONPath Plus backtick member escapes.

  • Schemas and mocks: Boolean schemas now survive parsing, rendering, bundling and comparison correctly. Mock generation also honors const values, including false, zero, null and empty strings, while preserving example precedence and protecting against malformed or oversized values.
  • References and indexing: Remote reference ownership, relative URL resolution and schema lookup are more reliable. OpenAPI 3.2 $self now resolves relative references without rewriting absolute hosts, while explicitly configured BaseURL overrides keep their existing behavior.

@​Tjmstudios @​rriski

v0.42.3

Compare Source

Fixes some things, performance boost on indexing too from @​Tjmstudios

v0.42.1

Compare Source

v0.42.0

Compare Source

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.

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.

  • Reference handling: resolve external schemas and Swagger path items in their owning documents; preserve aliases, discriminator mappings, and encoded paths during bundling.
  • More accurate comparisons: count allOf breaking changes once and include changes inside retargeted references. Reports and change totals can differ from earlier releases.
  • Bounded alias expansion: excessive YAML alias expansion now returns an error. Set AllowExcessiveAliases for trusted documents that require it; cycle detection remains enabled.
  • Clearer cycle failures: reference-only cycles now return build errors instead of incomplete models or hangs.
  • Go compatibility note: empty schema-change maps may now be nil. Reading and iterating remain safe; initialize them before writing directly.

@​CaliLuke @​josephaxisa @​madesst

v0.41.8

Compare Source

  • Faster schema comparisons: reuse cached quick hashes before building referenced schemas, reducing processing time and allocations when UseSchemaQuickHash is enabled. (#​670)

  • More accurate validation and change detection: compare enum entries by JSON value, fixing array/object false positives and numeric equality checks; correctly read whole-number floats such as maxLength: 2.0 in Swagger 2.0 parameters, items, and headers. (#​656, #​671)

@​CaliLuke @​youdie006 @​josephaxisa

v0.41.7: v0..41.7

Compare Source

v0.41.7

This one stings a bit. With quick hash on (openapi-changes turns it on), a single circular reference made libopenapi treat every schema in the document as circular. Changes just vanished. I ran stripe.yaml against a copy with 300 breaking edits and got back zero. Zero.

Fixed. All 300 show up now. Big thanks to the contributors who chased down this one and three more. You lot are the best.

  • Circular refs only flag schemas on a loop (#​667, fixes #​662). Quick-hash diffs on documents with cycles report what they were missing.
  • No race when building from YAML merges (#​658, fixes #​657). Model building reads merged copies and leaves shared nodes alone. New public helper: utils.ResolveMergeNodes.
  • Float-tagged int64 keywords read correctly (#​666, fixes #​665). maxLength: 2.0 stops turning into 0. Huge values clamp, fractions stay unset.
  • Parameter $ref found at any key position (#​660, fixes #​659). No more bogus "has no name value" errors in OpenAPI 3.1.
  • Less hashing work (#​664). Fewer redundant hashes, plus a new NodeMap.GetNodeLines().
  • Dependency bump. golang.org/x/sync goes to 0.24.0.

Upgrade, especially if you diff specs with cycles. Much more to come.

@​CaliLuke @​josephaxisa @​navaneethan-ac9 @​TastyHeadphones


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner October 24, 2026 17:44
@renovate

renovate Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/pb33f/jsonpath v0.8.4 -> v0.8.5
golang.org/x/sync v0.24.0 -> v0.25.0

@github-actions

This comment has been minimized.

@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.41.7 fix(deps): update module github.com/pb33f/libopenapi to v0.41.8 Oct 27, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from d3f8fe2 to 9467f7a Compare October 27, 2026 21:11
@github-actions

This comment has been minimized.

@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from 9467f7a to 4627c01 Compare November 1, 2026 01:43
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.41.8 fix(deps): update module github.com/pb33f/libopenapi to v0.42.0 Nov 1, 2026
@github-actions

This comment has been minimized.

@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from 4627c01 to cc475c6 Compare November 1, 2026 21:26
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.42.0 fix(deps): update module github.com/pb33f/libopenapi to v0.42.3 Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Code Metrics Report

main (13cd1a5) #56 (f19a908) +/-
Coverage 74.2% 74.2% 0.0%
Code to Test Ratio 1:1.2 1:1.2 0.0
Test Execution Time 11s 13s +2s
Details
  |                     | main (13cd1a5) | #56 (f19a908) | +/-  |
  |---------------------|----------------|---------------|------|
  | Coverage            |          74.2% |         74.2% | 0.0% |
  |   Files             |             12 |            12 |    0 |
  |   Lines             |            567 |           567 |    0 |
  |   Covered           |            421 |           421 |    0 |
  | Code to Test Ratio  |          1:1.2 |         1:1.2 |  0.0 |
  |   Code              |           2010 |          2010 |    0 |
  |   Test              |           2481 |          2481 |    0 |
- | Test Execution Time |            11s |           13s |  +2s |

Reported by octocov

@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from cc475c6 to bed0b02 Compare November 7, 2026 21:34
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.42.3 fix(deps): update module github.com/pb33f/libopenapi to v0.42.4 Nov 7, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from bed0b02 to 7850d64 Compare November 9, 2026 05:04
@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch 2 times, most recently from a95f429 to 98356e8 Compare November 12, 2026 03:17
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.42.4 fix(deps): update module github.com/pb33f/libopenapi to v0.42.5 Nov 12, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from 98356e8 to bbf4f8e Compare November 18, 2026 13:51
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.42.5 fix(deps): update module github.com/pb33f/libopenapi to v0.43.0 Nov 18, 2026
@renovate
renovate Bot force-pushed the renovate/github.com-pb33f-libopenapi-0.x branch from bbf4f8e to fbd78a1 Compare November 18, 2026 21:47
@renovate renovate Bot changed the title fix(deps): update module github.com/pb33f/libopenapi to v0.43.0 fix(deps): update module github.com/pb33f/libopenapi to v0.43.1 Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants