Skip to content

fix(deps): update module github.com/labstack/echo/v4 to v5#257

Open
netic-renovate[bot] wants to merge 3 commits into
mainfrom
renovate/github.com-labstack-echo-v4-5.x
Open

fix(deps): update module github.com/labstack/echo/v4 to v5#257
netic-renovate[bot] wants to merge 3 commits into
mainfrom
renovate/github.com-labstack-echo-v4-5.x

Conversation

@netic-renovate
Copy link
Copy Markdown
Contributor

@netic-renovate netic-renovate Bot commented Jan 20, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/labstack/echo/v4 v4.15.0v5.0.1 age confidence

Release Notes

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

v5.0.1

Compare Source

v5.0.0

Compare Source

Echo v5 is maintenance release with major breaking changes

  • Context is now struct instead of interface and we can add method to it in the future in minor versions.
  • Adds new Router interface for possible new routing implementations.
  • Drops old logging interface and uses moderm log/slog instead.
  • Rearranges alot of methods/function signatures to make them more consistent.

Upgrade notes and v4 support:

  • Echo v4 is supported with security* updates and bug fixes until 2026-12-31
  • If you are using Echo in a production environment, it is recommended to wait until after 2026-03-31 before upgrading.
  • Until 2026-03-31, any critical issues requiring breaking v5 API changes will be addressed, even if this violates semantic versioning.

See API_CHANGES_V5.md for public API changes between v4 and v5, notes on upgrading.

Upgrading TLDR:

If you are using Linux you can migrate easier parts like that:

find . -type f -name "*.go" -exec sed -i 's/ echo.Context/ *echo.Context/g' {} +
find . -type f -name "*.go" -exec sed -i 's/echo\/v4/echo\/v5/g' {} +

macOS

find . -type f -name "*.go" -exec sed -i '' 's/ echo.Context/ *echo.Context/g' {} +
find . -type f -name "*.go" -exec sed -i '' 's/echo\/v4/echo\/v5/g' {} +

or in your favorite IDE

Replace all:

  1. echo.Context -> *echo.Context
  2. echo/v4 -> echo/v5

This should solve most of the issues. Probably the hardest part is updating all the tests.


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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Renovate Bot.

@netic-renovate netic-renovate Bot added the major-update Signal this PR is a major update label Jan 20, 2026
@netic-renovate netic-renovate Bot requested review from a team and gh-netic-robot as code owners January 20, 2026 16:44
@netic-renovate netic-renovate Bot force-pushed the renovate/github.com-labstack-echo-v4-5.x branch from c238943 to 1bac47d Compare January 29, 2026 11:51
@netic-renovate netic-renovate Bot force-pushed the renovate/github.com-labstack-echo-v4-5.x branch from 1bac47d to 67d060f Compare February 2, 2026 07:01
@netic-renovate
Copy link
Copy Markdown
Contributor Author

netic-renovate Bot commented Feb 3, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link
Copy Markdown
Contributor

@ChBLA ChBLA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major-update Signal this PR is a major update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant