Skip to content

ci: bump github.com/getkin/kin-openapi from 0.144.0 to 0.149.0 - #487

Merged
somanshreddy merged 1 commit into
mainfrom
dependabot/go_modules/github.com/getkin/kin-openapi-0.149.0
Oct 25, 2026
Merged

somanshreddy merged 1 commit into
mainfrom
dependabot/go_modules/github.com/getkin/kin-openapi-0.149.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/getkin/kin-openapi from 0.144.0 to 0.149.0.

Release notes

Sourced from github.com/getkin/kin-openapi's releases.

v0.149.0

What's Changed

Full Changelog: getkin/kin-openapi@v0.148.0...v0.149.0

v0.148.0

What's Changed

New Contributors

Full Changelog: getkin/kin-openapi@v0.147.0...v0.148.0

v0.147.0

What's Changed

New Contributors

Full Changelog: getkin/kin-openapi@v0.146.0...v0.147.0

v0.146.0

What's Changed

Full Changelog: getkin/kin-openapi@v0.145.0...v0.146.0

v0.145.0

What's Changed

... (truncated)

Commits
  • 1a812b4 openapi3: accept boolean schemas (#1258)
  • 9814d1f Merge commit from fork
  • 9245cef Merge commit from fork
  • 4487f19 Merge commit from fork
  • 53c2ab1 openapi3: validate prefixItems positionally (#1259)
  • ba23e9d docs: add inspect.software health badge (#1253)
  • 94fcebf openapi3: compare multipleOf on exact rationals, not fixed-precision decimals...
  • e9e5e11 openapi3: add FormatOfStringForUUIDOfRFC9562 for UUID v6-v8 (#1251)
  • df7e8f4 openapi3: do not forget to carry schema format validators over to OAS3.1 (#1250)
  • eda80e2 Merge commit from fork
  • 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 19, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/getkin/kin-openapi-0.149.0 branch from 8232386 to df5ec88 Compare October 24, 2026 17:10
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi) from 0.144.0 to 0.149.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases)
- [Commits](getkin/kin-openapi@v0.144.0...v0.149.0)

---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
  dependency-version: 0.149.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/getkin/kin-openapi-0.149.0 branch from df5ec88 to 50c13fd Compare October 24, 2026 17:13

@jrusso1020 jrusso1020 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve. This doesn't change codegen output, and the CLI binary doesn't depend on kin-openapi.

  • Codegen only: with GOFLAGS=-buildvcs=false, go list -deps ./cmd/heygen and ./internal/... show no kin-openapi and no jsonschema. Only ./codegen imports openapi3 (main.go, schema.go, grouper.go).
  • Regen check: I ran make generate with the EF spec at 2bb39f6a68b7 (sha256 654f06ad…), fetched from the repo at that commit. With 0.144 on main and 0.149 at 50c13fd4, git status on gen/ is empty both times. To make sure the command actually ran, I deleted gen/*.go first: it regenerated all 18 files ("Generated 17 command groups") and they were byte-identical to main. STRICT=1 passes too, and go test ./... passes on 0.149.
  • Changelog for 0.145 to 0.149: codegen only calls openapi3.NewLoader().LoadFromFile. It doesn't call Validate, InternalizeRefs or openapi3filter. The loader-side changes are panic fixes, OAS 3.2 additions, a 3.1 format carry-over and accepting boolean schemas (0.149). None of them changes how this spec parses, which the identical regen confirms.
  • Alerts: this bump fixes all 7 open alerts (#7 to #13). Each one's fixed version is 0.149.0 or lower.

Need · Size · Reuse · Simpler: needed for the security alerts; go.mod/go.sum only; nothing to reuse; nothing simpler.

— Rames

@somanshreddy
somanshreddy merged commit 74f03f4 into main Oct 25, 2026
10 checks passed
@somanshreddy
somanshreddy deleted the dependabot/go_modules/github.com/getkin/kin-openapi-0.149.0 branch October 25, 2026 01:35

@terencechotai2-commits terencechotai2-commits left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-merge review at 50c13fd4 (merged as 74f03f4 with an identical tree, on top of #512 and #513). No findings; I'd have approved.

make generate still reproduces gen/ (the part you flagged)

  • Baseline. Main at ca6cd13 already contains #512's resync from EF 2bb39f6a, so that's the gen/ I compared against.
  • Spec. openapi/external-api.json at 2bb39f6a, fetched raw.
  • Result. make generate SPEC=… leaves gen/ with zero changed files both at main (control) and at this head.
  • Differential. I also ran go run ./codegen/ on EF master's spec (19a0cd1b) with the main and head codegen. The two output trees are identical.

kin-openapi is codegen-only

  • go list -deps ./cmd/heygen and go list -deps -test ./cmd/... ./internal/... have no kin-openapi or santhosh-tekuri/jsonschema.
  • go version -m on the built binary lists neither.
  • The only importer is ./codegen.

0.145 → 0.149 changes. Read from the release notes:

  • No API break hits codegen: it compiles and its tests pass.
  • The most relevant change is 0.149's "accept boolean schemas". It made no difference on either spec.
  • The other changes are panic fixes, OAS 3.2 query/additionalOperations, format validators, and openapi3filter fixes.
  • Every kin-openapi GHSA published 10-15/10-16 is patched by 0.149.0. The openapi3filter ones were never reachable here: govulncheck on ./codegen at main reports none called.

Modules / toolchain

  • go mod tidy makes no change, and go mod verify passes.
  • The jsonschema bump to v6.0.3 is the only knock-on change.
  • kin-openapi 0.149.0 declares go 1.25 and jsonschema go 1.21, with no toolchain lines, so there's no conflict with #513's go 1.26.10.

Run locally under go1.26.10

  • go test ./...: all packages pass.
  • go vet ./codegen/: clean.
  • govulncheck ./...: only the allowlisted GO-2026-5932.
  • CI: every check passed.

— tai2

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.

3 participants