Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 8, 2024

This PR contains the following updates:

Package Change Age Confidence
github.com/labstack/echo/v4 v4.10.2 -> v4.13.4 age confidence
  • PR contains the label that identifies the area, one of: area:operator, area:chart
  • If the PR is targeting a Helm chart, add the chart label, e.g. chart:clustercode

Release Notes

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

v4.13.4

Compare Source

Enhancements

Security

v4.13.3

Compare Source

Security

v4.13.2

Compare Source

Security

v4.13.1

Compare Source

Fixes

v4.13.0

Compare Source

BREAKING CHANGE JWT Middleware Removed from Core use labstack/echo-jwt instead

The JWT middleware has been removed from Echo core due to another security vulnerability, CVE-2024-51744. For more details, refer to issue #​2699. A drop-in replacement is available in the labstack/echo-jwt repository.

Important: Direct assignments like token := c.Get("user").(*jwt.Token) will now cause a panic due to an invalid cast. Update your code accordingly. Replace the current imports from "github.com/golang-jwt/jwt" in your handlers to the new middleware version using "github.com/golang-jwt/jwt/v5".

Background:

The version of golang-jwt/jwt (v3.2.2) previously used in Echo core has been in an unmaintained state for some time. This is not the first vulnerability affecting this library; earlier issues were addressed in PR #​1946.
JWT middleware was marked as deprecated in Echo core as of v4.10.0 on 2022-12-27. If you did not notice that, consider leveraging tools like Staticcheck to catch such deprecations earlier in you dev/CI flow. For bonus points - check out gosec.

We sincerely apologize for any inconvenience caused by this change. While we strive to maintain backward compatibility within Echo core, recurring security issues with third-party dependencies have forced this decision.

Enhancements

v4.12.0

Compare Source

Security

Enhancements

v4.11.4

Compare Source

Security

  • Upgrade golang.org/x/crypto to v0.17.0 to fix vulnerability issue #​2562

Enhancements

v4.11.3

Compare Source

Security

  • 'c.Attachment' and 'c.Inline' should escape filename in 'Content-Disposition' header to avoid 'Reflect File Download' vulnerability. #​2541

Enhancements

  • Tests: refactor context tests to be separate functions #​2540
  • Proxy middleware: reuse echo request context #​2537
  • Mark unmarshallable yaml struct tags as ignored #​2536

v4.11.2

Compare Source

Security

Enhancements

v4.11.1

Compare Source

Fixes

  • Fix Gzip middleware not sending response code for no content responses (404, 301/302 redirects etc) #​2481

v4.11.0

Compare Source

Fixes

  • Fixes the proxy middleware concurrency issue of calling the Next() proxy target on Round Robin Balancer #​2409
  • Fix group.RouteNotFound not working when group has attached middlewares #​2411
  • Fix global error handler return error message when message is an error #​2456
  • Do not use global timeNow variables #​2477

Enhancements

  • Added a optional config variable to disable centralized error handler in recovery middleware #​2410
  • refactor: use strings.ReplaceAll directly #​2424
  • Add support for Go1.20 http.rwUnwrapper to Response struct #​2425
  • Check whether is nil before invoking centralized error handling #​2429
  • Proper colon support in echo.Reverse method #​2416
  • Fix misuses of a vs an in documentation comments #​2436
  • Add link to slog.Handler library for Echo logging into README.md #​2444
  • In proxy middleware Support retries of failed proxy requests #​2414
  • gofmt fixes to comments #​2452
  • gzip response only if it exceeds a minimal length #​2267
  • Upgrade packages #​2475

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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the kind:dependency Dependency update label Dec 8, 2024
@renovate
Copy link
Contributor Author

renovate bot commented Dec 8, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 13 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.19 -> 1.23.0
github.com/stretchr/testify v1.8.2 -> v1.10.0
github.com/google/go-cmp v0.5.8 -> v0.6.0
github.com/labstack/gommon v0.4.0 -> v0.4.2
github.com/mattn/go-colorable v0.1.13 -> v0.1.14
github.com/mattn/go-isatty v0.0.17 -> v0.0.20
golang.org/x/crypto v0.7.0 -> v0.38.0
golang.org/x/mod v0.8.0 -> v0.17.0
golang.org/x/net v0.8.0 -> v0.40.0
golang.org/x/sys v0.6.0 -> v0.33.0
golang.org/x/term v0.6.0 -> v0.32.0
golang.org/x/text v0.8.0 -> v0.25.0
golang.org/x/time v0.3.0 -> v0.11.0
golang.org/x/tools v0.6.0 -> v0.21.1-0.20240508182429-e35e4ccd0d2d

@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.0 fix(deps): update module github.com/labstack/echo/v4 to v4.13.1 Dec 11, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from 3ae3e3c to d4b7e7b Compare December 11, 2024 11:28
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.1 fix(deps): update module github.com/labstack/echo/v4 to v4.13.2 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from d4b7e7b to bb27406 Compare December 12, 2024 11:17
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.2 fix(deps): update module github.com/labstack/echo/v4 to v4.13.3 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from bb27406 to bbab9de Compare December 19, 2024 06:13
@renovate renovate bot changed the title fix(deps): update module github.com/labstack/echo/v4 to v4.13.3 fix(deps): update module github.com/labstack/echo/v4 to v4.13.4 May 22, 2025
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from bbab9de to b6d5d74 Compare May 22, 2025 18:03
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from b6d5d74 to 679e07e Compare August 10, 2025 12:53
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/github.com-labstack-echo-v4-4.x branch from 679e07e to dc9ff30 Compare October 9, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:dependency Dependency update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants