Repository navigation
Update module github.com/oapi-codegen/echo-middleware to v1.2.1 - #259
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
renovate
Bot
deleted the
renovate/github.com-oapi-codegen-echo-middleware-1.x
branch
August 16, 2026 21:27
renovate
Bot
force-pushed
the
renovate/github.com-oapi-codegen-echo-middleware-1.x
branch
2 times, most recently
from
August 17, 2026 01:43
2cb8c3e to
cde9a24
Compare
renovate
Bot
force-pushed
the
renovate/github.com-oapi-codegen-echo-middleware-1.x
branch
from
August 29, 2026 21:25
cde9a24 to
e98ca5e
Compare
renovate
Bot
force-pushed
the
renovate/github.com-oapi-codegen-echo-middleware-1.x
branch
2 times, most recently
from
September 3, 2026 04:01
e98ca5e to
38342a9
Compare
renovate
Bot
force-pushed
the
renovate/github.com-oapi-codegen-echo-middleware-1.x
branch
from
October 23, 2026 06:55
38342a9 to
3292c20
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.0.2→v1.2.1Release Notes
oapi-codegen/echo-middleware (github.com/oapi-codegen/echo-middleware)
v1.2.1: : keep the validated request body value by defaultCompare Source
This release enables
openapi3filter.Options.KeepValidatedValueby default. It was meant to ship in v1.2.0 together with the kin-openapi v0.152.0 update, but was merged after that release was published.With it on, the validator leaves the request body readable exactly as before and additionally keeps the decoded, validated JSON value on the body, reachable through its
ValidatedValue() anymethod. Upcoming oapi-codegen strict server templates use this to bind the value that was actually validated instead of decoding the body a second time, which closes the gap described in oapi-codegen/oapi-codegen#2605 (encoding/jsonmatches member names case-insensitively, so a second decode can pick up a member the validator never saw).Handlers that read the body see no difference. The only costs are that the decoded value stays in memory for the lifetime of the request, and that the body no longer implements optional interfaces such as
io.WriterTo.To opt out, set
DiscardValidatedValue: truein this middleware'sOptions. This setting overridesKeepValidatedValuein the embeddedopenapi3filter.Options. Middleware that replaces the request body must run before the validator, otherwise the validated value is lost.🚀 New features and improvements
Sponsors
We would like to thank our sponsors for their support during this release.
New contributors
v1.2.0: : kin-openapi v0.152.0 dependency updateCompare Source
This is a dependency update release. It moves the required kin-openapi version to v0.152.0, which also raises the minimum for every project using this middleware. It also fixes request bodies being drained before the handler when
Options.Prefixis set (#49), thanks to @karlpip.Behaviour changes that come with kin-openapi v0.150.0 to v0.152.0 and that users may notice:
encoding/json(this is decided by the toolchain, not by this middleware).$refare ignored, as the specification requires.spaceDelimitedandpipeDelimitedquery parameters default toexplode: false.openapi3filter.Options.KeepValidatedValueis available for passing throughOptions.Options; it leaves the validated request body value on the request for handlers that can use it.This release also picks up the kin-openapi security fix from v0.149.0 (GHSA-r277-6w6q-xmqw) for anyone still on an older version.
🐛 Bug fixes
📦 Dependency updates
7 changes
Sponsors
We would like to thank our sponsors for their support during this release.
New contributors
v1.1.0: OpenAPI 3.1, Go 1.25Compare Source
This release bumps the required Go version to 1.25, and pulls in a version of kin-openapi which can validate OpenAPI 3.1 specifications.
🎉 Notable changes
🐛 Bug fixes
📝 Documentation updates
FUNDING.yml(#21) @jamietanna👻 Maintenance
📦 Dependency updates
Sponsors
We would like to thank our sponsors for their support during this release.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.