Skip to content

chore(deps): bump github.com/pb33f/libopenapi from 0.38.7 to 0.41.5 - #262

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-go_modules-github.com-pb33f-libopenapi-0.41.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot-go_modules-github.com-pb33f-libopenapi-0.41.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/pb33f/libopenapi from 0.38.7 to 0.41.5.

Release notes

Sourced from github.com/pb33f/libopenapi's releases.

v0.41.5

Added upgrades to the Go SDK generator to allow imperfect OpenAPI specs to generate correctly.

v0.41.4

Adds support for OpenAPI Overlays v1.2

v0.41.3

This release improves handling of malformed documents, schema comparisons, reference bundling, and reproducible mock generation.

  • Parsing: Build valid sibling operations even when another operation fails, collect build errors, and avoid duplicate custom-operation builds.
  • Schema comparison: Avoid false breaking-change reports when object schemas move into equivalent or broader anyOf/oneOf structures.
  • Bundling: Correctly rewrite references inside vendor extensions, including pointers into nested schema properties.
  • Mocks: Respect configured seeds for pattern-generated strings and produce stable XML element ordering.
  • Tests: Add regression coverage for these fixes.

@​tx3stn @​matoous

v0.41.2

Update hashing performance. No fixes or features, just faster and more performant.

v0.41.1

Stop duplicating files referenced from arrays

@​mcstepp

v0.41.0

Harder, Better, Faster, Stronger

  • Rendering Stripe: 77% faster
  • Rendering DocuSign (JSON): 87% faster
  • Inline-rendering every Stripe schema: 80% faster
  • Building JSON specs: 54% to 69% faster
  • Across the whole pipeline: 58% less time, 57% less memory, 61% fewer allocations

We forked the YAML library

First thing the fork fixed: the emitter kept every single event it ever wrote, for the entire document. Rendering Stripe now allocates 76% less memory, and bundling it 71% less.

Bonus: folded block scalars (>) no longer grow a blank line when rendered. Rendered output finally matches its source.

This one breaks things. Swap go.yaml.in/yaml/v4 for github.com/pb33f/go-yaml in your imports. The package is still called yaml, so it's a find and replace. If you pass *yaml.Node values in or out of libopenapi you have to do it, because the two node types are different types. jsonpath v0.8.4, ordered-map v2.3.2 and testify v0.1.1 have all made the same move.

Two small breaks in the low-level API

  • NodeMap.Nodes is now a *low.NodeLines instead of a *sync.Map. Range, Load and Store take int line numbers, and Range visits lines in order. Most models get built and never read, so the line index only gets built when you ask for it.
  • NodeReference.Context is gone. libopenapi only ever set it on a PathItem's operations. Use pathItem.Get.Value.GetContext() instead.

Bugs, squashed

  • Global caches kept dropped documents alive, and could hand a new object a stale hash when a memory address got reused. Both fixed. A document you drop now gets reclaimed without calling ClearAllCaches. (#614, #615)

... (truncated)

Commits
  • 60b177e feat(generator): idiomatic Go SDK output for imperfect vendor specs
  • 55aa758 fix: retain overlay action diagnostics
  • cf93673 fix: preserve overlay input compatibility
  • f44f114 test: cover cyclic Overlay alias rejection
  • 84d17ae fix: preserve empty Overlay metadata strings
  • 8132a72 fix: apply Overlay 1.2 action and merge rules
  • 33bcfc6 feat: add Overlay 1.2 reusable action models
  • ce94592 test: cover composed reference collision fallback
  • 1704e72 chore: optimize composed ref lookup
  • 982b5d9 chore: increase test coverage
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.38.7 to 0.41.5.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.38.7...v0.41.5)

---
updated-dependencies:
- dependency-name: github.com/pb33f/libopenapi
  dependency-version: 0.41.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions

Copy link
Copy Markdown

🔍 CI Pipeline Status

❌ Lint: failure
❌ Test: failure
✅ Coverage: success
⚠️ Build: skipped
⚠️ Integration: skipped


📊 Coverage Report: Available in checks above
🔗 Artifacts: Test results and coverage reports uploaded

@dependabot @github

dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #263.

@dependabot dependabot Bot closed this Oct 19, 2026
@dependabot
dependabot Bot deleted the dependabot-go_modules-github.com-pb33f-libopenapi-0.41.5 branch October 19, 2026 13:05
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.

1 participant