github.com/go-openapi/runtime breaking changes
github.com/go-openapi/runtime v0.32.0 (May 25, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed github.com/go-openapi/runtime/client.Runtime.WithOpenTelemetry. Every breaking API change we have recorded in github.com/go-openapi/runtime on Go modules: 21 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version v0.33.5, released November 18, 2026.
Packages on Go modules run on Go. Go end of life dates.
github.com/go-openapi/runtime v0.32.0 breaking changes
- Signature changed
github.com/go-openapi/runtime/client.Runtime.WithOpenTelemetry
Was func WithOpenTelemetry(...OpenTelemetryOpt) runtime.ClientTransport; now func WithOpenTelemetry(...OpenTelemetryOpt) ContextualTransport. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/client.Runtime.WithOpenTracing
Was func WithOpenTracing(...any) runtime.ClientTransport; now func WithOpenTracing(...any) ContextualTransport. pkg.go.dev
github.com/go-openapi/runtime v0.31.0 breaking changes
- Behavior changed
Untyped formData uploads with overly long filenames are now capped, so long names may be truncated or rejected. github.com - Behavior changed
Negotiation headers with a q-value above 1 are now rejected, where they were previously accepted. Callers sending such headers must fix them. github.com - Behavior changed
Multipart filenames and field names now have CR and LF characters removed, so values containing them are altered on the wire. github.com
github.com/go-openapi/runtime v0.30.0 breaking changes
- Removed
BuildHTTP
Callers must switch to BuildHTTPContext, which is the only request-building entry point left. github.com - Removed
github.com/go-openapi/runtime/middleware.RapiDocOpts.EnsureDefaults
github.com/go-openapi/runtime/middleware.RapiDocOpts.EnsureDefaults was removed in github.com/go-openapi/runtime v0.30.0 pkg.go.dev - Removed
github.com/go-openapi/runtime/middleware.RedocOpts.EnsureDefaults
github.com/go-openapi/runtime/middleware.RedocOpts.EnsureDefaults was removed in github.com/go-openapi/runtime v0.30.0 pkg.go.dev - Removed
github.com/go-openapi/runtime/middleware.SwaggerUIOpts.EnsureDefaults
github.com/go-openapi/runtime/middleware.SwaggerUIOpts.EnsureDefaults was removed in github.com/go-openapi/runtime v0.30.0 pkg.go.dev - Removed
github.com/go-openapi/runtime/middleware.SwaggerUIOpts.EnsureDefaultsOauth2
github.com/go-openapi/runtime/middleware.SwaggerUIOpts.EnsureDefaultsOauth2 was removed in github.com/go-openapi/runtime v0.30.0 pkg.go.dev - Behavior changed
ClientRequestWriter
Callers that set a per-request timeout via ClientRequestWriter must migrate so the cancel func is not dropped and the timer does not leak. github.com - Signature changed
github.com/go-openapi/runtime/middleware.NegotiateContentType
Was func NegotiateContentType(*http.Request, []string, string) string; now func NegotiateContentType(*http.Request, []string, string, ...NegotiateOption) string. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware.UIOption
Was type UIOption func(*uiOptions); now type UIOption func(*UIOptions). pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware/header.AcceptSpec
Was type AcceptSpec struct; now type AcceptSpec = upstream.AcceptSpec. pkg.go.dev
github.com/go-openapi/runtime v0.29.0 breaking changes
- Signature changed
github.com/go-openapi/runtime/client.Runtime.WithOpenTracing
Was func WithOpenTracing(...opentracing.StartSpanOption) runtime.ClientTransport; now func WithOpenTracing(...any) runtime.ClientTransport. pkg.go.dev
github.com/go-openapi/runtime v0.27.0 breaking changes
- Signature changed
github.com/go-openapi/runtime.CSVConsumer
Was func CSVConsumer() Consumer; now func CSVConsumer(...CSVOpt) Consumer. pkg.go.dev - Signature changed
github.com/go-openapi/runtime.CSVProducer
Was func CSVProducer() Producer; now func CSVProducer(...CSVOpt) Producer. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware.Context.APIHandler
Was func APIHandler(Builder) http.Handler; now func APIHandler(Builder, ...UIOption) http.Handler. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware.Context.APIHandlerSwaggerUI
Was func APIHandlerSwaggerUI(Builder) http.Handler; now func APIHandlerSwaggerUI(Builder, ...UIOption) http.Handler. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware.DefaultRouter
Was func DefaultRouter(*loads.Document, RoutableAPI) Router; now func DefaultRouter(*loads.Document, RoutableAPI, ...DefaultRouterOpt) Router. pkg.go.dev - Signature changed
github.com/go-openapi/runtime/middleware.Spec
Was func Spec(string, []byte, http.Handler) http.Handler; now func Spec(string, []byte, http.Handler, ...SpecOption) http.Handler. pkg.go.dev
Related packages
- github.com/go-openapi/jsonpointer
- github.com/go-openapi/strfmt
- github.com/go-openapi/swag
- github.com/go-openapi/validate
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.