chore(deps): update module github.com/labstack/echo/v5 to v5.1.1 #8

Open
renovate-bot wants to merge 1 commit from renovate/github.com-labstack-echo-v5-5.x into master
Collaborator

This PR contains the following updates:

Package Type Update Change
github.com/labstack/echo/v5 require minor v5.0.0v5.1.1

Release Notes

labstack/echo (github.com/labstack/echo/v5)

v5.1.1

Compare Source

Security

Thanks to @​shblue21 for reporting this issue.

Enhancements

v5.1.0

Compare Source

Security

This change does not break the API contract, but it does introduce breaking changes in logic/behavior.
If your application is using c.RealIP() beware and read https://echo.labstack.com/docs/ip-address

v4 behavior can be restored with:

e := echo.New()
e.IPExtractor = echo.LegacyIPExtractor()
  • Remove legacy IP extraction logic from context.RealIP method by @​aldas in #​2933

Enhancements

v5.0.4

Compare Source

Enhancements

v5.0.3

Compare Source

Security

  • Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesystem is used. Reported by @​shblue21.

This applies to cases when:

  • Windows is used as OS
  • middleware.StaticConfig.Filesystem is nil (default)
  • echo.Filesystem is has not been set explicitly (default)

Exposure is restricted to the active process working directory and its subfolders.

v5.0.2

Compare Source

Security

  • Fix Static middleware with config.Browse=true lists all files/subfolders from config.Filesystem root and not starting from config.Root in #​2887

v5.0.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/labstack/echo/v5](https://github.com/labstack/echo) | require | minor | `v5.0.0` → `v5.1.1` | --- ### Release Notes <details> <summary>labstack/echo (github.com/labstack/echo/v5)</summary> ### [`v5.1.1`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v511---2026-05-01) [Compare Source](https://github.com/labstack/echo/compare/v5.1.0...v5.1.1) **Security** - `Context.Scheme()` should validate values taken from header by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2953](https://github.com/labstack/echo/pull/2953) Thanks to [@&#8203;shblue21](https://github.com/shblue21) for reporting this [issue](https://github.com/labstack/echo/issues/2952). **Enhancements** - Add golangci linter configuration by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2930](https://github.com/labstack/echo/pull/2930) - Make StartConfig listener creation context-aware by [@&#8203;EricGusmao](https://github.com/EricGusmao) in [#&#8203;2936](https://github.com/labstack/echo/pull/2936) - fix(lint): resolve staticcheck issues and improve code quality by [@&#8203;itsllyaz](https://github.com/itsllyaz) in [#&#8203;2941](https://github.com/labstack/echo/pull/2941) - Context.Scheme should validate values taken from header by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2953](https://github.com/labstack/echo/pull/2953) - chore: fix typos in httperror.go by [@&#8203;tisonkun](https://github.com/tisonkun) in [#&#8203;2958](https://github.com/labstack/echo/pull/2958) - Context.Json should not unwrap response by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2964](https://github.com/labstack/echo/pull/2964) ### [`v5.1.0`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v510---2026-03-31) [Compare Source](https://github.com/labstack/echo/compare/v5.0.4...v5.1.0) **Security** This change does not break the API contract, but it does introduce breaking changes in logic/behavior. If your application is using `c.RealIP()` beware and read <https://echo.labstack.com/docs/ip-address> `v4` behavior can be restored with: ```go e := echo.New() e.IPExtractor = echo.LegacyIPExtractor() ``` - Remove legacy IP extraction logic from context.RealIP method by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2933](https://github.com/labstack/echo/pull/2933) **Enhancements** - Add echo-opentelemetry to the README.md by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2908](https://github.com/labstack/echo/pull/2908) - fix: correct spelling mistakes in comments and field name by [@&#8203;crawfordxx](https://github.com/crawfordxx) in [#&#8203;2916](https://github.com/labstack/echo/pull/2916) - Add <https://github.com/labstack/echo-prometheus> to the middleware list in README.md by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2919](https://github.com/labstack/echo/pull/2919) - Add StartConfig.Listener so server with custom Listener is easier to create by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2920](https://github.com/labstack/echo/pull/2920) - Fix rate limiter documentation for default burst value by [@&#8203;karesansui-u](https://github.com/karesansui-u) in [#&#8203;2925](https://github.com/labstack/echo/pull/2925) - Add doc comments to clarify usage of File related methods and leading slash handling by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2928](https://github.com/labstack/echo/pull/2928) - Add NewDefaultFS function to help create filesystem that allows absolute paths by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2931](https://github.com/labstack/echo/pull/2931) - Do not set http.Server.WriteTimeout in StartConfig by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2932](https://github.com/labstack/echo/pull/2932) ### [`v5.0.4`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v504---2026-02-15) [Compare Source](https://github.com/labstack/echo/compare/v5.0.3...v5.0.4) **Enhancements** - Remove unused import 'errors' from README example by [@&#8203;kumapower17](https://github.com/kumapower17) in [#&#8203;2889](https://github.com/labstack/echo/pull/2889) - Fix Graceful shutdown: after `http.Server.Serve` returns we need to wait for graceful shutdown goroutine to finish by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2898](https://github.com/labstack/echo/pull/2898) - Update location of oapi-codegen in README by [@&#8203;mromaszewicz](https://github.com/mromaszewicz) in [#&#8203;2896](https://github.com/labstack/echo/pull/2896) - Add Go 1.26 to CI flow by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2899](https://github.com/labstack/echo/pull/2899) - Add new function `echo.StatusCode` by [@&#8203;suwakei](https://github.com/suwakei) in [#&#8203;2892](https://github.com/labstack/echo/pull/2892) - CSRF: support older token-based CSRF protection handler that want to render token into template by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2894](https://github.com/labstack/echo/pull/2894) - Add `echo.ResolveResponseStatus` function to help middleware/handlers determine HTTP status code and echo.Response by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2900](https://github.com/labstack/echo/pull/2900) ### [`v5.0.3`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v503---2026-02-06) [Compare Source](https://github.com/labstack/echo/compare/v5.0.2...v5.0.3) **Security** - Fix directory traversal vulnerability under Windows in Static middleware when default Echo filesystem is used. Reported by [@&#8203;shblue21](https://github.com/shblue21). This applies to cases when: - Windows is used as OS - `middleware.StaticConfig.Filesystem` is `nil` (default) - `echo.Filesystem` is has not been set explicitly (default) Exposure is restricted to the active process working directory and its subfolders. ### [`v5.0.2`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v502---2026-02-02) [Compare Source](https://github.com/labstack/echo/compare/v5.0.1...v5.0.2) **Security** - Fix Static middleware with `config.Browse=true` lists all files/subfolders from `config.Filesystem` root and not starting from `config.Root` in [#&#8203;2887](https://github.com/labstack/echo/pull/2887) ### [`v5.0.1`](https://github.com/labstack/echo/blob/HEAD/CHANGELOG.md#v501---2026-01-28) [Compare Source](https://github.com/labstack/echo/compare/v5.0.0...v5.0.1) - Panic MW: will now return a custom PanicStackError with stack trace by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2871](https://github.com/labstack/echo/pull/2871) - Docs: add missing err parameter to DenyHandler example by [@&#8203;cgalibern](https://github.com/cgalibern) in [#&#8203;2878](https://github.com/labstack/echo/pull/2878) - improve: improve websocket checks in IsWebSocket() \[per RFC 6455] by [@&#8203;raju-mechatronics](https://github.com/raju-mechatronics) in [#&#8203;2875](https://github.com/labstack/echo/pull/2875) - fix: Context.Json() should not send status code before serialization is complete by [@&#8203;aldas](https://github.com/aldas) in [#&#8203;2877](https://github.com/labstack/echo/pull/2877) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi45Mi40IiwidXBkYXRlZEluVmVyIjoiNDMuOC41IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
chore(deps): update module github.com/labstack/echo/v5 to v5.0.1
Some checks failed
renovate/artifacts Artifact file update failure
45fa459dbc
renovate-bot changed title from chore(deps): update module github.com/labstack/echo/v5 to v5.0.1 to chore(deps): update module github.com/labstack/echo/v5 to v5.0.2 2026-02-02 14:41:02 -05:00
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from 45fa459dbc
Some checks failed
renovate/artifacts Artifact file update failure
to ab2a3c5490
Some checks failed
renovate/artifacts Artifact file update failure
2026-02-02 14:41:04 -05:00
Compare
renovate-bot changed title from chore(deps): update module github.com/labstack/echo/v5 to v5.0.2 to chore(deps): update module github.com/labstack/echo/v5 to v5.0.3 2026-02-06 09:26:45 -05:00
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from ab2a3c5490
Some checks failed
renovate/artifacts Artifact file update failure
to 11f626b7d2
Some checks failed
renovate/artifacts Artifact file update failure
2026-02-06 09:26:45 -05:00
Compare
renovate-bot changed title from chore(deps): update module github.com/labstack/echo/v5 to v5.0.3 to chore(deps): update module github.com/labstack/echo/v5 to v5.0.4 2026-02-15 11:19:50 -05:00
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from 11f626b7d2
Some checks failed
renovate/artifacts Artifact file update failure
to 75df0f307f 2026-02-15 11:19:52 -05:00
Compare
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from 75df0f307f to 9d164fa867 2026-02-22 07:48:16 -05:00 Compare
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from 9d164fa867 to f7d1559017
Some checks failed
renovate/artifacts Artifact file update failure
2026-03-13 09:34:47 -04:00
Compare
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from f7d1559017
Some checks failed
renovate/artifacts Artifact file update failure
to 37af32d278 2026-03-29 23:44:40 -04:00
Compare
renovate-bot changed title from chore(deps): update module github.com/labstack/echo/v5 to v5.0.4 to chore(deps): update module github.com/labstack/echo/v5 to v5.1.0 2026-03-31 18:07:55 -04:00
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from 37af32d278 to a93ee36db5 2026-03-31 18:07:56 -04:00 Compare
renovate-bot force-pushed renovate/github.com-labstack-echo-v5-5.x from a93ee36db5 to df33dee810 2026-05-01 15:46:35 -04:00 Compare
renovate-bot changed title from chore(deps): update module github.com/labstack/echo/v5 to v5.1.0 to chore(deps): update module github.com/labstack/echo/v5 to v5.1.1 2026-05-01 15:46:37 -04:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/github.com-labstack-echo-v5-5.x:renovate/github.com-labstack-echo-v5-5.x
git switch renovate/github.com-labstack-echo-v5-5.x

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff renovate/github.com-labstack-echo-v5-5.x
git switch renovate/github.com-labstack-echo-v5-5.x
git rebase master
git switch master
git merge --ff-only renovate/github.com-labstack-echo-v5-5.x
git switch renovate/github.com-labstack-echo-v5-5.x
git rebase master
git switch master
git merge --no-ff renovate/github.com-labstack-echo-v5-5.x
git switch master
git merge --squash renovate/github.com-labstack-echo-v5-5.x
git switch master
git merge --ff-only renovate/github.com-labstack-echo-v5-5.x
git switch master
git merge renovate/github.com-labstack-echo-v5-5.x
git push origin master
Sign in to join this conversation.
No description provided.