May 2026
go-openapi and go-swagger had a busy May, with 258 commits across 18 repositories. The
month’s centre of gravity was runtime, which gained connection-level client diagnostics
and a documentation overhaul over the course of six releases, while go-swagger shipped
v0.34.0 on the back of a migration to the new go-openapi/swag API.
Themes
- Client diagnostics in runtime. A new
Runtime.Traceexposes connection-level diagnostics, including a TLS diagnostic mode, alongside a build-taggedSkipAuthfeature and a fix for honoring context cancellation in the multipart upload goroutine. - The swag API migration. Both go-swagger and codegen migrated their generators
onto the new
go-openapi/swagAPI; go-swagger’s generated clients became more idiomatic (context-awareSubmitContext, internalParamsfields moved to their own struct). - A wave of releases. runtime cut six releases (v0.29.5 → v0.32.2), go-swagger reached v0.34.0, and analysis, jsonreference, strfmt and validate all tagged patch releases; ci-workflows iterated through v0.3.x.
- Documentation. runtime received a large docs pass — a media-types selection guide, a keep-alive primer, a constant-time-comparison contract for auth callbacks, and per-module READMEs — and analysis clarified its mixin precedence rules.
- CI maintenance, org-wide. A shared bot-PR monitoring workflow was rolled out across most repositories (runtime, analysis, validate, spec, swag, strfmt, …), with follow-up fixes to bot identity, filters and permissions.
Repository highlights
| Repository | Latest release | Highlights |
|---|---|---|
| runtime | v0.32.4 | Runtime.Trace connection diagnostics + TLS mode; build-tagged SkipAuth; JSON-dialects fix; context-cancelling multipart upload; large docs pass |
| go-swagger | v0.34.1 | v0.34.0 cut; generator on the new swag API; idiomatic context-aware clients; configurable custom producers/consumers; enum-constant fix (#1047) |
| codegen | — | Generator migrated to the new go-openapi/swag API |
| examples | v0.33.2 | Regenerated for the new swag methods; new middleware-composition example |
| analysis | v0.25.2 | Mixin precedence rules clarified and limitations documented |
| codescan | v0.34.1 | v0.34.0 released; consumed by go-swagger’s swagger generate spec |
Thanks to our contributors
A warm thank-you to the external contributors who landed changes this month:
- @Abzaek — codegen, go-swagger
- @KuaaMU — runtime
- @dashitongzhi — go-swagger
Your contributions are genuinely appreciated.