FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: add support for echo v5 by jinuthankachan · Pull Request #89 · oapi-codegen/runtime · GitHub

feat: add support for echo v5 - #89

Merged
mromaszewicz merged 4 commits into
oapi-codegen:mainfrom
jinuthankachan:feat/support-echo-v5
Mar 3, 2026
Merged

feat: add support for echo v5#89
mromaszewicz merged 4 commits into
oapi-codegen:mainfrom
jinuthankachan:feat/support-echo-v5

Conversation

jinuthankachan commented Feb 19, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

jinuthankachan requested a review from a team as a code owner February 19, 2026 05:49
jinuthankachan changed the title feat: add support for echo v4 feat: add support for echo v5 Feb 19, 2026
jinuthankachan and others added 3 commits March 3, 2026 12:13
Move strictmiddleware/echo/v5/ to strictmiddleware/echo-v5/ with its
own go.mod requiring Go 1.25, so the root module stays at Go 1.20.

This avoids forcing all runtime users to upgrade to Go 1.25 just
because echo v5 support was added. The echo-v5 package is a separate
Go module with only the echo v5 dependency.

Also changes package name from `v5` to `echo` to follow Go convention
(matching how github.com/labstack/echo/v5 uses `package echo`).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The echo-v5 strict middleware requires Go 1.25+, which is ahead of the
rest of the runtime module (Go 1.20). To support this as a separate
child module, the CI and build tooling needed to become multi-module
aware.

- Replace four separate workflow files (ci.yml, lint.yml, tidy.yml,
  generate.yml) with a single ci.yml that calls the shared reusable
  workflow from oapi-codegen/actions v0.5.0
- Update the root Makefile to iterate child modules via
  git ls-files '**/*go.mod', matching the pattern used by oapi-codegen
- Bump golangci-lint from v1.55.2 to v2.10.1 and update flags for v2
- Add tidy-ci target for the reusable workflow
- Add strictmiddleware/echo-v5/Makefile with a Go version guard that
  skips gracefully when running on Go < 1.25

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
github.com/​labstack/​echo/​v5@​v5.0.4

View full report

mromaszewicz added the enhancement New feature or request label Mar 3, 2026
mromaszewicz merged commit 99b941f into oapi-codegen:main Mar 3, 2026
23 checks passed
jinuthankachan deleted the feat/support-echo-v5 branch March 4, 2026 04:31

Copy link
Copy Markdown

Good morning - my understanding is that this adds support for echo v5 - when will this be tagged/released? Thanks!

Copy link
Copy Markdown
Member

I'm working on a last few PR's and a release is coming in not too long. I don't have an exact date, but this week, hopefully.

Copy link
Copy Markdown
Member

See also: https://github.com/oapi-codegen/oapi-codegen?tab=readme-ov-file#pinning-to-commits for how to pull changes when we haven't yet released a tag

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for echo/v5

4 participants


Back | FazBrowse Home | New Git URL