Skip to content

chore(deps): bump github.com/pb33f/libopenapi from 0.38.7 to 0.41.6 in /codegen - #422

Merged
matoous merged 1 commit into
mainfrom
dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.41.6
Oct 14, 2026
Merged

matoous merged 1 commit into
mainfrom
dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.41.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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

Release notes

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

v0.41.6

Fixes seeded mock generation determinism.

@​tx3stn

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.

... (truncated)

Commits
  • c4c4be7 fix: seeded mock generation now gives the same output on every run
  • 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
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 14, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.41.6 branch from fb302f2 to f5c267e Compare October 14, 2026 19:54
Bumps [github.com/pb33f/libopenapi](https://github.com/pb33f/libopenapi) from 0.38.7 to 0.41.6.
- [Release notes](https://github.com/pb33f/libopenapi/releases)
- [Commits](pb33f/libopenapi@v0.38.7...v0.41.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
@matoous
matoous force-pushed the dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.41.6 branch from f5c267e to 8d839e7 Compare October 14, 2026 21:04
@matoous
matoous merged commit 3a60043 into main Oct 14, 2026
17 of 18 checks passed
@matoous
matoous deleted the dependabot/go_modules/codegen/github.com/pb33f/libopenapi-0.41.6 branch October 14, 2026 21:22
@sumup-release-bot sumup-release-bot Bot mentioned this pull request Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant